diff options
author | iedowse <iedowse@FreeBSD.org> | 2001-09-29 22:32:03 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2001-09-29 22:32:03 +0000 |
commit | 20a6cccd28a63eba55eb299343b04b3ebce5e811 (patch) | |
tree | cdf110a344a46525cacedd0ee2b8df0a25bfd52d /sys/dev/ed/if_edvar.h | |
parent | 280e03a29b334c9f6a8111ed482fa6a1d0e95af4 (diff) | |
download | FreeBSD-src-20a6cccd28a63eba55eb299343b04b3ebce5e811.zip FreeBSD-src-20a6cccd28a63eba55eb299343b04b3ebce5e811.tar.gz |
Add an option ED_NO_MIIBUS, which causes the `ed' driver to be
built without support for miibus PHYs. Most ed cards don't need
miibus support, so it's useful to be able to avoid the bloat of
all the mii devices for small fixed-purpose kernels.
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 8c58b64..0679198 100644 --- a/sys/dev/ed/if_edvar.h +++ b/sys/dev/ed/if_edvar.h @@ -209,11 +209,13 @@ void ed_pio_readmem __P((struct ed_softc *, int, unsigned char *, unsigned short)); void ed_pio_writemem __P((struct ed_softc *, char *, unsigned short, unsigned short)); +#ifndef ED_NO_MIIBUS int ed_miibus_readreg __P((device_t, int, int)); void ed_miibus_writereg __P((device_t, int, int, int)); int ed_ifmedia_upd __P((struct ifnet *)); void ed_ifmedia_sts __P((struct ifnet *, struct ifmediareq *)); void ed_child_detached __P((device_t, device_t)); +#endif driver_intr_t edintr; |