mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-10 09:42:26 +00:00
Remove extraneous init parameter.
PR: kern/3595 Submitted by: Chiharu Shibata <chi@rd.njk.co.jp>
This commit is contained in:
parent
18de8a52e4
commit
1e915c361e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=28639
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user