Subject: Re: PCI and subsystem IDs.
To: Michael C. Richardson <mcr@sandelman.ottawa.on.ca>
From: Chris G. Demetriou <cgd@netbsd.org>
List: tech-kern
Date: 10/07/1998 10:10:38
"Michael C. Richardson" <mcr@sandelman.ottawa.on.ca> writes:
> >>>>> "Chris" == Chris G Demetriou <cgd@netbsd.org> writes:
>
>     Chris> In case it's not clear: they check them by digging the data out of
>     Chris> the configuration space header, and checking it.  8-)
> 
>   Can this be done in an MI way?

Of course; that's what the pci_conf_* functions are.  (In the long
run, they should become bus_space access functions, in my opinion, but
that's another issue...)

>   Is there an existing driver that does this?

Yup.  'puc' is in our tree, and does it.  I also know of a proprietary
driver for NetBSD which does.




cgd
-- 
Chris Demetriou - cgd@netbsd.org - http://www.netbsd.org/People/Pages/cgd.html
Disclaimer: Not speaking for NetBSD, just expressing my own opinion.