Re: TODO list for ofppc

Matt Sealey <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
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 <[email protected]>
Genesi, Manager, Developer Relations
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.