aha152x module patch

Roy P. Turner (ecstasy@dopamine.com)
Fri, 21 Mar 1997 18:58:21 -0600


Here is a small patch Richard Henderson sent me a while back to make the
aha152x driver work as a module. He said he'd get it into the kernel
but i guess he forgot. Here it is.

Roy

--- linux-2.1.27/drivers/scsi/aha152x.c.orig Fri Feb 28 10:47:18 1997
+++ linux-2.1.27/drivers/scsi/aha152x.c Fri Feb 28 10:49:35 1997
@@ -432,9 +432,13 @@ enum {
#if defined(DEBUG_AHA152X)
int aha152x[] = { 0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0, DEBUG_DEFAULT };
int aha152x1[] = { 0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0, DEBUG_DEFAULT };
+MODULE_PARM(aha152x, "1-9i");
+MODULE_PARM(aha152x1, "1-9i");
#else
int aha152x[] = { 0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0 };
int aha152x1[] = { 0, 11, 7, 1, 1, 0, DELAY_DEFAULT, 0 };
+MODULE_PARM(aha152x, "1-8i");
+MODULE_PARM(aha152x1, "1-8i");
#endif
#endif