mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-17 16:10:46 +01:00
Fixed rather serious bug where the interface wasn't started after it was
stopped in ed_setrcr(). I'm amazed that the driver worked at all. Thanks to John Hay for pointing this out.
This commit is contained in:
parent
540bb26ac5
commit
41ec615889
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4558
@ -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.54 1994/10/23 21:27:16 wollman Exp $
|
||||
* $Id: if_ed.c,v 1.55 1994/11/13 07:17:46 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "ed.h"
|
||||
@ -2509,6 +2509,11 @@ ed_setrcr(ifp, sc)
|
||||
outb(sc->nic_addr + ED_P0_RCR, ED_RCR_AB);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Start interface.
|
||||
*/
|
||||
outb(sc->nic_addr + ED_P0_CR, sc->cr_proto | ED_CR_STA);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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.54 1994/10/23 21:27:16 wollman Exp $
|
||||
* $Id: if_ed.c,v 1.55 1994/11/13 07:17:46 davidg Exp $
|
||||
*/
|
||||
|
||||
#include "ed.h"
|
||||
@ -2509,6 +2509,11 @@ ed_setrcr(ifp, sc)
|
||||
outb(sc->nic_addr + ED_P0_RCR, ED_RCR_AB);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Start interface.
|
||||
*/
|
||||
outb(sc->nic_addr + ED_P0_CR, sc->cr_proto | ED_CR_STA);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user