Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: Stephen M. Rumble <rumble@netbsd.org>
List: source-changes
Date: 04/06/2007 18:16:29
Module Name:	src
Committed By:	rumble
Date:		Fri Apr  6 18:16:29 UTC 2007

Modified Files:
	src/sys/dev/ic: anreg.h
	src/sys/dev/pci: if_an_pci.c

Log Message:
If we fail to attach, use the size determined by pci_mapreg_map() rather
than a constant, since this will be incorrect on some chips (MPI350) and
lead to a panic.


To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 src/sys/dev/ic/anreg.h
cvs rdiff -r1.21 -r1.22 src/sys/dev/pci/if_an_pci.c

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