Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Jun 2008 17:22:07 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/cs if_cs.c
Message-ID:  <200806061722.m56HMIKx067342@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2008-06-06 17:22:07 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/cs           if_cs.c 
  Log:
  SVN rev 179620 on 2008-06-06 17:22:07Z by imp
  
  o Remove unused cs_debug tunable.  I think I added it and then nothing with
    it.  Bad imp.  Removing us dips us under 10,000 in size too.
  o Replace an unconditional 30ms DELAY (yes, busy wait) with a check of the
    SIBUSY bit in the SelfST register before accessing the eeprom.  This changes
    the time to read the EEPROM from 2 * 20 * 30ms (1.2s) to < 20*25us (.0005s)
    and make the attach of the card tolerable when ethernet media is present.
    Include data from the datasheet about why this works.  While this is a 2500x
    speed increase, it doesn't really matter at all once the card is probed...
  o set dev earlier in softc.
  
  Revision  Changes    Path
  1.52      +22 -10    src/sys/dev/cs/if_cs.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806061722.m56HMIKx067342>