summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed/if_edvar.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-02-09 20:03:40 +0000
committerimp <imp@FreeBSD.org>2005-02-09 20:03:40 +0000
commit8ea73f2d54b61e3b2d8dc144c0b297495fd036ca (patch)
treee520b94cdc40902296c7025be4da781935e62252 /sys/dev/ed/if_edvar.h
parent8f0a058ccfd2cb813f106e7bc58590b321d6938c (diff)
downloadFreeBSD-src-8ea73f2d54b61e3b2d8dc144c0b297495fd036ca.zip
FreeBSD-src-8ea73f2d54b61e3b2d8dc144c0b297495fd036ca.tar.gz
Break out obscure ISA cards into their own files, as well as ne2000
and wd80x3 support. Make the obscure ISA cards optional, and add those options to NOTES on i386 (note: the ifdef around the whole code is for module building). Tweak pc98 ed support to include wd80x3 too. Add goo for alpha too. The affected cards are the 3Com 3C503, HP LAN+ and SIC (whatever that is). I couldn't find any of these for sale on ebay, so they are untested. If you have one of these cards, and send it to me, I'll ensure that you have no future problems with it... Minor cleanups as well by using functions rather than cut and paste code for some probing operations (where the function call overhead is lost in the noise). Remove use of kvtop, since they aren't required anymore. This driver needs to get its memory mapped act together, however, and use bus space. It doesn't right now. This reduces the size of if_ed.ko from about 51k to 33k on my laptop.
Diffstat (limited to 'sys/dev/ed/if_edvar.h')
-rw-r--r--sys/dev/ed/if_edvar.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ed/if_edvar.h b/sys/dev/ed/if_edvar.h
index 5020858..4707f35 100644
--- a/sys/dev/ed/if_edvar.h
+++ b/sys/dev/ed/if_edvar.h
@@ -207,6 +207,7 @@ int ed_probe_HP_pclanp(device_t, int, int);
int ed_attach(device_t);
int ed_detach(device_t);
int ed_clear_memory(device_t);
+int ed_isa_mem_ok(device_t, u_long, u_int); /* XXX isa specific */
void ed_stop(struct ed_softc *);
void ed_pio_readmem(struct ed_softc *, long, uint8_t *, uint16_t);
void ed_pio_writemem(struct ed_softc *, uint8_t *, uint16_t, uint16_t);
@@ -218,6 +219,11 @@ void ed_ifmedia_sts(struct ifnet *, struct ifmediareq *);
void ed_child_detached(device_t, device_t);
#endif
+/* The following is unsatisfying XXX */
+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);
+
driver_intr_t edintr;
extern devclass_t ed_devclass;
OpenPOWER on IntegriCloud