svn commit: r190897 - head/sys/dev/ed

Warner Losh imp at FreeBSD.org
Fri Apr 10 15:18:04 UTC 2009


Author: imp
Date: Fri Apr 10 15:18:03 2009
New Revision: 190897
URL: http://svn.freebsd.org/changeset/base/190897

Log:
  No need to check for chip type here.

Modified:
  head/sys/dev/ed/if_ed_pccard.c

Modified: head/sys/dev/ed/if_ed_pccard.c
==============================================================================
--- head/sys/dev/ed/if_ed_pccard.c	Fri Apr 10 15:01:48 2009	(r190896)
+++ head/sys/dev/ed/if_ed_pccard.c	Fri Apr 10 15:18:03 2009	(r190897)
@@ -512,7 +512,7 @@ ed_pccard_attach(device_t dev)
 	 */
 	for (i = 0, sum = 0; i < ETHER_ADDR_LEN; i++)
 		sum |= sc->enaddr[i];
-	if (sc->chip_type == ED_CHIP_TYPE_DP8390 && sum == 0) {
+	if (sum == 0) {
 		pccard_get_ether(dev, enaddr);
 		if (bootverbose)
 			device_printf(dev, "CIS MAC %6D\n", enaddr, ":");


More information about the svn-src-all mailing list