summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-08-25 08:15:14 +0000
committerkato <kato@FreeBSD.org>1997-08-25 08:15:14 +0000
commit4f0bf4df0d46d1557f180ed1cb6414378f4a366f (patch)
treebd1876dcc1b380ae6ca2df02dad6beb3830ad91e /sys/pc98
parent55ba1a93b942a8056a8829883d191508e4a69dd6 (diff)
downloadFreeBSD-src-4f0bf4df0d46d1557f180ed1cb6414378f4a366f.zip
FreeBSD-src-4f0bf4df0d46d1557f180ed1cb6414378f4a366f.tar.gz
Synchronize with sys/i386/boot/netboot/ns8390.c revision 1.12.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/boot/netboot/ns8390.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/pc98/boot/netboot/ns8390.c b/sys/pc98/boot/netboot/ns8390.c
index 73f21d8..f1d985f 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);
OpenPOWER on IntegriCloud