Skip to content

Commit

Permalink
[PATCH] Altix: correct ioc3 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: Patrick Gefre <pfg@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
  • Loading branch information
Pat Gefre authored and Linus Torvalds committed May 2, 2006
1 parent 4c28f81 commit 2c43630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sn/ioc3.c
Original file line number Diff line number Diff line change
@@ -678,7 +678,7 @@ static int ioc3_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id)
/* Track PCI-device specific data */
pci_set_drvdata(pdev, idd);
down_write(&ioc3_devices_rwsem);
list_add(&idd->list, &ioc3_devices);
list_add_tail(&idd->list, &ioc3_devices);
idd->id = ioc3_counter++;
up_write(&ioc3_devices_rwsem);

0 comments on commit 2c43630

Please sign in to comment.