diff options
author | imp <imp@FreeBSD.org> | 2009-04-07 05:41:38 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-04-07 05:41:38 +0000 |
commit | 9d62ffa0f2ead6fec66d672a56a0bc19f3e51b8d (patch) | |
tree | 725aebbd29e112c37b96e10c448ef7b8b44f6c7f /sys/dev/ed/if_edvar.h | |
parent | 894559e5f582d7e403b5e230a5c30e52f2ea18a3 (diff) | |
download | FreeBSD-src-9d62ffa0f2ead6fec66d672a56a0bc19f3e51b8d.zip FreeBSD-src-9d62ffa0f2ead6fec66d672a56a0bc19f3e51b8d.tar.gz |
Provide a generic ifmedia set of routines as a fallback. The
DP8390-based cards have no generic way of reporting status of the link
or setting the media type. Some specific versions of these cards do,
however, allow for this, and we already support some of them. Make
the 'ed' experience more uniform by providing "autoselect" as the
meida and status "active" always. This won't affect the chips that
provide more specific details.
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r-- | sys/dev/ed/if_edvar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h index 30610ab..27dd669 100644 --- a/sys/dev/ed/if_edvar.h +++ b/sys/dev/ed/if_edvar.h @@ -226,6 +226,8 @@ u_short ed_pio_write_mbufs(struct ed_softc *, struct mbuf *, bus_size_t); void ed_disable_16bit_access(struct ed_softc *); void ed_enable_16bit_access(struct ed_softc *); +void ed_gen_ifmedia_init(struct ed_softc *); + driver_intr_t edintr; extern devclass_t ed_devclass; |