summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-pci.h
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>2003-05-01 06:20:50 +0000
committersos <sos@FreeBSD.org>2003-05-01 06:20:50 +0000
commit9f4de55ff28048fc5c191cc9f226a1aa7043c9ad (patch)
tree046aabd61b28e6cf578849bad8b69717d3e8140c /sys/dev/ata/ata-pci.h
parent4cf0da39d0a5409f3df27e4bbc17e5f3b36f5d7b (diff)
downloadFreeBSD-src-9f4de55ff28048fc5c191cc9f226a1aa7043c9ad.zip
FreeBSD-src-9f4de55ff28048fc5c191cc9f226a1aa7043c9ad.tar.gz
I'm pleased to announce that Promise is now supporting the FreeBSD
project by providing documentation (under NDA) and hardware for testing. This commit is the first result of the cooperation, and adds support for several of their new controllers that we didn't support before (and probably newer would have without this arrangement). Add support for the Promise SATA150 TX2/TX4 and the Promise TX4000 controllers. This also adds support for various motherboard fitted Promise SATA/ATA chips. Note that this code uses memory mapped registers to minimize overhead. I belive FreeBSD has made another first in the Open Source world by being able to release support for this :)
Diffstat (limited to 'sys/dev/ata/ata-pci.h')
-rw-r--r--sys/dev/ata/ata-pci.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/sys/dev/ata/ata-pci.h b/sys/dev/ata/ata-pci.h
index 0e8b49b..ebaa280 100644
--- a/sys/dev/ata/ata-pci.h
+++ b/sys/dev/ata/ata-pci.h
@@ -129,7 +129,18 @@ struct ata_pci_controller {
#define ATA_PDC20275 0x1275105a
#define ATA_PDC20276 0x5275105a
#define ATA_PDC20277 0x7275105a
+#define ATA_PDC20318 0x3318105a
+#define ATA_PDC20319 0x3319105a
+#define ATA_PDC20371 0x3371105a
+#define ATA_PDC20375 0x3375105a
#define ATA_PDC20376 0x3376105a
+#define ATA_PDC20377 0x3377105a
+#define ATA_PDC20378 0x3373105a
+#define ATA_PDC20379 0x3372105a
+#define ATA_PDC20617 0x6617105a
+#define ATA_PDC20618 0x6626105a
+#define ATA_PDC20619 0x6629105a
+#define ATA_PDC20620 0x6620105a
#define ATA_PDC20621 0x6621105a
#define ATA_SERVERWORKS_ID 0x1166
@@ -216,9 +227,13 @@ struct ata_pci_controller {
#define PROLD 0
#define PRNEW 1
#define PRTX 2
-#define PRMEM 3
+#define PRMIO 3
+#define PRIDX 4
#define PRTX4 0x01
-#define PRSX6K 0x02
+#define PRSX4K 0x02
+#define PRSX6K 0x04
+#define PRSATA 0x08
+#define PRDUAL 0x10
#define SWKS33 0
#define SWKS66 1
OpenPOWER on IntegriCloud