diff options
| author | Steve Price <steve@FreeBSD.org> | 1997-08-23 23:38:12 +0000 |
|---|---|---|
| committer | Steve Price <steve@FreeBSD.org> | 1997-08-23 23:38:12 +0000 |
| commit | 1e915c361efb9201ff291318b8554609bd940035 (patch) | |
| tree | f36353e6dc8e764b65bc4ebcbdf89b2dbdaf5da7 | |
| parent | 18de8a52e4dd06acce61a5576ba3480660f24778 (diff) | |
Notes
| -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 22f78fcbbcdb..3071a8aa6508 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); |
