From 55ae4cdbdedefdbc6254ee001431cf60bd888474 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Mon, 25 Aug 1997 08:15:14 +0000 Subject: [PATCH] Synchronize with sys/i386/boot/netboot/ns8390.c revision 1.12. --- sys/pc98/boot/netboot/ns8390.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/pc98/boot/netboot/ns8390.c b/sys/pc98/boot/netboot/ns8390.c index 73f21d82ea3..f1d985f936f 100644 --- a/sys/pc98/boot/netboot/ns8390.c +++ b/sys/pc98/boot/netboot/ns8390.c @@ -692,11 +692,10 @@ eth_poll() /************************************************************************** ETH_PIO_READ - Read a frame via Programmed I/O **************************************************************************/ -eth_pio_read(src, dst, cnt, init) +eth_pio_read(src, dst, cnt) unsigned short src; unsigned char *dst; unsigned short cnt; - int init; { if (cnt & 1) cnt++; outb(eth_nic_base + D8390_P0_COMMAND, D8390_COMMAND_RD2 | @@ -723,11 +722,10 @@ eth_pio_read(src, dst, cnt, init) /************************************************************************** ETH_PIO_WRITE - Write a frame via Programmed I/O **************************************************************************/ -eth_pio_write(src, dst, cnt, init) +eth_pio_write(src, dst, cnt) unsigned char *src; unsigned short dst; unsigned short cnt; - int init; { outb(eth_nic_base + D8390_P0_COMMAND, D8390_COMMAND_RD2 | D8390_COMMAND_STA);