~kris/9p

9hist

84d4213a25e619f99bbe1a12c0d7a5bef00b9860 — David du Colombier 24 years ago 04f457b
Plan 9 from Bell Labs 2002-06-16
2 files changed, 5 insertions(+), 1 deletions(-)

M bitsy/etherwavelan.c
M pc/wavelan.c
M bitsy/etherwavelan.c => bitsy/etherwavelan.c +1 -1
@@ 35,7 35,7 @@ wavelanpcmciareset(Ether *ether)
	iunlock(ctlr);
	return 0;
}
	

void
etherwavelanlink(void)
{

M pc/wavelan.c => pc/wavelan.c +4 -0
@@ 1075,6 1075,10 @@ wavelanreset(Ether* ether, Ctlr *ctlr)
	ctlr->signal = 1;
	ctlr->noise = 1;

	// free old Ctlr struct if resetting after suspend
	if (ether->ctlr)
		free(ether->ctlr);

	// link to ether
	ether->ctlr = ctlr;
	ether->mbps = 10;