lkml.org 
[lkml]   [1997]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectSMC ultra 2.1.20 patch
    Date

    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

    \
     
     \ /
      Last update: 2005-03-22 13:38    [W:0.020 / U:0.052 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site