patch-2.3.46 linux/drivers/scsi/aha152x.c
Next file: linux/drivers/scsi/esp.c
Previous file: linux/drivers/scsi/Makefile
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Feb 15 08:53:46 2000
- Orig file:
v2.3.45/linux/drivers/scsi/aha152x.c
- Orig date:
Tue Jan 4 13:57:17 2000
diff -u --recursive --new-file v2.3.45/linux/drivers/scsi/aha152x.c linux/drivers/scsi/aha152x.c
@@ -200,13 +200,9 @@
**************************************************************************/
-#if defined(PCMCIA)
-#define MODULE
-#endif
-
#include <linux/module.h>
-#if defined(PCMCIA)
+#ifdef PCMCIA
#undef MODULE
#endif
@@ -877,9 +873,9 @@
static int checksetup(struct aha152x_setup *setup)
{
- int i;
#if !defined(PCMCIA)
+ int i;
for (i = 0; i < PORT_COUNT && (setup->io_port != ports[i]); i++)
;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)