[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#245334: debian-installer: SATA install on VIA 8237 don't work



Package: debian-installer
Severity: important

Debian installer version beta3 has no support for the VIA 8237 SATA
controller. Upstream kernel 2.4.26 is also lacking support, even if
only a few lines of code is missing:


--- drivers/ide/pci/generic.c   2003-12-01 13:08:45.000000000 +0100
+++ /home/anders/src/generic.c  2004-04-22 17:51:05.000000000 +0200
@@ -141,6 +141,7 @@
        { PCI_VENDOR_ID_VIA,    PCI_DEVICE_ID_VIA_82C561,          PCI_ANY_ID, PCI_ANY_ID, 0, 0, 7},
        { PCI_VENDOR_ID_OPTI,   PCI_DEVICE_ID_OPTI_82C558,         PCI_ANY_ID, PCI_ANY_ID, 0, 0, 8},
        { PCI_VENDOR_ID_TOSHIBA, PCI_DEVICE_ID_TOSHIBA_PICCOLO,    PCI_ANY_ID, PCI_ANY_ID, 0, 0, 9},
+       { PCI_VENDOR_ID_VIA,    PCI_DEVICE_ID_VIA_8237_SATA,       PCI_ANY_ID, PCI_ANY_ID, 0, 0, 10},
        { 0, },
 };
 
--- drivers/ide/pci/generic.h   2004-01-08 11:00:19.000000000 +0100
+++ /home/anders/src/generic.h  2004-04-22 17:51:05.000000000 +0200
@@ -140,6 +140,19 @@
                .enablebits     = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
                .bootable       = ON_BOARD,
                .extra          = 0,
+       },{     /* 10 */
+               .vendor         = PCI_VENDOR_ID_VIA,
+               .device         = PCI_DEVICE_ID_VIA_8237_SATA,
+               .name           = "VIA8237SATA",
+               .init_chipset   = init_chipset_generic,
+               .init_iops      = NULL,
+               .init_hwif      = init_hwif_generic,
+               .init_dma       = init_dma_generic,
+               .channels       = 2,
+               .autodma        = NOAUTODMA,
+               .enablebits     = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},
+               .bootable       = ON_BOARD,
+               .extra          = 0,
        },{
                .vendor         = 0,
                .device         = 0,
 
Support for VIA 8237 is very important as very large numbers of
motherboards are quiped with it.

2.6.x has full 8237 support.

/ Anders

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (40, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to sv_SE)



Reply to: