diff options
author | Warner Losh <imp@FreeBSD.org> | 2005-02-12 08:27:46 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2005-02-12 08:27:46 +0000 |
commit | 1d0fc8fda7d8ededfb68749a98d61203678e2e0c (patch) | |
tree | 1b4aef77a1b67335c390589130ff29450c0a7a0d | |
parent | ac8be89de52910271de2c12863fc96819ae52345 (diff) | |
download | src-1d0fc8fda7d8ededfb68749a98d61203678e2e0c.tar.gz src-1d0fc8fda7d8ededfb68749a98d61203678e2e0c.zip |
Add comment about MAC mining
Notes
Notes:
svn path=/head/; revision=141715
-rw-r--r-- | sys/dev/ed/if_ed_pccard.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/ed/if_ed_pccard.c b/sys/dev/ed/if_ed_pccard.c index eea90af6f658..02e57fe490bb 100644 --- a/sys/dev/ed/if_ed_pccard.c +++ b/sys/dev/ed/if_ed_pccard.c @@ -254,6 +254,14 @@ ed_pccard_attach(device_t dev) return (error); } + /* + * For the older cards, we have to get the MAC address from the + * card in some way. Let's try the standard way first. If that + * fails, check to see if the card has a hint about where to look + * in its CIS. If that fails, maybe we should look at some default + * value. In all fails, we should fail the attach, but don't right + * now. + */ if (sc->chip_type == ED_CHIP_TYPE_DP8390) { pccard_get_ether(dev, ether_addr); for (i = 0, sum = 0; i < ETHER_ADDR_LEN; i++) |