From 3798162e57c105e6cc9f90dbd03721d34bae2162 Mon Sep 17 00:00:00 2001 From: Brent Casavant Date: Wed, 3 May 2006 19:55:10 -0700 Subject: [PATCH] [PATCH] Altix: correct ioc4 port order Currently loading the ioc4 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: Brent Casavant Cc: Pat Gefre Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman Signed-off-by: Chris Wright --- drivers/sn/ioc4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/sn/ioc4.c b/drivers/sn/ioc4.c index ea75b3d0612..771e86810c1 100644 --- a/drivers/sn/ioc4.c +++ b/drivers/sn/ioc4.c @@ -313,7 +313,7 @@ ioc4_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) idd->idd_serial_data = NULL; pci_set_drvdata(idd->idd_pdev, idd); down_write(&ioc4_devices_rwsem); - list_add(&idd->idd_list, &ioc4_devices); + list_add_tail(&idd->idd_list, &ioc4_devices); up_write(&ioc4_devices_rwsem); /* Add this IOC4 to all submodules */ -- 2.34.1