From owner-freebsd-current@FreeBSD.ORG Wed Jan 9 08:38:32 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AEF816A419; Wed, 9 Jan 2008 08:38:32 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from smtp6.yandex.ru (smtp6.yandex.ru [213.180.200.197]) by mx1.freebsd.org (Postfix) with ESMTP id F14DD13C44B; Wed, 9 Jan 2008 08:38:29 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from ns.kirov.so-cdu.ru ([77.72.136.145]:25314 "EHLO [127.0.0.1]" smtp-auth: "bu7cher" TLS-CIPHER: "DHE-RSA-AES256-SHA keybits 256/256 version TLSv1/SSLv3" TLS-PEER-CN1: ) by mail.yandex.ru with ESMTP id S5472318AbYAIIiR (ORCPT + 2 others); Wed, 9 Jan 2008 11:38:17 +0300 X-Yandex-Spam: 1 X-Yandex-Front: smtp6 X-Yandex-TimeMark: 1199867897 X-MsgDayCount: 5 X-Comment: RFC 2476 MSA function at smtp6.yandex.ru logged sender identity as: bu7cher Message-ID: <478487F2.9000907@yandex.ru> Date: Wed, 09 Jan 2008 11:38:10 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Wildes Miranda References: <474808.60103.qm@web33608.mail.mud.yahoo.com> In-Reply-To: <474808.60103.qm@web33608.mail.mud.yahoo.com> Content-Type: multipart/mixed; boundary="------------030003030603090103020403" Cc: freebsd-current@freebsd.org, Xin LI , =?KOI8-R?Q?S=3Fren_Schmidt?= Subject: Re: ATI SB600/700/800 tester wanted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 09 Jan 2008 08:38:32 -0000 This is a multi-part message in MIME format. --------------030003030603090103020403 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Wildes Miranda wrote: >> There was a lot of fixes and changes. >> And now it mostly doesn't needed. Do you have some >> troubles? > > Yes, i think. I haven't the option to set AHCI on the > BIOS as you suggested, and my trouble is that sata > disk just operate on UDMA33 mode. > i wish to use this box for java development, with many > disk access on compilation process and tomcat > environment. I think that this box will be more fast > with max mode allowed by disk controller. Hi, please, try attached patch (not tested). -- WBR, Andrey V. Elsukov --------------030003030603090103020403 Content-Type: text/plain; name="ati.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ati.diff" Index: src/sys/dev/ata/ata-chipset.c =================================================================== RCS file: /ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.202.2.5 diff -u -b -r1.202.2.5 ata-chipset.c --- src/sys/dev/ata/ata-chipset.c 9 Dec 2007 19:26:56 -0000 1.202.2.5 +++ src/sys/dev/ata/ata-chipset.c 9 Jan 2008 08:34:51 -0000 @@ -1346,7 +1346,9 @@ { ATA_ATI_IXP400_S1, 0x00, SIIMEMIO, 0, ATA_SA150, "IXP400" }, { ATA_ATI_IXP400_S2, 0x00, SIIMEMIO, 0, ATA_SA150, "IXP400" }, { ATA_ATI_IXP600, 0x00, 0, 0, ATA_UDMA6, "IXP600" }, + { ATA_ATI_IXP600_S1, 0x00, 0, 0, ATA_SA300, "IXP600" }, { ATA_ATI_IXP700, 0x00, 0, 0, ATA_UDMA6, "IXP700" }, + { ATA_ATI_IXP700_S1, 0x00, 0, 0, ATA_SA300, "IXP700" }, { 0, 0, 0, 0, 0, 0}}; if (!(ctlr->chip = ata_match_chip(dev, ids))) @@ -1370,6 +1372,11 @@ if (ata_setup_interrupt(dev)) return ENXIO; + /* try to use AHCI */ + if (ctlr->chip->max_dma > ATA_SA150 && + ata_ahci_chipinit(dev) != ENXIO) + return 0; + /* IXP600 & IXP700 only have 1 PATA channel */ if ((ctlr->chip->chipid == ATA_ATI_IXP600) || (ctlr->chip->chipid == ATA_ATI_IXP700)) Index: src/sys/dev/ata/ata-pci.h =================================================================== RCS file: /ncvs/src/sys/dev/ata/ata-pci.h,v retrieving revision 1.81.2.1 diff -u -b -r1.81.2.1 ata-pci.h --- src/sys/dev/ata/ata-pci.h 21 Nov 2007 21:15:00 -0000 1.81.2.1 +++ src/sys/dev/ata/ata-pci.h 9 Jan 2008 08:34:51 -0000 @@ -104,7 +104,9 @@ #define ATA_ATI_IXP400_S1 0x43791002 #define ATA_ATI_IXP400_S2 0x437a1002 #define ATA_ATI_IXP600 0x438c1002 +#define ATA_ATI_IXP600_S1 0x43801002 #define ATA_ATI_IXP700 0x439c1002 +#define ATA_ATI_IXP700_S1 0x43901002 #define ATA_CENATEK_ID 0x16ca #define ATA_CENATEK_ROCKET 0x000116ca --------------030003030603090103020403--