summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aha152x.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
committerRalf Baechle <ralf@linux-mips.org>2000-01-29 01:41:54 +0000
commitf969d69ba9f952e5bdd38278e25e26a3e4a61a70 (patch)
treeb3530d803df59d726afaabebc6626987dee1ca05 /drivers/scsi/aha152x.c
parenta10ce7ef2066b455d69187643ddf2073bfc4db24 (diff)
Merge with 2.3.27.
Diffstat (limited to 'drivers/scsi/aha152x.c')
-rw-r--r--drivers/scsi/aha152x.c17
1 files changed, 5 insertions, 12 deletions
diff --git a/drivers/scsi/aha152x.c b/drivers/scsi/aha152x.c
index 5c011500a..243b0b96f 100644
--- a/drivers/scsi/aha152x.c
+++ b/drivers/scsi/aha152x.c
@@ -352,12 +352,6 @@
#include <scsi/scsicam.h>
-struct proc_dir_entry proc_scsi_aha152x =
-{
- PROC_SCSI_AHA152X, 7, "aha152x",
- S_IFDIR | S_IRUGO | S_IXUGO, 2
-};
-
/* DEFINES */
/* For PCMCIA cards, always use AUTOCONF */
@@ -716,8 +710,7 @@ static int getphase(struct Scsi_Host *shpnt)
}
}
-#if 0
-/* called from init/main.c */
+#ifdef PCMCIA
void aha152x_setup(char *str, int *ints)
{
if (setup_count > 2)
@@ -745,8 +738,9 @@ void aha152x_setup(char *str, int *ints)
} else
setup_count++;
}
-#endif
+#endif /* PCMCIA */
+#ifndef MODULE
static int __init do_aha152x_setup (char * str)
{
if (setup_count > 2) {
@@ -765,10 +759,9 @@ controllers\n");
return 1;
}
-#ifndef MODULE
__setup("aha152x=",do_aha152x_setup);
#endif
-
+
/*
* Test, if port_base is valid.
*/
@@ -843,7 +836,7 @@ int aha152x_detect(Scsi_Host_Template * tpnt)
aha152x_config conf;
#endif
- tpnt->proc_dir = &proc_scsi_aha152x;
+ tpnt->proc_name = "aha152x";
for (i = 0; i < IRQS; i++)
aha152x_host[i] = (struct Scsi_Host *) NULL;