Using default methods caused the chip's DMA PRD count registers, inadvertently
starting DMA! While fixing it, also do:
- get rid of the 'ide_' prefixes in several functions for which the prefix in
the method's name has been 'ide_' ectomized already;
- align the code hooking the IDE DMA
Theo Baumgartner writes:
Hello List
I'm getting these HSM violation's too on all the SATA 300 TX4 ports with
Seagate ST3250824NS disks.
In the files attached are informations about the system with logs included
and the kernel .config.
Theo
This is on Promise SATA300 TX4
On Wednesday 26 December 2007, Borislav Petkov wrote:
On Wed, Dec 26, 2007 at 09:50:14PM +0100, Borislav Petkov wrote:
Actually you should drop the previous one for it wasn't incomplete. Here's,
hopefully, a better one :).
--
From: Borislav Petkov [EMAIL PROTECTED]
There should be no
On Thursday 27 December 2007, Sergei Shtylyov wrote:
Using default methods caused the chip's DMA PRD count registers, inadvertently
starting DMA! While fixing it, also do:
nasty, this could possibly explain the following trm290.c hack:
...
#if 0 /* play it safe for now */
* Remove no longer needed assertion from amd74xx_probe().
* Factor out cable detection for AMD7409 to amd7409_cable_detect() and for
chipsets = AMD7411 to amd7411_cable_detect().
* Use dev-vendor and dev-device instead of amd_config-udma_mask when
selecting cable detection method and
* Rename 'simplex_stat' variable to 'dma_stat' in ide_get_or_set_dma_base().
* Factor out code for forcing host out of simplex mode from
ide_get_or_set_dma_base() to ide_pci_clear_simplex() helper.
* Add IDE_HFLAG_CLEAR_SIMPLEX host flag and set it in alim15x3 (for M5229),
amd74xx (for AMD
* Add IDE_HFLAG_NO_DSC host flag for hosts that doesn't support DSC overlap.
* Set it in aec62xx (for ATP850UF only) and hpt34x host drivers.
* Convert ide-tape device driver to check for IDE_HFLAG_NO_DSC flag.
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
* Make ide_build_sglist() and ide_destroy_dmatable() available also when
CONFIG_BLK_DEV_IDEDMA_PCI=n.
* Use ide_build_sglist() and ide_destroy_dmatable() in {ics,au1xxx-}ide.c
and remove no longer needed {ics,au}ide_build_sglist().
There should be no functionality changes caused by this
* pci_map_sg() - dma_map_sg() in ide_build_sglist().
* pci_unmap_sg() - dma_unmap_sg() in ide_destroy_dmatable().
There should be no functionality changes caused by this patch except
for blackfin arch whose dma_[un]map_sg() implementation differs from
pci_[un]map_sg() one (on s390 arch there is
'hwif-pci_dev !hwif-pci_dev-vendor' condition is never true,
check for 'hwif-chipset != ide_pci' instead.
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
drivers/ide/ide-io.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: b/drivers/ide/ide-io.c
Make IDE core PCI independent by replacing hwif-pci_dev (struct pci_dev *)
with hwif-dev (struct device *) and switch to using generic DMA-mapping API.
This is on top of IDE quilt tree + 3 patches posted today.
diffstat:
drivers/ide/arm/icside.c | 52
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
drivers/ide/pci/piix.c | 47 +--
1 file changed, 1 insertion(+), 46 deletions(-)
Index: b/drivers/ide/pci/piix.c
===
---
do_rw_taskfile() has been fixed to check the return value
of -dma_setup method so this BUG_ON() is no longer needed.
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
drivers/ide/ide-dma.c |2 --
1 file changed, 2 deletions(-)
Index: b/drivers/ide/ide-dma.c
Use ide_destroy_dmatable() in:
* ide-dma.c::ide_build_dmatable()
* sgiioc4.c::sgiioc4_build_dma_table()
* pmac.c::pmac_ide_{build,destroy}_dmatable()
There should be no functionality changes caused by this patch.
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
* Setup hwif-dev in au_ide_probe().
* Use hwif-dev instead of ahwif-dev in auide_build_sglist(),
auide_build_dmatable(), auide_dma_end() and auide_ddma_init().
* Remove no longer needed 'dev' field from _auide_hwif type.
Signed-off-by: Bartlomiej Zolnierkiewicz [EMAIL PROTECTED]
---
* Setup hwif-dev in icside_setup().
* Use hwif-dev instead of state-dev in icside_build_sglist(),
icside_dma_end(), icside_dma_start() and icside_dma_setup().
* Remove no longer needed 'dev' field from struct icside_state.
Cc: Russell King [EMAIL PROTECTED]
Signed-off-by: Bartlomiej
On Thu, 27 Dec 2007 17:39:16 +0100
Hugo Grostabussiat [EMAIL PROTECTED] wrote:
Hello.
I am not a native English speaker, so sorry for my poor English.
Your English is fine and easy to understand.
disabled).
That's why I suggest drive Hitachi HTS541616J9SA00 revision SB4OC7DP to
be added
17 matches
Mail list logo