aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSergei Shtylyov <[email protected]>2007-09-11 22:28:36 +0200
committerBartlomiej Zolnierkiewicz <[email protected]>2007-09-11 22:28:36 +0200
commit2808b0a96a05ac8e826b5380eb2d30a10586707a (patch)
tree55d8a98a780e7ddb2bda7af2ae083836870166c3 /include/linux/debugobjects.h
parent6c3c22f3cb2b7cd0a42a024b93db76b5c3133d37 (diff)
hpt366: UltraDMA filter for SATA cards (take 2)
The Marvell bridge chips used on HighPoint SATA cards do not seem to support the UltraDMA modes 1, 2, and 3 as well as any MWDMA modes, so the driver needs to account for this in the udma_filter() method. In order to achieve that, do the following changes: - install the method for all chips, not only HPT36x/370 and improve the code formatting by killing the extra tabs while at it; - add to the end of the 'switch' statement in the method cases for HPT372[AN] and HPT374 chips upon which the known SATA cards are based; - use hwif->ultra_mask as a default mask for the ide_dma_filter() method to behave correctly; - move the HPT370[A] cases below the HPT36x case for consistency. While at it, replace the explicit UltraDMA mode masks with ATA_UDMA* constants all over the driver... Signed-off-by: Sergei Shtylyov <[email protected]> Cc: Bob Ham <[email protected]> Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions