Bugzilla – Attachment 69727 Details for
Bug 152724
via vt6410 not supported in kernel 2.6.13-15
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
[patch]
via6410 patch
via6410.patch (text/plain), 2.97 KB, created by
Danny van der Meeren
on 2006-02-22 10:28:27 UTC
(
hide
)
Description:
via6410 patch
Filename:
MIME Type:
Creator:
Danny van der Meeren
Created:
2006-02-22 10:28:27 UTC
Size:
2.97 KB
patch
obsolete
>*** drivers/ide/pci/via82cxxx.orig 2006-02-21 13:43:31.000000000 +0100 >--- drivers/ide/pci/via82cxxx.c 2006-02-21 14:06:29.000000000 +0100 >*************** >*** 79,84 **** >--- 79,85 ---- > u8 rev_max; > u16 flags; > } via_isa_bridges[] = { >+ { "vt6410", PCI_DEVICE_ID_VIA_6410, 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 }, > { "vt8233a", PCI_DEVICE_ID_VIA_8233A, 0x00, 0x2f, VIA_UDMA_133 | VIA_BAD_AST }, >*************** >*** 616,622 **** > hwif->drives[1].autodma = hwif->autodma; > } > >! static ide_pci_device_t via82cxxx_chipset __devinitdata = { > .name = "VP_IDE", > .init_chipset = init_chipset_via82cxxx, > .init_hwif = init_hwif_via82cxxx, >--- 617,624 ---- > hwif->drives[1].autodma = hwif->autodma; > } > >! static ide_pci_device_t via82cxxx_chipsets[] __devinitdata = { >! { > .name = "VP_IDE", > .init_chipset = init_chipset_via82cxxx, > .init_hwif = init_hwif_via82cxxx, >*************** >*** 624,639 **** > .autodma = NOAUTODMA, > .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, > .bootable = ON_BOARD, > }; > > static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_id *id) > { >! return ide_setup_pci_device(dev, &via82cxxx_chipset); > } > > static struct pci_device_id via_pci_tbl[] = { > { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, > { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, > { 0, }, > }; > MODULE_DEVICE_TABLE(pci, via_pci_tbl); >--- 626,651 ---- > .autodma = NOAUTODMA, > .enablebits = {{0x40,0x02,0x02}, {0x40,0x01,0x01}}, > .bootable = ON_BOARD, >+ },{ >+ .name = "VP_IDE", >+ .init_chipset = init_chipset_via82cxxx, >+ .init_hwif = init_hwif_via82cxxx, >+ .channels = 2, >+ .autodma = AUTODMA, >+ .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, >+ .bootable = ON_BOARD, >+ } > }; > > static int __devinit via_init_one(struct pci_dev *dev, const struct pci_device_id *id) > { >! return ide_setup_pci_device(dev, &via82cxxx_chipsets[id->driver_data]); > } > > static struct pci_device_id via_pci_tbl[] = { > { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C576_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, > { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_82C586_1, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, >+ { PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_6410, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 1}, > { 0, }, > }; > MODULE_DEVICE_TABLE(pci, via_pci_tbl); > > >*** include/linux/pci_ids.orig 2006-02-21 14:36:11.000000000 +0100 >--- include/linux/pci_ids.h 2006-02-21 14:36:59.000000000 +0100 >*************** >*** 1413,1418 **** >--- 1413,1419 ---- > #define PCI_DEVICE_ID_VIA_8703_51_0 0x3148 > #define PCI_DEVICE_ID_VIA_8237_SATA 0x3149 > #define PCI_DEVICE_ID_VIA_XN266 0x3156 >+ #define PCI_DEVICE_ID_VIA_6410 0x3164 > #define PCI_DEVICE_ID_VIA_8754C_0 0x3168 > #define PCI_DEVICE_ID_VIA_8235 0x3177 > #define PCI_DEVICE_ID_VIA_P4N333 0x3178 > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
|
Diff
Attachments on
bug 152724
: 69727