Ignore:
Timestamp:
Sep 1, 2024, 10:57:46 AM (11 months ago)
Author:
Paul Smedley
Message:

Update source to 6.1.107

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-exp/include/linux/pci.h

    r753 r760  
    794794#define for_each_pci_dev(d) while ((d = pci_get_device(PCI_ANY_ID, PCI_ANY_ID, d)) != NULL)
    795795
     796/**
     797 * PCI_DEVICE_DATA - macro used to describe a specific PCI device in very short form
     798 * @vend: the vendor name (without PCI_VENDOR_ID_ prefix)
     799 * @dev: the device name (without PCI_DEVICE_ID_<vend>_ prefix)
     800 * @data: the driver data to be filled
     801 *
     802 * This macro is used to create a struct pci_device_id that matches a
     803 * specific PCI device.  The subvendor, and subdevice fields will be set
     804 * to PCI_ANY_ID.
     805 */
     806#define PCI_DEVICE_DATA(vend, dev, data) \
     807        .vendor = PCI_VENDOR_ID_##vend, .device = PCI_DEVICE_ID_##vend##_##dev, \
     808        .subvendor = PCI_ANY_ID, .subdevice = PCI_ANY_ID, 0, 0, \
     809        .driver_data = (unsigned long)(data)
     810
    796811#endif /* LINUX_PCI_H */
Note: See TracChangeset for help on using the changeset viewer.