summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1997-08-23 23:38:12 +0000
committersteve <steve@FreeBSD.org>1997-08-23 23:38:12 +0000
commitc75d58a28c83f1cdf5f39f4c4e2fb22b04012fe1 (patch)
tree2ad116108688773d32d5b505d37ad9041aa05647
parent35fe8cb81f2e4382515b76b56810511ca2ee19ac (diff)
downloadFreeBSD-src-c75d58a28c83f1cdf5f39f4c4e2fb22b04012fe1.zip
FreeBSD-src-c75d58a28c83f1cdf5f39f4c4e2fb22b04012fe1.tar.gz
Remove extraneous init parameter.
PR: kern/3595 Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
-rw-r--r--sys/i386/boot/netboot/ns8390.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/i386/boot/netboot/ns8390.c b/sys/i386/boot/netboot/ns8390.c
index 22f78fc..3071a8a 100644
--- a/sys/i386/boot/netboot/ns8390.c
+++ b/sys/i386/boot/netboot/ns8390.c
@@ -598,11 +598,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 |
@@ -629,11 +628,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