NetBSD-Bugs archive

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

kern/47452: VIA Technologies VT8237R works fine in NetBSD 5



>Number:         47452
>Category:       kern
>Synopsis:       VIA Technologies VT8237R works fine in NetBSD 5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 15 10:35:00 +0000 2013
>Originator:     Dominik Bialy
>Release:        NetBSD 5.1_STABLE
>Organization:
None
>Environment:
System: NetBSD yenn.ulegend.net 5.1_STABLE NetBSD 5.1_STABLE (YENN) #0: Tue Aug 
21 18:20:15 UTC 2012 
builds%yenn.ulegend.net@localhost:/usr/obj/sys/arch/amd64/compile/YENN amd64
Architecture: x86_64
Machine: amd64
>Description:
        VIA Technologies VT8237R SATA Controller works fine in NetBSD 5.
        It was working in very slow PIO mode, then I pulled support
        to my local sources from -current (PCI ids)

        After pulling support dmesg reports:

viaide0 at pci0 dev 15 function 0
viaide0: VIA Technologies VT8237S SATA Controller (rev. 0x00)
viaide0: bus-master DMA support present
viaide0: primary channel configured to native-PCI mode
viaide0: using ioapic0 pin 21 for native-PCI interrupt

        I've been using this for more than 2 years without any trouble.
        
>How-To-Repeat:
        Pull up PCI ids from -current.
>Fix:
        Patches I apply:
======================================================================
--- src/sys/dev/pci/pcidevs     Tue Dec 16 19:54:52 2008
+++ src/sys/dev/pci/pcidevs     Sun Dec 21 16:23:53 2008
@@ -4055,6 +4055,7 @@
 product VIATECH VT3351_HB_4351 0x4351  VT3351 Host Bridge
 product VIATECH CX700M2_IDE    0x5324  CX700M2/VX700 IDE Controller
 product VIATECH VT3351_IOAPIC  0x5351  VT3351 I/O APIC Interrupt Controller
+product VIATECH VT8237S_SATA   0x5372  VT8237S Integrated SATA Controller
 product VIATECH VT86C100A      0x6100  VT86C100A (Rhine-II) 10/100 Ethernet
 product VIATECH VT8378_IG      0x7205  VT8378 KM400 UniChrome Integrated 
Graphi cs
 product VIATECH KT880_5                0x7269  KT880 CPU to PCI Bridge
======================================================================
--- src/sys/dev/pci/viaide.c    Sat Sep  6 22:42:59 2008
+++ src/sys/dev/pci/viaide.c    Sun Dec 21 16:27:57 2008
@@ -334,6 +334,11 @@
          "VIA Technologies VT8237R SATA Controller",
          via_sata_chip_map_0,
        },
+       { PCI_PRODUCT_VIATECH_VT8237S_SATA,
+         0,
+         "VIA Technologies VT8237S SATA Controller",
+         via_sata_chip_map_7,
+       },
        { 0,
          0,
          NULL,
======================================================================



Home | Main Index | Thread Index | Old Index