From owner-freebsd-stable Thu Sep 12 16:39:33 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7612937B400; Thu, 12 Sep 2002 16:39:30 -0700 (PDT) Received: from mail.snickers.org (mail.snickers.org [216.126.90.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 11F8543E72; Thu, 12 Sep 2002 16:39:30 -0700 (PDT) (envelope-from wiz@sabruno.wiz.cx) Received: from mx1.wiz.cx (unknown [167.216.3.60]) by mail.snickers.org (Postfix) with ESMTP id 00562F; Thu, 12 Sep 2002 19:39:47 -0400 (EDT) Received: by mx1.wiz.cx (Postfix, from userid 1000) id 3DE2953; Thu, 12 Sep 2002 13:39:24 -1000 (HST) Date: Thu, 12 Sep 2002 13:39:24 -1000 From: wiz To: FreeBSD-STABLE Cc: Soren Schmidt Subject: VIA 8235 ATA133 controller patch Message-ID: <20020912233924.GF39570@wiz.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.1i Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, Below is a diff that adds support for the VIA 8235 ATA133 controller that is found on the new MSI KT3 Ultra2-RAID mobos. Can somebody please commit this? Thanks. --- sys/dev/ata/ata-dma.c Mon Aug 12 10:37:12 2002 +++ sys/dev/ata/ata-dma.c.wiz Thu Sep 12 13:00:48 2002 @@ -387,7 +387,8 @@ int *reg_val = NULL; char *chip = "VIA"; - if (ata_find_dev(parent, 0x31471106, 0)) { /* 8233a */ + if (ata_find_dev(parent, 0x31471106, 0) || /* 8233a */ + ata_find_dev(parent, 0x31771106, 0)) { /* 8235 */ udmamode = imin(udmamode, 6); reg_val = via_modes[3]; } --- sys/dev/ata/ata-pci.c Mon Apr 29 08:21:18 2002 +++ sys/dev/ata/ata-pci.c.wiz Thu Sep 12 13:00:54 2002 @@ -178,6 +178,8 @@ return "VIA 8233 ATA100 controller"; if (ata_find_dev(dev, 0x31471106, 0)) return "VIA 8233 ATA133 controller"; + if (ata_find_dev(dev, 0x31771106, 0)) + return "VIA 8235 ATA133 controller"; return "VIA Apollo ATA controller"; case 0x55131039: wiz -- Jason Dambrosio | Half our life is spent trying to find Software Engineer | something to do with the time we have ITS Solutions, Inc. | rushed through life trying to save. 808.372.6823 | -- Will Rogers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message