Subject: PCI setup problem
To: None <tech-kern@netbsd.org>
From: Lennart Augustsson <augustss@cs.chalmers.se>
List: tech-kern
Date: 08/05/1998 10:23:30
I'm trying to integrate the OpenBSD S3 SonicVibes sound card driver
into NetBSD. (Andreas Gustafsson, gson@araneus.fi, got it running.)
It does something rather weird and ugly (in my mind).
The problem is that the card uses some special purpose PCI mapping
registers (0x40 and 0x48) outside the standard range.
These registers need to be set to a free I/O range, since the BIOS
doesn't do it.
Is there a way to do this nicely?
You can't really allocate the range in the attach routine since
that might interfere with other cards that have not been attached yet.
Perhaps config_defer() would do the trick?
-- Lennart