Commit 8683dc99 authored by Brent Casavant's avatar Brent Casavant Committed by Linus Torvalds

[PATCH] Altix: correct ioc4 port order

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: default avatarBrent Casavant <bcasavan@sgi.com>
Cc: Pat Gefre <pfg@sgi.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 96941026
...@@ -310,7 +310,7 @@ ioc4_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) ...@@ -310,7 +310,7 @@ ioc4_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id)
pci_set_drvdata(idd->idd_pdev, idd); pci_set_drvdata(idd->idd_pdev, idd);
mutex_lock(&ioc4_mutex); mutex_lock(&ioc4_mutex);
list_add(&idd->idd_list, &ioc4_devices); list_add_tail(&idd->idd_list, &ioc4_devices);
/* Add this IOC4 to all submodules */ /* Add this IOC4 to all submodules */
list_for_each_entry(is, &ioc4_submodules, is_list) { list_for_each_entry(is, &ioc4_submodules, is_list) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment