mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-09 08:33:15 -05:00
au1xxx-ide: fix MWDMA support
Always use "fast" MWDMA support and remove dma_{black,white}_list
(they were based on completely bogus ->ide_dma_check implementation
which didn't set neither the host controller timings nor the device
for the desired transfer mode).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
This commit is contained in:
@@ -70,7 +70,6 @@ typedef struct
|
||||
ide_hwif_t *hwif;
|
||||
#ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
|
||||
ide_drive_t *drive;
|
||||
u8 white_list, black_list;
|
||||
struct dbdma_cmd *dma_table_cpu;
|
||||
dma_addr_t dma_table_dma;
|
||||
#endif
|
||||
@@ -81,47 +80,6 @@ typedef struct
|
||||
#endif
|
||||
} _auide_hwif;
|
||||
|
||||
#ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA
|
||||
/* HD white list */
|
||||
static const struct drive_list_entry dma_white_list [] = {
|
||||
/*
|
||||
* Hitachi
|
||||
*/
|
||||
{ "HITACHI_DK14FA-20" , NULL },
|
||||
{ "HTS726060M9AT00" , NULL },
|
||||
/*
|
||||
* Maxtor
|
||||
*/
|
||||
{ "Maxtor 6E040L0" , NULL },
|
||||
{ "Maxtor 6Y080P0" , NULL },
|
||||
{ "Maxtor 6Y160P0" , NULL },
|
||||
/*
|
||||
* Seagate
|
||||
*/
|
||||
{ "ST3120026A" , NULL },
|
||||
{ "ST320014A" , NULL },
|
||||
{ "ST94011A" , NULL },
|
||||
{ "ST340016A" , NULL },
|
||||
/*
|
||||
* Western Digital
|
||||
*/
|
||||
{ "WDC WD400UE-00HCT0" , NULL },
|
||||
{ "WDC WD400JB-00JJC0" , NULL },
|
||||
{ NULL , NULL }
|
||||
};
|
||||
|
||||
/* HD black list */
|
||||
static const struct drive_list_entry dma_black_list [] = {
|
||||
/*
|
||||
* Western Digital
|
||||
*/
|
||||
{ "WDC WD100EB-00CGH0" , NULL },
|
||||
{ "WDC WD200BB-00AUA1" , NULL },
|
||||
{ "WDC AC24300L" , NULL },
|
||||
{ NULL , NULL }
|
||||
};
|
||||
#endif
|
||||
|
||||
/*******************************************************************************
|
||||
* PIO Mode timing calculation : *
|
||||
* *
|
||||
|
||||
Reference in New Issue
Block a user