Messages in this thread Patch in this message | | | From | Pat Gefre <> | Subject | [PATCH] 2.6 Altix : correct ioc3 port order | Date | Fri, 28 Apr 2006 14:31:11 -0500 (CDT) |
| |
Currently loading the ioc3 as a module will cause the ports to be numbered in reverse order. This mod maintains the proper order of cards for port numbering.
Signed-off-by: Patrick Gefre <pfg@sgi.com>
Index: linux-2.6/drivers/sn/ioc3.c =================================================================== --- linux-2.6.orig/drivers/sn/ioc3.c 2006-04-28 13:56:38.000000000 -0500 +++ linux-2.6/drivers/sn/ioc3.c 2006-04-28 14:20:37.919756143 -0500 @@ -678,7 +678,7 @@ /* Track PCI-device specific data */ pci_set_drvdata(pdev, idd); down_write(&ioc3_devices_rwsem); - list_add(&idd->list, &ioc3_devices); + list_add_tail(&idd->list, &ioc3_devices); idd->id = ioc3_counter++; up_write(&ioc3_devices_rwsem); - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |