From owner-freebsd-current@FreeBSD.ORG Thu Mar 11 03:16:20 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1AA5A16A4CE for ; Thu, 11 Mar 2004 03:16:20 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C23343D1D for ; Thu, 11 Mar 2004 03:16:18 -0800 (PST) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (csc-gw1.novi.dk [130.225.63.24]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i2BBFvtk038617; Thu, 11 Mar 2004 12:16:13 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <40504A6B.50608@DeepCore.dk> Date: Thu, 11 Mar 2004 12:15:55 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Putinas Piliponis References: <001601c40752$92a731c0$1e64a8c0@spotripoli.local> In-Reply-To: <001601c40752$92a731c0$1e64a8c0@spotripoli.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 X-Mailman-Approved-At: Thu, 11 Mar 2004 05:24:08 -0800 cc: current@freebsd.org Subject: Re: VIA VT6410 ATA support X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 11:16:20 -0000 Putinas Piliponis wrote: > Hi, > Is there any planning to make vt6410 working ? ( at least like simple ide, not raid ) > Right now on booting it's not detected. You could try this patch (untested and for -current) Index: ata-chipset.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.63 diff -u -r1.63 ata-chipset.c --- ata-chipset.c 4 Mar 2004 16:39:59 -0000 1.63 +++ ata-chipset.c 11 Mar 2004 11:14:30 -0000 @@ -2138,7 +2138,8 @@ { ATA_VIA8237, 0x00, VIA133, 0x00, ATA_UDMA6, "VIA 8237" }, { 0, 0, 0, 0, 0, 0 }}; static struct ata_chip_id new_ids[] = - {{ ATA_VIA8237_1, 0x00, 0x00, 0x00, ATA_SA150, "VIA 8237" }, + {{ ATA_VIA6410, 0x00, 0x00, 0x00, ATA_UDMA6, "VIA 6410" }, + {{ ATA_VIA6420, 0x00, 0x00, 0x00, ATA_SA150, "VIA 6420" }, { 0, 0, 0, 0, 0, 0 }}; char buffer[64]; Index: ata-pci.h =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v retrieving revision 1.25 diff -u -r1.25 ata-pci.h --- ata-pci.h 25 Feb 2004 09:55:49 -0000 1.25 +++ ata-pci.h 11 Mar 2004 11:13:27 -0000 @@ -224,11 +224,12 @@ #define ATA_VIA8233C 0x31091106 #define ATA_VIA8235 0x31771106 #define ATA_VIA8237 0x32271106 -#define ATA_VIA8237_1 0x31491106 #define ATA_VIA8361 0x31121106 #define ATA_VIA8363 0x03051106 #define ATA_VIA8371 0x03911106 #define ATA_VIA8662 0x31021106 +#define ATA_VIA6410 0x31641106 +#define ATA_VIA6420 0x31491106 /* chipset setup related defines */ #define ATPOLD 1 -- -Søren