[PATCH 01/11] Altix: correct ioc4 port order

From: Chris Wright
Date: Fri Jun 02 2006 - 15:50:35 EST


-stable review patch. If anyone has any objections, please let us know.
------------------

From: Brent Casavant <bcasavan@xxxxxxx>

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 <bcasavan@xxxxxxx>
Cc: Pat Gefre <pfg@xxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
Signed-off-by: Linus Torvalds <torvalds@xxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
Signed-off-by: Chris Wright <chrisw@xxxxxxxxxxxx>

---

drivers/sn/ioc4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-2.6.16.19.orig/drivers/sn/ioc4.c
+++ linux-2.6.16.19/drivers/sn/ioc4.c
@@ -313,7 +313,7 @@ ioc4_probe(struct pci_dev *pdev, const s
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 */

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/