nvme: move struct pci_id into nvme_internal.h
This doesn't need to be part of the public API. It is only used by the NVMe quirk lookup tables. Change-Id: I7662e333c70b7c5f814bd7c8a528b6bff1f0732e Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
parent
aae6ee8c80
commit
87844a30ef
@ -38,11 +38,4 @@
|
||||
|
||||
#define PCI_VENDOR_ID_INTEL 0x8086
|
||||
|
||||
struct pci_id {
|
||||
uint16_t vendor_id;
|
||||
uint16_t dev_id;
|
||||
uint16_t sub_vendor_id;
|
||||
uint16_t sub_dev_id;
|
||||
};
|
||||
|
||||
#endif /* __PCI_IDS_H__ */
|
||||
|
@ -366,6 +366,13 @@ struct nvme_driver {
|
||||
TAILQ_HEAD(, nvme_controller) attached_ctrlrs;
|
||||
};
|
||||
|
||||
struct pci_id {
|
||||
uint16_t vendor_id;
|
||||
uint16_t dev_id;
|
||||
uint16_t sub_vendor_id;
|
||||
uint16_t sub_dev_id;
|
||||
};
|
||||
|
||||
extern struct nvme_driver g_nvme_driver;
|
||||
|
||||
#define nvme_min(a,b) (((a)<(b))?(a):(b))
|
||||
|
Loading…
Reference in New Issue
Block a user