i386/75387: [ata] feature request: support of Promise SATAII150
TX4 wanted
Mikhail Teterin
mi+mx at aldan.algebra.com
Tue Mar 14 00:20:23 UTC 2006
The following reply was made to PR i386/75387; it has been noted by GNATS.
From: Mikhail Teterin <mi+mx at aldan.algebra.com>
To: =?iso-8859-1?q?S=F8ren_Schmidt?= <sos at freebsd.org>
Cc: bug-followup at freebsd.org, sebastian.holmqvist at gmail.com, re at 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: <SiS 962/963 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 2.5 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
atapci1: <Promise PDC20775 SATA300 controller> port 0xe000-0xe07f,0xe400-0xe4ff mem 0xf7051000-0xf7051fff,0xf7000000-0xf701ffff irq 5 at device 11.0 on pci0
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
ata4: <ATA channel 2> on atapci1
ad4: 35304MB <WDC WD360GD-00FNA0 35.06K35> at ata2-master SATA150
ad6: 70911MB <WDC WD740GD-00FLA1 27.08D27> 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--
More information about the freebsd-i386
mailing list