|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCH] plat/common: PCI bus probes the device identifier
Looks good. Thanks! Reviewed-by: Simon Kuenzer <simon.kuenzer@xxxxxxxxx> On 01.10.2018 16:18, Sharan Santhanam wrote: While probing the devices on the pci bus, the device identifier are read from the configuration space. The pci device is identified with * class_id * vendor_id * device_id * subsystem_id * subsystemvendor_id Signed-off-by: Sharan Santhanam <sharan.santhanam@xxxxxxxxx> --- plat/common/pci_bus.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/plat/common/pci_bus.c b/plat/common/pci_bus.c index c653e81..71713c9 100644 --- a/plat/common/pci_bus.c +++ b/plat/common/pci_bus.c @@ -80,6 +80,22 @@ static struct pci_bus_handler ph; #define PCI_DEVICE_SHIFT (11) #define PCI_ENABLE_BIT (1 << 31)+#define PCI_CONF_CLASS_ID (0x08) _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |