[Linux-ia64] [PATCH] 2.5 new IOC recognition

From: Bjorn Helgaas <bjorn_helgaas_at_hp.com>
Date: 2003-04-26 02:43:04
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


diff -u -ur linux-2.5.67-ia64-030416-io4/arch/ia64/hp/common/sba_iommu.c linux-2.5.67-ia64-030416-io5/arch/ia64/hp/common/sba_iommu.c
--- linux-2.5.67-ia64-030416-io4/arch/ia64/hp/common/sba_iommu.c	2003-04-24 10:10:58.000000000 -0600
+++ linux-2.5.67-ia64-030416-io5/arch/ia64/hp/common/sba_iommu.c	2003-04-24 16:29:11.000000000 -0600
@@ -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
diff -u -ur linux-2.5.67-ia64-030416-io4/include/linux/pci_ids.h linux-2.5.67-ia64-030416-io5/include/linux/pci_ids.h
--- linux-2.5.67-ia64-030416-io4/include/linux/pci_ids.h	2003-04-24 10:10:58.000000000 -0600
+++ linux-2.5.67-ia64-030416-io5/include/linux/pci_ids.h	2003-04-24 16:30:23.000000000 -0600
@@ -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
 
Received on Fri Apr 25 09:43:19 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST