Messages in this thread Patch in this message |  | | From | Matthew Harrell <> | Subject | SMC ultra 2.1.20 patch | Date | Fri, 3 Jan 1997 17:32:23 -0500 (EST) |
| |
Here's a patch I had to use to compile the smb-ultra module under 2.1.20.
diff -urN lx-2.1.20/drivers/net/smc-ultra.c linux/drivers/net/smc-ultra.c --- lx-2.1.20/drivers/net/smc-ultra.c Fri Jan 3 15:15:59 1997 +++ linux/drivers/net/smc-ultra.c Fri Jan 3 15:52:47 1997 @@ -434,8 +436,8 @@ static int io[MAX_ULTRA_CARDS] = { 0, }; static int irq[MAX_ULTRA_CARDS] = { 0, }; -MODULE_PARM(io, "1-" __MODULE_PARM(MAX_ULTRA_CARDS) "i"); -MODULE_PARM(irq, "1-" __MODULE_PARM(MAX_ULTRA_CARDS) "i"); +MODULE_PARM(io, "1-" __MODULE_STRING(MAX_ULTRA_CARDS) "i"); +MODULE_PARM(irq, "1-" __MODULE_STRING(MAX_ULTRA_CARDS) "i"); /* This is set up so that only a single autoprobe takes place per call. ISA device autoprobes on a running machine are not recommended. */ -- Matthew Harrell The perversity of the universe Simulation Technology Division, SAIC tends to a maximum. mharrell@std.saic.com
|  |