patch-2.4.0-test2 linux/drivers/ide/icside.c
Next file: linux/drivers/ide/ide-cd.c
Previous file: linux/drivers/ide/hpt366.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Tue Jun 20 07:52:36 2000
- Orig file:
v2.4.0-test1/linux/drivers/ide/icside.c
- Orig date:
Tue May 23 15:31:34 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/ide/icside.c linux/drivers/ide/icside.c
@@ -351,7 +351,7 @@
static int
icside_set_speed(ide_drive_t *drive, byte speed)
{
- return ((int) icside_config_if(drive, (int) speed));
+ return icside_config_if(drive, speed);
}
static int
@@ -508,9 +508,9 @@
goto failed;
}
- hwif->dmaproc = &icside_dmaproc;
+ hwif->speedproc = icside_set_speed;
+ hwif->dmaproc = icside_dmaproc;
hwif->autodma = autodma;
- hwif->speedproc = &icside_set_speed;
printk(" capable%s\n", autodma ?
", auto-enable" : "");
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)