Re: PCI Device Enumeration
"Shawn Betts" <[email protected]> Fri, 27 Apr 2007 15:52:09 -0700
| Newsgroups | gmane.lisp.movitz.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin, I don't wanna burst bubbles here, but, I would be more interested to see a PCI device driver written. Even the simplest one would do...How they get initialized sorta seems maybe secondary to the Meat of the matter :). -Shawn On 4/27/07, M Bealby <[email protected]> wrote: > > Hey all, > > I've been thinking about device drivers (again) and I'm wondering what > thoughts > people have on PCI device enumeration? > > Devices are identified through two identifiers (vendor ID, device ID) > supplied > from each card to the PCI controller. Movitz can already read these > identifiers (see scan-pci-bus). > > As far as I can see, there are two approaches we can take here. We either > have > each driver read all the PCI identifiers and initialize devices upon a > match, > or we have a 'driver loader' which will parse the pci identifiers once and > load > the relevant drivers. Personally I'm tending towards the latter, but I > would > welcome anyones thoughts. > > Martin > _______________________________________________ > movitz-devel site list > [email protected] > http://common-lisp.net/mailman/listinfo/movitz-devel >