HardenedBSD/sys/dev/cs
Warner Losh 4c1a8a173c 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.
2008-07-09 16:47:55 +00:00
..
if_cs_isa.c Forgot to commit these files too :-( 2008-06-06 16:10:10 +00:00
if_cs_pccard.c Forgot to commit these files too :-( 2008-06-06 16:10:10 +00:00
if_cs.c Improve the EEPROM parsing, based on finding a datasheet that describes 2008-07-09 16:47:55 +00:00
if_csreg.h Improve the EEPROM parsing, based on finding a datasheet that describes 2008-07-09 16:47:55 +00:00
if_csvar.h Minor clean up to shave about 1.5k off the size of the driver: 2008-06-06 05:25:24 +00:00