diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-07 07:38:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-07 07:38:52 +0000 |
commit | a18dd829375e446ca22af98dc283f34da965edbc (patch) | |
tree | 0c5bbc9a1a0ce73f792bd62db356a18c8af92e32 /sys/dev/ic/elink3var.h | |
parent | c78ff01b45ca78d491b3e8db520c2cb877a273d4 (diff) |
sync with 0504 -- prototypes and bus.h
Diffstat (limited to 'sys/dev/ic/elink3var.h')
-rw-r--r-- | sys/dev/ic/elink3var.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ic/elink3var.h b/sys/dev/ic/elink3var.h index a048a44c2a7..534c68d8c66 100644 --- a/sys/dev/ic/elink3var.h +++ b/sys/dev/ic/elink3var.h @@ -1,4 +1,4 @@ -/* $NetBSD: elink3var.h,v 1.1 1996/04/25 02:17:36 thorpej Exp $ */ +/* $NetBSD: elink3var.h,v 1.3 1996/05/03 19:08:48 christos Exp $ */ /* * Copyright (c) 1994 Herb Peyerl <hpeyerl@novatel.ca> @@ -38,7 +38,8 @@ struct ep_softc { void *sc_ih; struct arpcom sc_arpcom; /* Ethernet common part */ - int ep_iobase; /* i/o bus address */ + bus_chipset_tag_t sc_bc; /* bus cookie */ + bus_io_handle_t sc_ioh; /* bus i/o handle */ char ep_connectors; /* Connectors on this card. */ #define MAX_MBS 8 /* # of mbufs we keep around */ struct mbuf *mb[MAX_MBS]; /* spare mbuf storage. */ @@ -60,6 +61,7 @@ struct ep_softc { #define EP_ABSENT 0x02 }; -u_short epreadeeprom __P((int id_port, int offset)); +u_int16_t epreadeeprom __P((bus_chipset_tag_t, bus_io_handle_t, int)); void epconfig __P((struct ep_softc *, u_int)); int epintr __P((void *)); +void epstop __P((struct ep_softc *)); |