Subject: pci_attach_hook() tweaks
To: None <port-ofppc@netbsd.org>
From: Toru Nishimura <locore64@alkyltechnology.com>
List: port-ofppc
Date: 11/28/2007 11:41:51
Frank Wille asked;

>> 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?

Yes, there is the way.  However, real question here is whether the VIA
SB does emit a real PCI interrupt out of internal PCIIDE, isn't it?

Toru Nishimura / ALKYL Technology