diff options
Diffstat (limited to 'drivers/ata/pata_legacy.c')
-rw-r--r-- | drivers/ata/pata_legacy.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c index d960f8e9e8b1..e71fdfbf69b3 100644 --- a/drivers/ata/pata_legacy.c +++ b/drivers/ata/pata_legacy.c | |||
@@ -137,11 +137,17 @@ static int ht6560a; /* HT 6560A on primary 1, second 2, both 3 */ | |||
137 | static int ht6560b; /* HT 6560A on primary 1, second 2, both 3 */ | 137 | static int ht6560b; /* HT 6560A on primary 1, second 2, both 3 */ |
138 | static int opti82c611a; /* Opti82c611A on primary 1, sec 2, both 3 */ | 138 | static int opti82c611a; /* Opti82c611A on primary 1, sec 2, both 3 */ |
139 | static int opti82c46x; /* Opti 82c465MV present(pri/sec autodetect) */ | 139 | static int opti82c46x; /* Opti 82c465MV present(pri/sec autodetect) */ |
140 | static int qdi; /* Set to probe QDI controllers */ | ||
141 | static int autospeed; /* Chip present which snoops speed changes */ | 140 | static int autospeed; /* Chip present which snoops speed changes */ |
142 | static int pio_mask = ATA_PIO4; /* PIO range for autospeed devices */ | 141 | static int pio_mask = ATA_PIO4; /* PIO range for autospeed devices */ |
143 | static int iordy_mask = 0xFFFFFFFF; /* Use iordy if available */ | 142 | static int iordy_mask = 0xFFFFFFFF; /* Use iordy if available */ |
144 | 143 | ||
144 | /* Set to probe QDI controllers */ | ||
145 | #ifdef CONFIG_PATA_QDI_MODULE | ||
146 | static int qdi = 1; | ||
147 | #else | ||
148 | static int qdi; | ||
149 | #endif | ||
150 | |||
145 | #ifdef CONFIG_PATA_WINBOND_VLB_MODULE | 151 | #ifdef CONFIG_PATA_WINBOND_VLB_MODULE |
146 | static int winbond = 1; /* Set to probe Winbond controllers, | 152 | static int winbond = 1; /* Set to probe Winbond controllers, |
147 | give I/O port if non standard */ | 153 | give I/O port if non standard */ |
@@ -1306,6 +1312,7 @@ MODULE_AUTHOR("Alan Cox"); | |||
1306 | MODULE_DESCRIPTION("low-level driver for legacy ATA"); | 1312 | MODULE_DESCRIPTION("low-level driver for legacy ATA"); |
1307 | MODULE_LICENSE("GPL"); | 1313 | MODULE_LICENSE("GPL"); |
1308 | MODULE_VERSION(DRV_VERSION); | 1314 | MODULE_VERSION(DRV_VERSION); |
1315 | MODULE_ALIAS("pata_qdi"); | ||
1309 | MODULE_ALIAS("pata_winbond"); | 1316 | MODULE_ALIAS("pata_winbond"); |
1310 | 1317 | ||
1311 | module_param(probe_all, int, 0); | 1318 | module_param(probe_all, int, 0); |