Subject: CVS commit: src/sys/dev
To: None <source-changes@NetBSD.org>
From: David Young <dyoung@netbsd.org>
List: source-changes
Date: 01/02/2008 23:11:34
Module Name:	src
Committed By:	dyoung
Date:		Wed Jan  2 23:11:34 UTC 2008

Modified Files:
	src/sys/dev/cardbus: cardbusvar.h
	src/sys/dev/pci: pccbb.c

Log Message:
Introduce a struct cardbus_chipset_tag, and make cardbus_chipset_tag_t
a pointer to that struct, so that we cannot assign pointers of
arbitrary type to cardbus_chipset_tag_t.  Tweak cbb(4) to accomodate
this change.

Make Cardbus_conf_read() and Carbus_conf_write() pass the right
arguments to cardbus_functions->cardbus_conf_{read,write}() for a
change.

Let's hope this stops the crash in cardbus_function_enable() that
macallan@ reported to me.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 src/sys/dev/cardbus/cardbusvar.h
cvs rdiff -r1.159 -r1.160 src/sys/dev/pci/pccbb.c

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