[openib-general] [PATCH] register mthca for sinai device id

Michael S. Tsirkin mst at mellanox.co.il
Tue Mar 8 07:58:02 PST 2005


Now that memfree support is merged to trunk, register mthca for
MT25204 device ids. Use numeric values to make it work on 2.6.11,
until the symbolic names make it upstream.

With this and previous patch in place, ip over ib now seems to work for
me on MT25204.

Signed-off-by: Michael S. Tsirkin <mst at mellanox.co.il>

Index: mthca_main.c
===================================================================
--- mthca_main.c	(revision 1964)
+++ mthca_main.c	(working copy)
@@ -1094,6 +1094,10 @@ static struct pci_device_id mthca_pci_ta
 	  .driver_data = ARBEL_NATIVE },
 	{ PCI_DEVICE(PCI_VENDOR_ID_TOPSPIN, PCI_DEVICE_ID_MELLANOX_ARBEL),
 	  .driver_data = ARBEL_NATIVE },
+	{ PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, 0x5e8c), /* Sinai old */
+	  .driver_data = ARBEL_NATIVE },
+	{ PCI_DEVICE(PCI_VENDOR_ID_MELLANOX, 0x6274), /* Sinai */
+	  .driver_data = ARBEL_NATIVE },
 	{ 0, }
 };
 

-- 
MST - Michael S. Tsirkin



More information about the general mailing list