Patchwork [1/1] Add support for VT6330

login
register
mail settings
Submitter BruceChang@via.com.tw
Date Oct. 15, 2009, 10:06 a.m.
Message ID <62692B81D079DA49BA9287A3CDF6B41C9FD730@exchtp12.taipei.via.com.tw>
Download mbox | patch
Permalink /patch/36105/
State Rejected
Headers show

Comments

BruceChang@via.com.tw - Oct. 15, 2009, 10:06 a.m.
To whom it may concern:
    I would like to request to add support of VT6330 chipset in Ubuntu 9.10. VT6330 is similar to VT6415. 
The patch has been submitted for upstream at http://marc.info/?l=linux-ide&m=125559436426187&w=2. 
Following is the patch based on Ubuntu 9.10 beta(2.6.31-11). It's very simple, just extend the rev_max of VT6415.

Sign-off by Bruce Chang <BruceChang@via.com.tw>

Thanks and Best Regards
=================================================
Bruce C. Chang(張祖明)
VIA Technologies, Inc. 
Address: 1F, 531, Chung-Cheng Road, Hsin-Tien, 231 Taipei
Tel: +886-2-22185452 Ext 7323
Mobile: +886-968343824
Fax: +886-2-22186282
Skype: Bruce.C.Chang
Email: BruceChang@via.com.tw
Tim Gardner - Oct. 15, 2009, 1:16 p.m.
BruceChang@via.com.tw wrote:
> To whom it may concern:
>     I would like to request to add support of VT6330 chipset in Ubuntu 9.10. VT6330 is similar to VT6415. 
> The patch has been submitted for upstream at http://marc.info/?l=linux-ide&m=125559436426187&w=2. 
> Following is the patch based on Ubuntu 9.10 beta(2.6.31-11). It's very simple, just extend the rev_max of VT6415.
> 
> Sign-off by Bruce Chang <BruceChang@via.com.tw>
> --- a/drivers/ata/pata_via.c 2009-10-15 17:23:53.542707104 +0800
> +++ b/drivers/ata/pata_via.c 2009-10-15 17:24:10.742768910 +0800
> @@ -111,7 +111,7 @@
>         { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
>         { "cx700", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_SATA_PATA },
>         { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES },
> - { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES },
> + { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0xff, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES },
>         { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
>         { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
>         { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
> 

Bruce - you should also send this patch to stable@kernel.org because I
noticed that your original email to LKML did not contain a 'Cc:
stable@kernel.org'

Patch

--- a/drivers/ata/pata_via.c 2009-10-15 17:23:53.542707104 +0800

+++ b/drivers/ata/pata_via.c 2009-10-15 17:24:10.742768910 +0800

@@ -111,7 +111,7 @@ 

        { "vt8251", PCI_DEVICE_ID_VIA_8251, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
        { "cx700", PCI_DEVICE_ID_VIA_CX700, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_SATA_PATA },
        { "vt6410", PCI_DEVICE_ID_VIA_6410, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES },
- { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES },

+ { "vt6415", PCI_DEVICE_ID_VIA_6415, 0x00, 0xff, VIA_UDMA_133 | VIA_BAD_AST | VIA_NO_ENABLES },

        { "vt8237a", PCI_DEVICE_ID_VIA_8237A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
        { "vt8237", PCI_DEVICE_ID_VIA_8237, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },
        { "vt8235", PCI_DEVICE_ID_VIA_8235, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST },