NetBSD Problem Report #47452
From dmb@yenn.ulegend.net Tue Jan 15 10:32:29 2013
Return-Path: <dmb@yenn.ulegend.net>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 428BA63D7B3
for <gnats-bugs@gnats.NetBSD.org>; Tue, 15 Jan 2013 10:32:29 +0000 (UTC)
Message-Id: <20130115103225.68C5C1930FB@yenn.ulegend.net>
Date: Tue, 15 Jan 2013 10:32:25 +0000 (UTC)
From: dmb@yenn.ulegend.net
Reply-To: dmb@yenn.ulegend.net
To: gnats-bugs@gnats.NetBSD.org
Subject: VIA Technologies VT8237R works fine in NetBSD 5
X-Send-Pr-Version: 3.95
>Number: 47452
>Category: kern
>Synopsis: VIA Technologies VT8237S works fine in NetBSD 5
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: msaitoh
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Jan 15 10:35:00 +0000 2013
>Closed-Date: Mon Jan 21 03:04:58 +0000 2013
>Last-Modified: Mon Jan 21 03:04:58 +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:/usr/obj/sys/arch/amd64/compile/YENN amd64
Architecture: x86_64
Machine: amd64
>Description:
VIA Technologies VT8237S 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,
======================================================================
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: kern-bug-people->msaitoh
Responsible-Changed-By: msaitoh@NetBSD.org
Responsible-Changed-When: Fri, 18 Jan 2013 05:04:29 +0000
Responsible-Changed-Why:
Mine.
State-Changed-From-To: open->pending-pullups
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Fri, 18 Jan 2013 05:04:29 +0000
State-Changed-Why:
The pullup request was sent.
From: "Manuel Bouyer" <bouyer@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/47452 CVS commit: [netbsd-5] src/sys/dev/pci
Date: Sun, 20 Jan 2013 12:19:07 +0000
Module Name: src
Committed By: bouyer
Date: Sun Jan 20 12:19:07 UTC 2013
Modified Files:
src/sys/dev/pci [netbsd-5]: pcidevs viaide.c
Log Message:
Apply patch, requested by msaitoh in ticket #1842:
sys/dev/pci/pcidevs 1.969 via patch
sys/dev/pci/viaide.c 1.57
Add VT8237S Integrated SATA Controller support.
PR#47452.
To generate a diff of this commit:
cvs rdiff -u -r1.962.4.16 -r1.962.4.17 src/sys/dev/pci/pcidevs
cvs rdiff -u -r1.57.4.3 -r1.57.4.4 src/sys/dev/pci/viaide.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: pending-pullups->closed
State-Changed-By: msaitoh@NetBSD.org
State-Changed-When: Mon, 21 Jan 2013 03:04:58 +0000
State-Changed-Why:
Pulled up to netbsd-5. Thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.