Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Allen Briggs <briggs@netbsd.org>
List: source-changes
Date: 07/06/2007 18:52:53
Module Name:	src
Committed By:	briggs
Date:		Fri Jul  6 18:52:53 UTC 2007

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

Log Message:
Print an error and fail the sk_attach() if we have an unknown chip type
(instead of panicing).
Also check to see if we have a Yukon2 type, and if we do, complain about
that explicitly earlier (and still fail the attach, but refer to msk(4)).
It would be better if we didn't have Yukon2 devices match in the sk(4)
device table, but in case people change the hardware without changing
device IDs, we might as well catch it.


To generate a diff of this commit:
cvs rdiff -r1.39 -r1.40 src/sys/dev/pci/if_sk.c

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