i386/75387: [ata] feature request: support of Promise SATAII150
TX4 wanted
Søren Schmidt
sos at deepcore.dk
Tue Mar 14 06:40:20 UTC 2006
The following reply was made to PR i386/75387; it has been noted by GNATS.
From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos at deepcore.dk>
To: Mikhail Teterin <mi+mx at aldan.algebra.com>
Cc: =?ISO-8859-1?Q?S=F8ren_Schmidt?= <sos at FreeBSD.ORG>,
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: Tue, 14 Mar 2006 07:36:14 +0100
Mikhail Teterin wrote:
> 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):
I should work just as well before as the pdc40775 chip has the exact
same PCI id as yours and its already in there:
#define ATA_PDC40775 0x3d73105a
Are you saying that the original code doesn't work but the patched one
does ? Except for the different names printed in the boot messages there
is no difference in how they are treated whatsower...
-Søren
> 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
More information about the freebsd-i386
mailing list