lkml.org 
[lkml]   [2017]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3.2 16/61] cs5536: add support for IDE controller variant
    3.2.96-rc1 review patch.  If anyone has any objections, please let me know.

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

    From: Andrey Korolyov <andrey@xdel.ru>

    commit 591b6bb605785c12a21e8b07a08a277065b655a5 upstream.

    Several legacy devices such as Geode-based Cisco ASA appliances
    and DB800 development board do possess CS5536 IDE controller
    with different PCI id than existing one. Using pata_generic is
    not always feasible as at least DB800 requires MSR quirk from
    pata_cs5536 to be used with vendor firmware.

    Signed-off-by: Andrey Korolyov <andrey@xdel.ru>
    Signed-off-by: Tejun Heo <tj@kernel.org>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    drivers/ata/pata_amd.c | 1 +
    drivers/ata/pata_cs5536.c | 1 +
    include/linux/pci_ids.h | 1 +
    3 files changed, 3 insertions(+)

    --- a/drivers/ata/pata_amd.c
    +++ b/drivers/ata/pata_amd.c
    @@ -617,6 +617,7 @@ static const struct pci_device_id amd[]
    { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP73_IDE), 8 },
    { PCI_VDEVICE(NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MCP77_IDE), 8 },
    { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CS5536_IDE), 9 },
    + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CS5536_DEV_IDE), 9 },

    { },
    };
    --- a/drivers/ata/pata_cs5536.c
    +++ b/drivers/ata/pata_cs5536.c
    @@ -275,6 +275,7 @@ static int cs5536_init_one(struct pci_de

    static const struct pci_device_id cs5536[] = {
    { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CS5536_IDE), },
    + { PCI_VDEVICE(AMD, PCI_DEVICE_ID_AMD_CS5536_DEV_IDE), },
    { },
    };

    --- a/include/linux/pci_ids.h
    +++ b/include/linux/pci_ids.h
    @@ -562,6 +562,7 @@
    #define PCI_DEVICE_ID_AMD_CS5536_EHC 0x2095
    #define PCI_DEVICE_ID_AMD_CS5536_UDC 0x2096
    #define PCI_DEVICE_ID_AMD_CS5536_UOC 0x2097
    +#define PCI_DEVICE_ID_AMD_CS5536_DEV_IDE 0x2092
    #define PCI_DEVICE_ID_AMD_CS5536_IDE 0x209A
    #define PCI_DEVICE_ID_AMD_LX_VIDEO 0x2081
    #define PCI_DEVICE_ID_AMD_LX_AES 0x2082
    \
     
     \ /
      Last update: 2017-11-22 04:06    [W:3.112 / U:0.544 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site