Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Sep 2002 13:39:24 -1000
From:      wiz <jason@wiz.cx>
To:        FreeBSD-STABLE <freebsd-stable@freebsd.org>
Cc:        Soren Schmidt <sos@FreeBSD.org>
Subject:   VIA 8235 ATA133 controller patch
Message-ID:  <20020912233924.GF39570@wiz.cx>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020912233924.GF39570>