Date: Wed, 9 Jul 2008 16:47:55 +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 if_csreg.h Message-ID: <200807091648.m69Gm7gu002162@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807091648.m69Gm7gu002162>