Searched hist:179620 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/dev/cs/ | ||
H A D | if_cs.c | diff 179620 Fri Jun 06 15:31:42 MDT 2008 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. |
Completed in 102 milliseconds