Skip to content

Commit

Permalink
[PATCH] Altix: correct ioc4 port order
Browse files Browse the repository at this point in the history
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: Brent Casavant <[email protected]>
Cc: Pat Gefre <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Brent Casavant authored and Linus Torvalds committed May 4, 2006
1 parent 9694102 commit 8683dc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sn/ioc4.c
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ ioc4_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id)
pci_set_drvdata(idd->idd_pdev, idd);

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 */
list_for_each_entry(is, &ioc4_submodules, is_list) {
Expand Down

0 comments on commit 8683dc9

Please sign in to comment.