patch-2.3.4 linux/drivers/block/ide-probe.c
Next file: linux/drivers/block/ide.c
Previous file: linux/drivers/block/ide-disk.c
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri May 28 09:34:41 1999
- Orig file:
v2.3.3/linux/drivers/block/ide-probe.c
- Orig date:
Fri May 14 18:55:14 1999
diff -u --recursive --new-file v2.3.3/linux/drivers/block/ide-probe.c linux/drivers/block/ide-probe.c
@@ -189,9 +189,10 @@
}
#if CONFIG_BLK_DEV_PDC4030
- if (IS_PDC4030_DRIVE) {
- extern int pdc4030_cmd(ide_drive_t *, byte);
- if (pdc4030_cmd(drive,PROMISE_IDENTIFY)) {
+ if (HWIF(drive)->chipset == ide_pdc4030) {
+ /* DC4030 hosted drives need their own identify... */
+ extern int pdc4030_identify(ide_drive_t *);
+ if (pdc4030_identify(drive)) {
if (irqs)
(void) probe_irq_off(irqs);
return 1;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)