diff options
Diffstat (limited to 'hw/xfree86/scanpci/xf86PciStr.h')
-rw-r--r-- | hw/xfree86/scanpci/xf86PciStr.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/hw/xfree86/scanpci/xf86PciStr.h b/hw/xfree86/scanpci/xf86PciStr.h new file mode 100644 index 000000000..4704a0c31 --- /dev/null +++ b/hw/xfree86/scanpci/xf86PciStr.h @@ -0,0 +1,41 @@ +/* $XFree86: xc/programs/Xserver/hw/xfree86/scanpci/xf86PciStr.h,v 1.1 2002/07/15 20:46:04 dawes Exp $ */ + +/* + * Copyright © 2002 by The XFree86 Project, Inc + */ + +/* + * Structs used to hold the pre-parsed pci.ids data. These are private + * to the scanpci and pcidata modules. + */ + +#ifndef _XF86_PCISTR_H +#define _XF86_PCISTR_H + +typedef struct { + unsigned short VendorID; + unsigned short SubsystemID; + const char *SubsystemName; + unsigned short class; +} pciSubsystemInfo; + +typedef struct { + unsigned short DeviceID; + const char *DeviceName; + const pciSubsystemInfo **Subsystem; + unsigned short class; +} pciDeviceInfo; + +typedef struct { + unsigned short VendorID; + const char *VendorName; + const pciDeviceInfo **Device; +} pciVendorInfo; + +typedef struct { + unsigned short VendorID; + const char *VendorName; + const pciSubsystemInfo **Subsystem; +} pciVendorSubsysInfo; + +#endif /* _XF86_PCISTR_H */ |