aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/asm-mips/mach-au1x00/au1xxx_ide.h5
-rw-r--r--include/linux/ide.h6
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
90struct drive_list_entry {
91 const char * id_model;
92 const char * id_firmware;
93};
94
95/* HD white list */ 90/* HD white list */
96static const struct drive_list_entry dma_white_list [] = { 91static 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
1374struct drive_list_entry {
1375 const char *id_model;
1376 const char *id_firmware;
1377};
1378
1379int ide_in_drive_list(struct hd_driveid *, const struct drive_list_entry *);
1374int __ide_dma_bad_drive(ide_drive_t *); 1380int __ide_dma_bad_drive(ide_drive_t *);
1375int __ide_dma_good_drive(ide_drive_t *); 1381int __ide_dma_good_drive(ide_drive_t *);
1376int ide_use_dma(ide_drive_t *); 1382int ide_use_dma(ide_drive_t *);