Frank Wille wrote:
Tim Rightnour wrote:5) fix viaide on pegasos.Matt Sealey just refered to a Linux patch which resets the native-mode bits in the PCI_CLASS_REG interface-part. Is there a possibility we could do the same in a clean way? Is there any MD callback when attaching devices on the PCI bus?
Does NetBSD have a "pci fixups" feature like Linux does? That's the way we're doing it on Linux.. it's required for a hell of a lot of devices on a hell of a lot of PCs which are misconfigured in the BIOS or have buggy chips - just a few little tweaks here and there before drivers attach. You can at least do this stuff from the firmware - it's real easy since you know how you did configuration access through the northbridge, just use c/w/l@ and c/w/l! as you see fit. Fixing the class-code property is just as easy.. -- Matt Sealey <matt%genesi-usa.com@localhost> Genesi, Manager, Developer Relations