Changeset c1c37a1 in rtems for cpukit/libpci/pci_find.c


Ignore:
Timestamp:
Apr 7, 2015, 12:25:49 PM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
d5ca821
Parents:
56ea46ba
git-author:
Daniel Hellstrom <daniel@…> (04/07/15 12:25:49)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:26)
Message:

LIBPCI: converted to BSD header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libpci/pci_find.c

    r56ea46ba rc1c37a1  
    2222        uint16_t vid, did;
    2323
    24         pci_cfg_r16(pcidev, PCI_VENDOR_ID, &vid);
    25         pci_cfg_r16(pcidev, PCI_DEVICE_ID, &did);
     24        pci_cfg_r16(pcidev, PCIR_VENDOR, &vid);
     25        pci_cfg_r16(pcidev, PCIR_DEVICE, &did);
    2626        if ((vid != info->vendor) || (did != info->device))
    2727                return 0;
Note: See TracChangeset for help on using the changeset viewer.