Messages in this thread | | | Date | Tue, 14 Sep 2004 04:21:25 +0200 | From | Tonnerre <> | Subject | Re: [RFT 2.6.9-rc1 alpha sys_sio.c] [2/2] convert pci_find_device to pci_get_device |
| |
Salut,
On Mon, Sep 13, 2004 at 07:02:22PM -0700, Richard Henderson wrote: > On Tue, Sep 14, 2004 at 02:29:33AM +0200, Tonnerre wrote: > > > - while ((dev = pci_find_device(PCI_VENDOR_ID_NCR, PCI_ANY_ID, dev))) { > > > + while ((dev = pci_get_device(PCI_VENDOR_ID_NCR, PCI_ANY_ID, dev))) { > > > if (dev->device == PCI_DEVICE_ID_NCR_53C810 > > > || dev->device == PCI_DEVICE_ID_NCR_53C815 > > > || dev->device == PCI_DEVICE_ID_NCR_53C820 > > > > Don't we need to put these devices in some place? > > pci_get_device does that for non-null "from" argument.
I was talking about pci_put_device(dev)..
Tonnerre [unhandled content-type:application/pgp-signature] | |