• Geert Uytterhoeven's avatar
    [PATCH] 2.6.x experimental net driver queue fix · da11d5bb
    Geert Uytterhoeven authored
    On Wed, 19 Nov 2003, Sam Creasey wrote:
    > On Tue, 18 Nov 2003, Geert Uytterhoeven wrote:
    > > On Mon, 17 Nov 2003, Geert Uytterhoeven wrote:
    > > > On Sun, 16 Nov 2003, Jeff Garzik wrote:
    > > > > Yet more updates.  Syncing with Andrew Morton, and more syncing with Al
    > > > > Viro.
    > > > >
    > > > > No users of init_etherdev remain in the tree.  (yay!)
    > > >
    > > > Here are some (untested, except for cross-gcc) fixes for the m68k-related
    > > > drivers:
    > >
    > > I forget to test the Sun-3 drivers:
    > >   - sun3_82586.c:
    > >       o add missing casts to iounmap() calls
    > >       o fix parameter of free_netdev()
    > >   - sun3lance.c: add missing casts to iounmap() calls
    > >
    > > Note that sun3_82586.c no longer compiles since SUN3_82586_TOTAL_SIZE is not
    > > defined. Sammy, is it OK to use PAGE_SIZE for that, since that's what's passed
    > > to ioremap()?
    >
    > Should be...  I looked back through a few versions of the code, and I'm
    > not even sure what SUN3_82586_TOTAL_SIZE even was (appears I commented
    > that line out long ago anyway).  (I'm also amazed just how much of that
    > driver I've forgotten in the last year or two :)
    
    OK, so here's a additional patch that fixes that:
    da11d5bb
sun3_82586.c 32.6 KB