5 Copyright © 2003-2013, The AROS Development Team. All rights reserved.
10 #include <exec/types.h>
14 #include <hidd/hidd.h>
21 #ifndef UTILITY_HOOKS_H
22 #include <utility/hooks.h>
25 #ifndef UTILITY_TAGITEM_H
26 #include <utility/tagitem.h>
31 #define CLID_Hidd_PCI "hidd.pci"
33 #include <interface/Hidd_PCI.h>
35 /* Tags for EnumDevices method */
38 tHidd_PCI_VendorID
= TAG_USER
,
44 tHidd_PCI_SubsystemVendorID
,
45 tHidd_PCI_SubsystemID
,
49 /* PCI device class */
50 #include <interface/Hidd_PCIDevice.h>
52 /* ABIv0 compatability */
53 #define __IHidd_PCIDev __IHidd_PCIDevice
55 #define IS_PCIDEV_ATTR(attr, idx) \
56 (((idx) = (attr) - HiddPCIDeviceAttrBase) < num_Hidd_PCIDevice_Attrs)
58 /* Types of BaseAddresses */
60 #define ADDRB_PREFETCH 3
62 #define ADDRF_IO (1 << ADDRB_IO)
63 #define ADDRF_PREFETCH (1 << ADDRB_PREFETCH)
65 /* PCI driver class */
67 #define CLID_Hidd_PCIDriver "hidd.pci.driver"
69 #include <interface/Hidd_PCIDriver.h>
71 /* ABIv0 compatability */
72 #define __IHidd_PCIDrv __IHidd_PCIDriver
74 #define IS_PCIDRV_ATTR(attr, idx) \
75 (((idx) = (attr) - HiddPCIDriverAttrBase) < num_Hidd_PCIDriver_Attrs)