Tim Waugh (tim@cyberelk.demon.co.uk)
Tue, 19 Jan 1999 21:53:37 +0000 (GMT)
On Tue, 19 Jan 1999, Alan Cox wrote:
> One to add to the parport code. A simple probe list for pci ports is
> fairly easy to add fortunately. I can throw you boilerplate code if you
> actually need it
Would it be something like this? (I'm only glancing at pci.h)
struct pci_dev *dev = pci_find_device (0x1407, 0x8000, pci_devices);
while (dev) {
/* probe io=dev->base_address[0] irq=dev->irq */
dev = pci_find_device (0x1407, 0x8000, dev);
}
Tim.
*/
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2.0b3 on Tue 19 Jan 1999 - 16:57:28 EST