阅读:2373回复:0
有个问题请教:static struct pci_device_id 变量怎么赋值;
struct pci_device_id {
__u32 vendor, device; /* Vendor and device ID or PCI_ANY_ID*/ __u32 subvendor, subdevice; /* Subsystem ID's or PCI_ANY_ID */ __u32 class, class_mask; /* (class,subclass,prog-if) triplet */ kernel_ulong_t driver_data; /* Data private to the driver */ }; class_mask变量怎么赋值, class是该赋值成class code寄存器里的值么,driver_data是随便赋值吗 |
|