mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Doubled 'maxwait' to 200 (240us).
Submitted by: brian@mediacity.com (Brian Litzinger)
This commit is contained in:
parent
28fe6ad5e3
commit
caffd55fe6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=6742
@ -13,7 +13,7 @@
|
||||
* the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000,
|
||||
* and a variety of similar clones.
|
||||
*
|
||||
* $Id: if_ed.c,v 1.65 1995/01/23 19:06:06 davidg Exp $
|
||||
* $Id: if_ed.c,v 1.66 1995/02/25 15:56:00 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "ed.h"
|
||||
@ -2269,7 +2269,7 @@ ed_pio_writemem(sc, src, dst, len)
|
||||
unsigned short dst;
|
||||
unsigned short len;
|
||||
{
|
||||
int maxwait = 100; /* about 120us */
|
||||
int maxwait = 200; /* about 240us */
|
||||
|
||||
/* select page 0 registers */
|
||||
outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STA);
|
||||
@ -2315,7 +2315,7 @@ ed_pio_write_mbufs(sc, m, dst)
|
||||
{
|
||||
unsigned short total_len, dma_len;
|
||||
struct mbuf *mp;
|
||||
int maxwait = 100; /* about 120us */
|
||||
int maxwait = 200; /* about 240us */
|
||||
|
||||
/* First, count up the total number of bytes to copy */
|
||||
for (total_len = 0, mp = m; mp; mp = mp->m_next)
|
||||
|
@ -13,7 +13,7 @@
|
||||
* the SMC Elite Ultra (8216), the 3Com 3c503, the NE1000 and NE2000,
|
||||
* and a variety of similar clones.
|
||||
*
|
||||
* $Id: if_ed.c,v 1.65 1995/01/23 19:06:06 davidg Exp $
|
||||
* $Id: if_ed.c,v 1.66 1995/02/25 15:56:00 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "ed.h"
|
||||
@ -2269,7 +2269,7 @@ ed_pio_writemem(sc, src, dst, len)
|
||||
unsigned short dst;
|
||||
unsigned short len;
|
||||
{
|
||||
int maxwait = 100; /* about 120us */
|
||||
int maxwait = 200; /* about 240us */
|
||||
|
||||
/* select page 0 registers */
|
||||
outb(sc->nic_addr + ED_P0_CR, ED_CR_RD2 | ED_CR_STA);
|
||||
@ -2315,7 +2315,7 @@ ed_pio_write_mbufs(sc, m, dst)
|
||||
{
|
||||
unsigned short total_len, dma_len;
|
||||
struct mbuf *mp;
|
||||
int maxwait = 100; /* about 120us */
|
||||
int maxwait = 200; /* about 240us */
|
||||
|
||||
/* First, count up the total number of bytes to copy */
|
||||
for (total_len = 0, mp = m; mp; mp = mp->m_next)
|
||||
|
Loading…
Reference in New Issue
Block a user