diff options
author | kato <kato@FreeBSD.org> | 1998-02-27 15:22:06 +0000 |
---|---|---|
committer | kato <kato@FreeBSD.org> | 1998-02-27 15:22:06 +0000 |
commit | 7e25ab0f35058cb12360c5b0f00a824ad5cb358a (patch) | |
tree | 39c80f4095b0734e00f82709b887ae09eba083dd /sys | |
parent | 3faa601edb3e26b169a4a7a44e19fb52717b2b2f (diff) | |
download | FreeBSD-src-7e25ab0f35058cb12360c5b0f00a824ad5cb358a.zip FreeBSD-src-7e25ab0f35058cb12360c5b0f00a824ad5cb358a.tar.gz |
Sync with sys/i386/isa/if_ed.c revision up to 1.135.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/pc98/pc98/if_ed.c | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/sys/pc98/pc98/if_ed.c b/sys/pc98/pc98/if_ed.c index aba2bc7..b4c21d4 100644 --- a/sys/pc98/pc98/if_ed.c +++ b/sys/pc98/pc98/if_ed.c @@ -24,7 +24,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: if_ed.c,v 1.38 1998/02/05 10:17:57 kato Exp $ + * $Id: if_ed.c,v 1.39 1998/02/06 12:14:02 eivind Exp $ */ /* @@ -218,31 +218,31 @@ void *ed_attach_NE2000_pci __P((int, int)); static int ed_probe_pccard __P((struct isa_device *, u_char *)); #endif -static void ds_getmcaf __P((struct ed_softc *, u_long *)); +static void ds_getmcaf __P((struct ed_softc *, u_long *)); -static void ed_get_packet(struct ed_softc *, char *, /* u_short */ int, int); +static void ed_get_packet __P((struct ed_softc *, char *, /* u_short */ int, int)); -static void ed_rint __P((struct ed_softc *)); -static void ed_xmit __P((struct ed_softc *)); -static char * ed_ring_copy __P((struct ed_softc *, char *, char *, +static void ed_rint __P((struct ed_softc *)); +static void ed_xmit __P((struct ed_softc *)); +static char * ed_ring_copy __P((struct ed_softc *, char *, char *, /* u_short */ int)); static void ed_hpp_set_physical_link __P((struct ed_softc *)); -static void ed_hpp_readmem __P((struct ed_softc *, int, unsigned char *, +static void ed_hpp_readmem __P((struct ed_softc *, int, unsigned char *, /* u_short */ int)); static u_short ed_hpp_write_mbufs __P((struct ed_softc *, struct mbuf *, int)); -static void ed_pio_readmem __P((struct ed_softc *, int, unsigned char *, +static void ed_pio_readmem __P((struct ed_softc *, int, unsigned char *, /* u_short */ int)); -static void ed_pio_writemem __P((struct ed_softc *, char *, +static void ed_pio_writemem __P((struct ed_softc *, char *, /* u_short */ int, /* u_short */ int)); static u_short ed_pio_write_mbufs __P((struct ed_softc *, struct mbuf *, int)); void edintr_sc __P((struct ed_softc *)); -static void ed_setrcr(struct ed_softc *); +static void ed_setrcr __P((struct ed_softc *)); -static u_long ds_crc(u_char *ep); +static u_long ds_crc __P((u_char *ep)); #if (NCARD > 0) || (NPNP > 0) #include <sys/kernel.h> @@ -250,15 +250,14 @@ static u_long ds_crc(u_char *ep); #if NCARD > 0 #include <sys/select.h> #include <pccard/cardinfo.h> -#include <pccard/driver.h> #include <pccard/slot.h> /* * PC-Card (PCMCIA) specific code. */ -static int edinit(struct pccard_devinfo *); /* init device */ -static void edunload(struct pccard_devinfo *); /* Disable driver */ -static int card_intr(struct pccard_devinfo *); /* Interrupt handler */ +static int edinit __P((struct pccard_devinfo *)); +static void edunload __P((struct pccard_devinfo *)); +static int card_intr __P((struct pccard_devinfo *)); static struct pccard_device ed_info = { "ed", |