Subject: CVS commit: syssrc
To: None <source-changes@netbsd.org>
From: Lennart Augustsson <augustss@netbsd.org>
List: source-changes
Date: 05/08/2000 07:00:06
Module Name: syssrc
Committed By: augustss
Date: Mon May 8 14:00:05 UTC 2000
Modified Files:
syssrc/sys/dev/cardbus: rbus.c
Log Message:
KNF the code and fix three bugs:
* If a non-zero addr was given to rbus_space_alloc_subregion() it would
claim to have allocated region when in fact it just failed.
* If a non-zero addr was given to rbus_space_alloc_subregion() allocation
often (always?) failed when it shouldn't.
* One part of rbus_space_alloc_subregion() used an alignment that always
made the kernel panic.
I'm not sure if my change is correct, because I don't know what this code
is supposed to do. But now I can use a 3c562 card.
To generate a diff of this commit:
cvs rdiff -r1.3 -r1.4 syssrc/sys/dev/cardbus/rbus.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.