patch-2.4.0-test2 linux/drivers/scsi/mac_scsi.c
Next file: linux/drivers/scsi/megaraid.c
Previous file: linux/drivers/scsi/mac_esp.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon Jun 19 17:59:41 2000
- Orig file:
v2.4.0-test1/linux/drivers/scsi/mac_scsi.c
- Orig date:
Sun Feb 13 19:29:04 2000
diff -u --recursive --new-file v2.4.0-test1/linux/drivers/scsi/mac_scsi.c linux/drivers/scsi/mac_scsi.c
@@ -133,7 +133,7 @@
*
*/
-void mac_scsi_setup(char *str, int *ints) {
+static int __init mac_scsi_setup(char *str, int *ints) {
#ifdef DRIVER_SETUP
/* Format of mac5380 parameter is:
* mac5380=<can_queue>,<cmd_per_lun>,<sg_tablesize>,<hostid>,<use_tags>
@@ -159,7 +159,7 @@
if (ints[0] < 1) {
printk( "mac_scsi_setup: no arguments!\n" );
- return;
+ return 0;
}
if (ints[0] >= 1) {
@@ -193,6 +193,7 @@
}
#endif
#endif
+ return 1;
}
__setup("mac5380=", mac_scsi_setup);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)