cvs commit: src/sys/dev/cs if_cs.c if_csreg.h

Warner Losh imp at FreeBSD.org
Wed Jul 9 16:48:07 UTC 2008


imp         2008-07-09 16:47:55 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/cs           if_cs.c if_csreg.h 
  Log:
  SVN rev 180388 on 2008-07-09 16:47:55Z by imp
  
  Improve the EEPROM parsing, based on finding a datasheet that describes
  it in detail.
  
  When setting media, don't error out when a specific media is selected.
  # Note: There may be some issues still here since the EtherJet PC Card doesn't
  # conform to the datasheet.  Many different kinds of dongles can be plugged in
  # and it is unknown how to ask which one it is.
  
  Also, add a /* bad! */ comment to a 1/2 second delay after we set the
  DC/DC parameters.  This should be a *sleep of some sort for !cold.
  Fortunately it is the only one and is only used when setting media, so
  the benefit from removing it is small.  Unfortunately, it likely
  serves as an exemplar of good programming techniques, which it isn't.
  
  Revision  Changes    Path
  1.54      +6 -6      src/sys/dev/cs/if_cs.c
  1.8       +40 -31    src/sys/dev/cs/if_csreg.h


More information about the cvs-all mailing list