[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>
This commit is contained in:
committed by
Chris Wright
parent
b743097c4e
commit
3798162e57
+1
-1
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user