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

Marius Strobl marius at FreeBSD.org
Tue Jan 31 06:48:59 PST 2006


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
  
  Revision  Changes    Path
  1.1       +592 -0    src/sys/dev/le/am7990.c (new)
  1.1       +633 -0    src/sys/dev/le/am79900.c (new)
  1.1       +156 -0    src/sys/dev/le/am79900reg.h (new)
  1.1       +62 -0     src/sys/dev/le/am79900var.h (new)
  1.1       +189 -0    src/sys/dev/le/am7990reg.h (new)
  1.1       +62 -0     src/sys/dev/le/am7990var.h (new)
  1.1       +488 -0    src/sys/dev/le/if_le_ledma.c (new)
  1.1       +496 -0    src/sys/dev/le/if_le_pci.c (new)
  1.1       +908 -0    src/sys/dev/le/lance.c (new)
  1.1       +619 -0    src/sys/dev/le/lancereg.h (new)
  1.1       +169 -0    src/sys/dev/le/lancevar.h (new)


More information about the cvs-src mailing list