blob: 4704a0c310d03fad8a94c6e3bc4a4881ea4022b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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 */
|