lkml.org 
[lkml]   [2006]   [Jun]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 02/11] Altix: correct ioc3 port order
    -stable review patch.  If anyone has any objections, please let us know.
    ------------------

    From: Pat Gefre <pfg@sgi.com>

    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>

    ---

    drivers/sn/ioc3.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- linux-2.6.16.19.orig/drivers/sn/ioc3.c
    +++ linux-2.6.16.19/drivers/sn/ioc3.c
    @@ -677,7 +677,7 @@ static int ioc3_probe(struct pci_dev *pd
    /* 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);

    --
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2006-06-02 21:49    [W:0.022 / U:0.344 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site