From owner-freebsd-hardware@FreeBSD.ORG Fri Aug 11 19:53:25 2006 Return-Path: X-Original-To: freebsd-hardware@freebsd.org Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDF1916A4DD for ; Fri, 11 Aug 2006 19:53:24 +0000 (UTC) (envelope-from reed@scit.us) Received: from memnon.scit.us (reedcartwright2.statgen.ncsu.edu [152.14.14.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C39243D46 for ; Fri, 11 Aug 2006 19:53:24 +0000 (GMT) (envelope-from reed@scit.us) Received: from localhost (localhost.scit.us [127.0.0.1]) by memnon.scit.us (Postfix) with ESMTP id B44B91CE32 for ; Fri, 11 Aug 2006 15:53:10 -0400 (EDT) X-Virus-Scanned: amavisd-new at scit.us Received: from localhost ([127.0.0.1]) by localhost (memnon.scit.us [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KV23U+whwvz1 for ; Fri, 11 Aug 2006 15:53:09 -0400 (EDT) Received: from scit.us (localhost.scit.us [127.0.0.1]) by memnon.scit.us (Postfix) with ESMTP id 2D97C1CE30 for ; Fri, 11 Aug 2006 15:53:09 -0400 (EDT) Received: from 152.14.14.5 (SquirrelMail authenticated user reed) by scit.us with HTTP; Fri, 11 Aug 2006 15:53:09 -0400 (EDT) Message-ID: <61659.152.14.14.5.1155325989.squirrel@scit.us> Date: Fri, 11 Aug 2006 15:53:09 -0400 (EDT) From: reed@scit.us To: freebsd-hardware@freebsd.org User-Agent: SquirrelMail/1.4.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Patch for Intel 5000X hardware (ata and ichsmb) X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Aug 2006 19:53:25 -0000 Freebsd wouldn't recognize my hard drive contoler, so I modified a patch I found on the "stable" list, adding all the device ids I found in Intel's documentation. Please add this to the stable or current branch. Here is the patch, made with respect to 6.1-Release-p3 Index: sys/dev/ata/ata-chipset.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.126.2.11 diff -u -r1.126.2.11 ata-chipset.c --- sys/dev/ata/ata-chipset.c 16 Mar 2006 21:28:51 -0000 1.126.2.11 +++ sys/dev/ata/ata-chipset.c 9 Aug 2006 20:28:30 -0000 @@ -1595,6 +1595,11 @@ { ATA_I82801GB_R1, 0, AHCI, 0x00, ATA_SA300, "ICH7" }, { ATA_I82801GB_M, 0, AHCI, 0x00, ATA_SA300, "ICH7" }, { ATA_I82801GB_AH, 0, AHCI, 0x00, ATA_SA300, "ICH7" }, + { ATA_I631xESB, 0, 0, 0x00, ATA_UDMA5, "631xESB" }, + { ATA_I631xESB_C1, 0, 0, 0x00, ATA_UDMA5, "631xESB" }, + { ATA_I631xESB_S1, 0, AHCI, 0x00, ATA_SA300, "631xESB" }, + { ATA_I631xESB_R1, 0, AHCI, 0x00, ATA_SA300, "631xESB" }, + { ATA_I631xESB_R2, 0, AHCI, 0x00, ATA_SA300, "631xESB" }, { ATA_I31244, 0, 0, 0x00, ATA_SA150, "31244" }, { 0, 0, 0, 0, 0, 0}}; char buffer[64]; Index: sys/dev/ata/ata-pci.h =================================================================== RCS file: /home/ncvs/src/sys/dev/ata/ata-pci.h,v retrieving revision 1.49.2.8 diff -u -r1.49.2.8 ata-pci.h --- sys/dev/ata/ata-pci.h 16 Mar 2006 21:28:51 -0000 1.49.2.8 +++ sys/dev/ata/ata-pci.h 9 Aug 2006 20:28:30 -0000 @@ -148,6 +148,11 @@ #define ATA_I82801FB_S1 0x26518086 #define ATA_I82801FB_R1 0x26528086 #define ATA_I82801FB_M 0x26538086 +#define ATA_I631xESB_C1 0x26808086 +#define ATA_I631xESB_S1 0x26818086 +#define ATA_I631xESB_R1 0x26828086 +#define ATA_I631xESB_R2 0x26838086 +#define ATA_I631xESB 0x269e8086 #define ATA_I82801GB 0x27df8086 #define ATA_I82801GB_S1 0x27c08086 #define ATA_I82801GB_R1 0x27c38086 Index: sys/dev/ichsmb/ichsmb_pci.c =================================================================== RCS file: /home/ncvs/src/sys/dev/ichsmb/ichsmb_pci.c,v retrieving revision 1.16.2.1 diff -u -r1.16.2.1 ichsmb_pci.c --- sys/dev/ichsmb/ichsmb_pci.c 19 Aug 2005 18:38:55 -0000 1.16.2.1 +++ sys/dev/ichsmb/ichsmb_pci.c 9 Aug 2006 20:28:31 -0000 @@ -74,6 +74,7 @@ #define ID_82801DC 0x24C38086 #define ID_82801EB 0x24D38086 #define ID_6300ESB 0x25a48086 +#define ID_631xESB 0x269b8086 #define PCIS_SERIALBUS_SMBUS_PROGIF 0x00 @@ -146,6 +147,9 @@ case ID_6300ESB: device_set_desc(dev, "Intel 6300ESB (ICH) SMBus controller"); break; + case ID_631xESB: + device_set_desc(dev, "Intel 631xESB (ESB2) SMBus controller"); + break; default: if (pci_get_class(dev) == PCIC_SERIALBUS && pci_get_subclass(dev) == PCIS_SERIALBUS_SMBUS