diff options
author | Jordan Crouse <jordan.crouse@amd.com> | 2005-12-14 20:16:18 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2005-12-14 20:16:18 -0500 |
commit | 65e5f2e3b457b6b20a5c4481312189d141a33d24 (patch) | |
tree | cce866efd8eea1815cb054a274e165bdbba16180 /include | |
parent | 38f9d412be1ed29ee3b41782f22fd85b1c95fbed (diff) |
[PATCH] ide: core modifications for AU1200
bart: slightly modified by me
Signed-off-by: Jordan Crouse <jordan.crouse@amd.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-mips/mach-au1x00/au1xxx_ide.h | 5 | ||||
-rw-r--r-- | include/linux/ide.h | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/include/asm-mips/mach-au1x00/au1xxx_ide.h b/include/asm-mips/mach-au1x00/au1xxx_ide.h index 33d275c3b84c..0c3c127e619e 100644 --- a/include/asm-mips/mach-au1x00/au1xxx_ide.h +++ b/include/asm-mips/mach-au1x00/au1xxx_ide.h | |||
@@ -87,11 +87,6 @@ typedef struct | |||
87 | } _auide_hwif; | 87 | } _auide_hwif; |
88 | 88 | ||
89 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA | 89 | #ifdef CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA |
90 | struct drive_list_entry { | ||
91 | const char * id_model; | ||
92 | const char * id_firmware; | ||
93 | }; | ||
94 | |||
95 | /* HD white list */ | 90 | /* HD white list */ |
96 | static const struct drive_list_entry dma_white_list [] = { | 91 | static const struct drive_list_entry dma_white_list [] = { |
97 | /* | 92 | /* |
diff --git a/include/linux/ide.h b/include/linux/ide.h index a39c3c59789d..a6b28dcf8f0d 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1371,6 +1371,12 @@ void ide_init_sg_cmd(ide_drive_t *, struct request *); | |||
1371 | #define GOOD_DMA_DRIVE 1 | 1371 | #define GOOD_DMA_DRIVE 1 |
1372 | 1372 | ||
1373 | #ifdef CONFIG_BLK_DEV_IDEDMA | 1373 | #ifdef CONFIG_BLK_DEV_IDEDMA |
1374 | struct drive_list_entry { | ||
1375 | const char *id_model; | ||
1376 | const char *id_firmware; | ||
1377 | }; | ||
1378 | |||
1379 | int ide_in_drive_list(struct hd_driveid *, const struct drive_list_entry *); | ||
1374 | int __ide_dma_bad_drive(ide_drive_t *); | 1380 | int __ide_dma_bad_drive(ide_drive_t *); |
1375 | int __ide_dma_good_drive(ide_drive_t *); | 1381 | int __ide_dma_good_drive(ide_drive_t *); |
1376 | int ide_use_dma(ide_drive_t *); | 1382 | int ide_use_dma(ide_drive_t *); |