Re: Replacement for pci_for_each_dev()?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Timur Tabi (timur.tabi@xxxxxxxxxxx) wrote:
> I have a driver that uses the macro pci_for_each_dev, which no longer 
> exists in the 2.6 kernel.  What do I use in 2.6?

_Please _ read docs ;-) linux-2.6.x/Documentation/pci.txt:

[...]
pci_for_each_dev()              Superseded by pci_find_device()
pci_for_each_dev_reverse()      Superseded by pci_find_device_reverse()
[...]

HTH
-- 
Amicalement/Regards
Christophe

-----------------------------------------------------------------
Christophe Lucas <c.lucas@xxxxxxxxxxx>         developer/sysadmin
Registered User #271267              http://odie.mcom.fr/~clucas/
RotomaLUG member (http://www.rotomalug.org)   gpg dsa: 0x1E87C874
-----------------------------------------------------------------

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux