Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@netbsd.org>
From: None <dyoung@netbsd.org>
List: source-changes
Date: 05/13/2003 06:33:41
Module Name:	src
Committed By:	dyoung
Date:		Tue May 13 06:33:41 UTC 2003

Modified Files:
	src/sys/dev/ic: wi.c wivar.h

Log Message:
Misc changes to wi_stop. First, block interrupts in wi_stop. (From
FreeBSD.)

Fix a bug in wi_stop where ejecting from the Powerbook crashes the
system. Essentially, the patch makes sure we write *no* registers
when we are no longer attached.

Also, for consistency w/ FreeBSD, use sc_portnum throughout wi,
instead of hard-coding WI_PORT0 .


To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 src/sys/dev/ic/wi.c
cvs rdiff -r1.30 -r1.31 src/sys/dev/ic/wivar.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.