summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_edvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-02-20 18:44:45 +0000
committerimp <imp@FreeBSD.org>2005-02-20 18:44:45 +0000
commit8e7bdc9145b7c6ed1a958f035535341f009ae75c (patch)
treef31df702698b1e81cc71c85b576c33b493dc30bf /sys/dev/ed/if_edvar.h
parent7b7df8db6906977aa329212872d0ce7234138205 (diff)
downloadFreeBSD-src-8e7bdc9145b7c6ed1a958f035535341f009ae75c.zip
FreeBSD-src-8e7bdc9145b7c6ed1a958f035535341f009ae75c.tar.gz
Minor optimizations to compile out bits that aren't necessary when
certain options aren't enabled. Submitted by: Chiharu Shibata-san (chi at bd mbn or jp)
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r--sys/dev/ed/if_edvar.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h
index c202712..abba725 100644
--- a/sys/dev/ed/if_edvar.h
+++ b/sys/dev/ed/if_edvar.h
@@ -198,11 +198,18 @@ int ed_alloc_irq(device_t, int, int);
int ed_probe_generic8390(struct ed_softc *);
int ed_probe_WD80x3(device_t, int, int);
int ed_probe_WD80x3_generic(device_t, int, uint16_t *[]);
+#ifdef ED_3C503
int ed_probe_3Com(device_t, int, int);
+#endif
+#ifdef ED_SIC
int ed_probe_SIC(device_t, int, int);
+#endif
int ed_probe_Novell(device_t, int, int);
+int ed_probe_Novell_generic(device_t, int);
void ed_Novell_read_mac(struct ed_softc *);
+#ifdef ED_HPP
int ed_probe_HP_pclanp(device_t, int, int);
+#endif
int ed_attach(device_t);
int ed_detach(device_t);
@@ -220,9 +227,11 @@ void ed_child_detached(device_t, device_t);
#endif
/* The following is unsatisfying XXX */
+#ifdef ED_HPP
void ed_hpp_set_physical_link(struct ed_softc *);
void ed_hpp_readmem(struct ed_softc *, long, uint8_t *, uint16_t);
u_short ed_hpp_write_mbufs(struct ed_softc *, struct mbuf *, int);
+#endif
void ed_disable_16bit_access(struct ed_softc *);
void ed_enable_16bit_access(struct ed_softc *);
OpenPOWER on IntegriCloud