cvs commit: src/sys/dev/le am7990.c am79900.c am79900reg.h am79900var.h am7990reg.h am7990var.h if_le_ledma.c if_le_pci.c lance.c lancereg.h lancevar.h

Scott Long scottl at samsco.org
Tue Jan 31 07:01:58 PST 2006


Marius Strobl wrote:
> marius      2006-01-31 14:48:58 UTC
> 
>   FreeBSD src repository
> 
>   Added files:
>     sys/dev/le           am7990.c am79900.c am79900reg.h 
>                          am79900var.h am7990reg.h am7990var.h 
>                          if_le_ledma.c if_le_pci.c lance.c 
>                          lancereg.h lancevar.h 
>   Log:
>   Add le(4), a driver for AMD Am7900 LANCE and Am79C9xx PCnet NICs ported
>   from NetBSD. This driver actually can replace lnc(4). Advantages over
>   lnc(4) are:
>   - Cleaner and more flexible regarding MD needs.
>   - Endian-clean and MPSAFE.
>   - Supports ALTQ, VLAN_MTU, ifmedia.
>   - Uses 32bit DMA for the PCI variants.
>   
>   This commit includes front-ends for the dma(4) pseudo-bus found on SBus-
>   based sparc64 machines (thus supports the on-board LANCE in Sun Ultra 1)
>   and PCI. In order to actually replace lnc(4), the front-ends for ISA and
>   the PC98 CBUS would have to be added but for which I don't have hardware
>   to test.
>   
>   Reviewed and some improvements by:      yongari
>   Tested on:                              i386, sparc64
>   

Excellent job!  One question, though.  I believe that VMWare emulates
Lance hardware.  If your new le driver works on that, then I see no
reason to not disable the lnc driver and enable the le driver by
default.

Scott


More information about the cvs-src mailing list