summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Casavant <bcasavan@sgi.com>2006-05-03 19:55:10 -0700
committerChris Wright <chrisw@sous-sol.org>2006-06-05 10:18:12 -0700
commit3798162e57c105e6cc9f90dbd03721d34bae2162 (patch)
tree4cea3084b95bcf408635352ad5edab3645418ee2
parentb743097c4ea35a8c8b19b8c069dfb5eba2c0e817 (diff)
[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 <bcasavan@sgi.com> Cc: Pat Gefre <pfg@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: Chris Wright <chrisw@sous-sol.org>
-rw-r--r--drivers/sn/ioc4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sn/ioc4.c b/drivers/sn/ioc4.c
index ea75b3d0612b..771e86810c11 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 */