Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 11/24/2004 15:14:13
Module Name:	src
Committed By:	briggs
Date:		Wed Nov 24 15:14:13 UTC 2004

Modified Files:
	src/sys/dev/pci: if_wm.c

Log Message:
The 8254x apparently doesn't respond well to I/O accesses at 0.  Do not
attempt to map the I/O BAR if it is 0.  This will have the side-effect
of causing the wm_reset() routine to fall back to memory BAR accesses
for those chips on which it would attempt I/O BAR accesses for the reset.

Also update the comments about why we attempt the I/O BAR accesses for
the reset in favor of the memory BAR accesses.


To generate a diff of this commit:
cvs rdiff -r1.87 -r1.88 src/sys/dev/pci/if_wm.c

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