lkml.org 
[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[156/156] pata_via: fix VT6410/6415/6330 detection issue
    2.6.33-stable review patch.  If anyone has any objections, please let us know.

    ------------------

    From: JosephChan@via.com.tw <JosephChan@via.com.tw>

    commit bc8a67386fd462914269fa93446e1891955a8bb3 upstream.

    When using VT6410/6415/6330 chips on some VIA's platforms, the HDD
    connection to VT6410/6415/6330 cannot be detected.

    It is because the driver detects wrong via_isa_bridge ID, and then
    causes this issue to happen.

    Signed-off-by: Joseph Chan <josephchan@via.com.tw>
    Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/ata/pata_via.c | 4 ++++
    1 file changed, 4 insertions(+)

    --- a/drivers/ata/pata_via.c
    +++ b/drivers/ata/pata_via.c
    @@ -588,6 +588,10 @@ static int via_init_one(struct pci_dev *
    u8 rev = isa->revision;
    pci_dev_put(isa);

    + if ((id->device == 0x0415 || id->device == 0x3164) &&
    + (config->id != id->device))
    + continue;
    +
    if (rev >= config->rev_min && rev <= config->rev_max)
    break;
    }



    \
     
     \ /
      Last update: 2010-03-31 01:51    [W:5.233 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site