summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_edreg.h
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-07-22 18:58:44 +0000
committeriedowse <iedowse@FreeBSD.org>2001-07-22 18:58:44 +0000
commit6e2ef43eedee8839bc7db512e0692c80a73cb935 (patch)
treef4a41db88d1b666d72d1654df1c10001a074800c /sys/dev/ed/if_edreg.h
parent5064dfdc7ca942c44349640d82b2d486a6fae544 (diff)
downloadFreeBSD-src-6e2ef43eedee8839bc7db512e0692c80a73cb935.zip
FreeBSD-src-6e2ef43eedee8839bc7db512e0692c80a73cb935.tar.gz
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
Diffstat (limited to 'sys/dev/ed/if_edreg.h')
-rw-r--r--sys/dev/ed/if_edreg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ed/if_edreg.h b/sys/dev/ed/if_edreg.h
index a2e1882..068361a 100644
--- a/sys/dev/ed/if_edreg.h
+++ b/sys/dev/ed/if_edreg.h
@@ -577,6 +577,7 @@ struct ed_ring {
#define ED_VENDOR_NOVELL 0x02 /* Novell */
#define ED_VENDOR_PCCARD 0x03 /* PCMCIA/PCCARD */
#define ED_VENDOR_HP 0x04 /* Hewlett Packard */
+#define ED_VENDOR_LINKSYS 0x05 /* Linksys (Dlink) */
/*
* Compile-time config flags
OpenPOWER on IntegriCloud