~kris/9p

9hist

333d70b50cecc420de94753a2d3333ab5ae017ac — David du Colombier 25 years ago 277a84a
Plan 9 from Bell Labs 2000-12-29
1 files changed, 1 insertions(+), 6 deletions(-)

M pc/apm.c
M pc/apm.c => pc/apm.c +1 -6
@@ 97,13 97,8 @@ static long
apmwrite(Chan*, void *a, long n, vlong off)
{
	int s;
	if(off || n != sizeof apmu){
//		if(n == 5 && strncmp(a, "ether", 5) == 0){
//			ether589reset();
//			return 5;
//		}
	if(off || n != sizeof apmu)
		error("write a Ureg");
	}

	memmove(&apmu, a, sizeof apmu);
	s = splhi();