From owner-freebsd-i386@FreeBSD.ORG Tue Mar 14 00:20:23 2006 Return-Path: X-Original-To: freebsd-i386@hub.freebsd.org Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 71C7116A420 for ; Tue, 14 Mar 2006 00:20:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D45A43D49 for ; Tue, 14 Mar 2006 00:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k2E0KMWn012098 for ; Tue, 14 Mar 2006 00:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k2E0KMBh012097; Tue, 14 Mar 2006 00:20:22 GMT (envelope-from gnats) Date: Tue, 14 Mar 2006 00:20:22 GMT Message-Id: <200603140020.k2E0KMBh012097@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Mikhail Teterin Cc: Subject: Re: i386/75387: [ata] feature request: support of Promise SATAII150 TX4 wanted X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mikhail Teterin List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Mar 2006 00:20:23 -0000 The following reply was made to PR i386/75387; it has been noted by GNATS. From: Mikhail Teterin To: =?iso-8859-1?q?S=F8ren_Schmidt?= Cc: bug-followup@freebsd.org, sebastian.holmqvist@gmail.com, re@freebsd.org Subject: Re: i386/75387: [ata] feature request: support of Promise SATAII150 TX4 wanted Date: Mon, 13 Mar 2006 19:12:41 -0500 --Boundary-00=_5pgFE8rt4qjxulT Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline The following patch (against today's 6.x) allows my little Promise controller to work. Note that my card is a 2-port version of the already listed 4-port one (PDC40775). Here is the resulting dmesg.boot (I don't have any SATA300 drives here): atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 2.5 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0xe000-0xe07f,0xe400-0xe4ff mem 0xf7051000-0xf7051fff,0xf7000000-0xf701ffff irq 5 at device 11.0 on pci0 ata2: on atapci1 ata3: on atapci1 ata4: on atapci1 ad4: 35304MB at ata2-master SATA150 ad6: 70911MB at ata3-master SATA150 I'm not sure, where the PDC20580 should be listed in ata-chipset.c, so I did not merge it in. But it would be nice, if 6.1 "just worked" for owners of all this Promise hardware... -mi --Boundary-00=_5pgFE8rt4qjxulT Content-Type: text/x-diff; charset="utf-8"; name="ata.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ata.patch" Index: ata-chipset.c =================================================================== RCS file: /meow/ncvs/src/sys/dev/ata/ata-chipset.c,v retrieving revision 1.126.2.10 diff -U2 -r1.126.2.10 ata-chipset.c --- ata-chipset.c 1 Mar 2006 18:36:43 -0000 1.126.2.10 +++ ata-chipset.c 13 Mar 2006 20:36:19 -0000 @@ -2944,4 +2944,5 @@ { ATA_PDC20579, 0, PRMIO, PRCMBO2, ATA_SA150, "PDC20579" }, { ATA_PDC20771, 0, PRMIO, PRCMBO2, ATA_SA300, "PDC20771" }, + { ATA_PDC20775, 0, PRMIO, PRCMBO2, ATA_SA300, "PDC20775" }, { ATA_PDC40775, 0, PRMIO, PRCMBO2, ATA_SA300, "PDC40775" }, { ATA_PDC20617, 0, PRMIO, PRPATA, ATA_UDMA6, "PDC20617" }, Index: ata-pci.h =================================================================== RCS file: /meow/ncvs/src/sys/dev/ata/ata-pci.h,v retrieving revision 1.49.2.7 diff -U2 -r1.49.2.7 ata-pci.h --- ata-pci.h 19 Feb 2006 15:18:23 -0000 1.49.2.7 +++ ata-pci.h 14 Mar 2006 00:05:43 -0000 @@ -225,4 +225,6 @@ #define ATA_PDC20575 0x3d75105a #define ATA_PDC20579 0x3574105a +#define ATA_PDC20580 0x3570105a +#define ATA_PDC20775 0x3d73105a #define ATA_PDC20771 0x3570105a #define ATA_PDC40518 0x3d18105a --Boundary-00=_5pgFE8rt4qjxulT--