]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Attach the miibus for Linksys/Dlink cards from the attach routine,
authorIan Dowse <iedowse@FreeBSD.org>
Sun, 22 Jul 2001 18:58:44 +0000 (18:58 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Sun, 22 Jul 2001 18:58:44 +0000 (18:58 +0000)
commitdc5309048886dbf3a42666fecb1fc132f184dd66
treef4a41db88d1b666d72d1654df1c10001a074800c
parent4fec48c6fea41b833d2153d38fc57238bc42b140
Attach the miibus for Linksys/Dlink cards from the attach routine,
not from the probe routine. This was an oversight when I originally
ported the miibus support to -current, though it was mostly harmless.

We now set the vendor code to the new value ED_VENDOR_LINKSYS in
ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks
the vendor code, and sets up the miibus if appropriate.

Reviewed by: imp
sys/dev/ed/if_ed_pccard.c
sys/dev/ed/if_edreg.h