diff options
author | Pat Gefre <pfg@sgi.com> | 2006-05-01 12:16:08 -0700 |
---|---|---|
committer | Chris Wright <chrisw@sous-sol.org> | 2006-06-05 10:18:12 -0700 |
commit | 3e211bbe2295ff89490f01d54c6300a8a58fac7c (patch) | |
tree | 9c56b85e52e0eb924c62bf60e7f491bf2475e486 /drivers | |
parent | 3798162e57c105e6cc9f90dbd03721d34bae2162 (diff) | |
download | lwn-3e211bbe2295ff89490f01d54c6300a8a58fac7c.tar.gz lwn-3e211bbe2295ff89490f01d54c6300a8a58fac7c.zip |
[PATCH] Altix: correct ioc3 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: Patrick 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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sn/ioc3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sn/ioc3.c b/drivers/sn/ioc3.c index 93449a1a0065..4bd05a007224 100644 --- a/drivers/sn/ioc3.c +++ b/drivers/sn/ioc3.c @@ -677,7 +677,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); |