[PATCH] Updated znet driver for 2.5

From: Marc Zyngier (mzyngier@freesurf.fr)
Date: Fri Oct 25 2002 - 06:58:53 EST


Hi all,

I do not think a lot of people might care about this one, but since I
now have an "almost new" Zenith Z-Note (486@33, 16MB RAM... feel the
power, baby ;-), I felt the urge to get the znet driver out of the
CONFIG_OBSOLETE bit bucket, and bring it to the wonderfull world of
Linux-2.5.

So here is the change-log :

- Removed strange DMA snooping in znet_sent_packet, which lead to
  TX buffer corruption on my laptop.
- Use init_etherdev stuff.
- Use kmalloc-ed DMA buffers.
- Use as few global variables as possible.
- Use proper resources management.
- Use wireless/i82593.h as much as possible (structure, constants)
- Compiles as module or build-in.

Almost nothing have changed from the original driver. I just managed
to have the driver behave, which was enough to make a whole Debian
network install.

I certainly introduced a whole lot of bugs, so blame me, not
Donald. I'd be happy to get any sucess/bug report from
Z-Note/Thinkpad-300 users (though I won't hold my breath ;-).

I'd also appreciate any comment about what to change in this driver to
let it make it in 2.5.

        M.




-- 
Places change, faces change. Life is so very strange.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Oct 31 2002 - 22:00:27 EST