Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Apr 2009 15:36:02 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190802 - head/sys/dev/ed
Message-ID:  <200904071536.n37Fa2tt012823@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904071536.n37Fa2tt012823>