svn commit: r190802 - head/sys/dev/ed
Warner Losh
imp at FreeBSD.org
Tue Apr 7 08:36:03 PDT 2009
Author: imp
Date: Tue Apr 7 15:36:02 2009
New Revision: 190802
URL: http://svn.freebsd.org/changeset/base/190802
Log:
Apply generic media stuff to pccard case too, when we aren't using miibus
for this.
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 Tue Apr 7 15:34:26 2009 (r190801)
+++ head/sys/dev/ed/if_ed_pccard.c Tue Apr 7 15:36:02 2009 (r190802)
@@ -607,6 +607,9 @@ ed_pccard_attach(device_t dev)
sc->sc_mediachg = ed_pccard_mediachg;
sc->sc_media_ioctl = ed_pccard_media_ioctl;
ed_pccard_kick_phy(sc);
+ } else {
+ printf("Generic ifmedia\n");
+ ed_gen_ifmedia_init(sc);
}
if (sc->modem_rid != -1)
ed_pccard_add_modem(dev);
More information about the svn-src-head
mailing list