patch-2.4.5 linux/drivers/scsi/aha1542.c
Next file: linux/drivers/scsi/aic7xxx/Config.in
Previous file: linux/drivers/scsi/README.ibmmca
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Tue May 1 16:05:00 2001
- Orig file:
v2.4.4/linux/drivers/scsi/aha1542.c
- Orig date:
Tue Mar 6 19:44:37 2001
diff -u --recursive --new-file v2.4.4/linux/drivers/scsi/aha1542.c linux/drivers/scsi/aha1542.c
@@ -254,7 +254,7 @@
/* Only used at boot time, so we do not need to worry about latency as much
here */
-static int aha1542_in(unsigned int base, unchar * cmdp, int len)
+static int __init aha1542_in(unsigned int base, unchar * cmdp, int len)
{
unsigned long flags;
@@ -276,7 +276,7 @@
/* Similar to aha1542_in, except that we wait a very short period of time.
We use this if we know the board is alive and awake, but we are not sure
if the board will respond to the command we are about to send or not */
-static int aha1542_in1(unsigned int base, unchar * cmdp, int len)
+static int __init aha1542_in1(unsigned int base, unchar * cmdp, int len)
{
unsigned long flags;
@@ -886,7 +886,7 @@
/* This function should only be called for 1542C boards - we can detect
the special firmware settings and unlock the board */
-static int aha1542_mbenable(int base)
+static int __init aha1542_mbenable(int base)
{
static unchar mbenable_cmd[3];
static unchar mbenable_result[2];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)