2.5 new IOC recognition
PATCH 1/1 2.5 new IOC recognition
This is a trivial patch that makes sba_iommu recognize a new IOC. Only change is that it will print
IOC: sx1000 0.1 HPA 0xf8120002000 IOVA space 1024Mb at 0x80000000
instead of
IOC: Unknown (103c:127c) 0.1 HPA 0xf8120002000 IOVA space 1024Mb at 0x80000000
Bjorn
arch/ia64/hp/common/sba_iommu.c +2 -0
@@ -134,6 +134,7 @@#define ZX1_IOC_ID ((PCI_DEVICE_ID_HP_ZX1_IOC << 16) | PCI_VENDOR_ID_HP)#define REO_IOC_ID ((PCI_DEVICE_ID_HP_REO_IOC << 16) | PCI_VENDOR_ID_HP) +#define SX1000_IOC_ID ((PCI_DEVICE_ID_HP_SX1000_IOC << 16) | PCI_VENDOR_ID_HP)#define ZX1_IOC_OFFSET 0x1000/* ACPI reports SBA, we want IOC */
@@ -1651,6 +1652,7 @@static struct ioc_iommu ioc_iommu_info[]__initdata = { {ZX1_IOC_ID ,"zx1" , ioc_zx1_init }, {REO_IOC_ID ,"REO" }, + {SX1000_IOC_ID ,"sx1000" }, }; static struct ioc * __init
include/linux/pci_ids.h +1 -0
@@ -606,6 +606,7 @@#define PCI_DEVICE_ID_HP_ZX1_SBA 0x1229#define PCI_DEVICE_ID_HP_ZX1_IOC 0x122a#define PCI_DEVICE_ID_HP_ZX1_LBA 0x122e +#define PCI_DEVICE_ID_HP_SX1000_IOC 0x127c#define PCI_DEVICE_ID_HP_DIVA_EVEREST 0x1282#define PCI_DEVICE_ID_HP_DIVA_AUX 0x1290