Messages in this thread |  | | Date | Fri, 26 Jul 1996 16:12:20 -0700 (PDT) | From | Kernel Developement <> | Subject | Kernel 2.0.9 IDE fix |
| |
It appears that hd_status in linux/drivers/block/ide.c has the hd_status is defined a bit late. The following patch should fix it...(i.e. it compiled fine for me after the change).
kenn herman
*** ide.c Fri Jul 26 15:56:43 1996 --- ide.c.new Fri Jul 26 15:56:47 1996 *************** *** 2383,2393 **** */ static int try_to_identify (ide_drive_t *drive, byte cmd) { ! int irqs, rc; unsigned long timeout; #ifdef CONFIG_BLK_DEV_CMD640 int retry = 0; - int hd_status; try_again: #endif /* CONFIG_BLK_DEV_CMD640 */ --- 2383,2392 ---- */ static int try_to_identify (ide_drive_t *drive, byte cmd) { ! int hd_status, irqs, rc; unsigned long timeout; #ifdef CONFIG_BLK_DEV_CMD640 int retry = 0; try_again: #endif /* CONFIG_BLK_DEV_CMD640 */
|  |