cvs commit: src/sys/dev/netif/dc if_dc.c if_dcreg.h

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jul 16 10:12:42 PDT 2005


dillon      2005/07/16 10:11:39 PDT

DragonFly src repository

  Modified files:
    sys/dev/netif/dc     if_dc.c if_dcreg.h 
  Log:
  * Fix a bug that could cause dc_stop() to try to m_freem() something that's
    not a valid mbuf pointer.
  * Avoid an unnecessary copy of a packet if it is already in a single mbuf.
  * Introduce an additional device flag (DC_TX_ALIGN) for those NICs which
    require the transmit buffers to be aligned to 32-bit boundaries.
  * Ignore CSR13, CSR14, CSR15 'Media Specific Data' registers for 21143
    based cards which use SIA mode.
  * Don't read the MAC address from a copy of the EEPROM in the softc
    that has been recorded earlier and overwrite it again later by
    reading it directly from the EEPROM again.
  * Read the MAC address from the PAR0/PAR1 registers instead, which
    are autoloaded on reboot.
  * Added ADMtek ADM9511 and ADM9513 device ID's
  
  Submitted-by: Eduardo Tongson
  Taken-from: FreeBSD
  	    if_dc.c       1.9.46,48,49,50,51,52,53,55
  	    if_dcreg.h   1.4.2.23,24,25
  
  Revision  Changes    Path
  1.36      +28 -11    src/sys/dev/netif/dc/if_dc.c
  1.6       +11 -0     src/sys/dev/netif/dc/if_dcreg.h


http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/dc/if_dc.c.diff?r1=1.35&r2=1.36&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/dev/netif/dc/if_dcreg.h.diff?r1=1.5&r2=1.6&f=u





More information about the Commits mailing list