diff options
author | steve <steve@FreeBSD.org> | 1997-08-23 23:38:12 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-08-23 23:38:12 +0000 |
commit | c75d58a28c83f1cdf5f39f4c4e2fb22b04012fe1 (patch) | |
tree | 2ad116108688773d32d5b505d37ad9041aa05647 /sys | |
parent | 35fe8cb81f2e4382515b76b56810511ca2ee19ac (diff) | |
download | FreeBSD-src-c75d58a28c83f1cdf5f39f4c4e2fb22b04012fe1.zip FreeBSD-src-c75d58a28c83f1cdf5f39f4c4e2fb22b04012fe1.tar.gz |
Remove extraneous init parameter.
PR: kern/3595
Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/i386/boot/netboot/ns8390.c | 6 |
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); |