diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 1998-09-11 12:06:59 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 1998-09-11 12:06:59 +0000 |
commit | bda603bd61572eba5ccc500aadea950ab93662d0 (patch) | |
tree | 53af8001cd857aacc5ca089d9fed184bca9415a2 /sys/dev/ic/elink3var.h | |
parent | e1ea743aa76da3731c586f7e8ae512a83dbc34be (diff) |
Add a third parameter to epconfig to get the MAC address if it's a pcmcia
card and support it. Use NULL otherwise.
Update the ep based drivers.
Diffstat (limited to 'sys/dev/ic/elink3var.h')
-rw-r--r-- | sys/dev/ic/elink3var.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/elink3var.h b/sys/dev/ic/elink3var.h index a826a7c0dc0..98a76dd3951 100644 --- a/sys/dev/ic/elink3var.h +++ b/sys/dev/ic/elink3var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: elink3var.h,v 1.9 1997/10/30 23:58:18 niklas Exp $ */ +/* $OpenBSD: elink3var.h,v 1.10 1998/09/11 12:06:56 fgsch Exp $ */ /* $NetBSD: elink3var.h,v 1.12 1997/03/30 22:47:11 jonathan Exp $ */ /* @@ -71,6 +71,7 @@ struct ep_softc { #define EP_FLAGS_SNOOPING 0x0800 #define EP_FLAGS_100MBIT 0x1000 #define EP_FLAGS_POWERMGMT 0x2000 +#define EP_FLAGS_MII 0x4000 u_short ep_chipset; /* Chipset family on this board */ #define EP_CHIPSET_UNKNOWN 0x00 /* unknown (assume 3c509) */ @@ -94,6 +95,6 @@ struct ep_softc { }; u_int16_t epreadeeprom __P((bus_space_tag_t, bus_space_handle_t, int)); -void epconfig __P((struct ep_softc *, u_short)); +void epconfig __P((struct ep_softc *, u_short, u_int8_t *)); int epintr __P((void *)); void epstop __P((struct ep_softc *)); |