summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide_hpt_reg.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2003-07-29 18:16:28 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2003-07-29 18:16:28 +0000
commite37ea9e6a51e984b9ac685d57c998e8ea68b44af (patch)
tree16603fb840852840726744eb924aa5ee99c96d8f /sys/dev/pci/pciide_hpt_reg.h
parent50caf9b1c4e0a7c52147f73720a846d0946c0e39 (diff)
Support for HPT302 and HPT371, inspired from the FreeBSD ata driver.
Thanks to otto@ for help in regress testing and tedu@ for unslacking me.
Diffstat (limited to 'sys/dev/pci/pciide_hpt_reg.h')
-rw-r--r--sys/dev/pci/pciide_hpt_reg.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide_hpt_reg.h b/sys/dev/pci/pciide_hpt_reg.h
index a8b6225be54..c1d62e5c4f4 100644
--- a/sys/dev/pci/pciide_hpt_reg.h
+++ b/sys/dev/pci/pciide_hpt_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_hpt_reg.h,v 1.7 2003/07/19 21:10:24 grange Exp $ */
+/* $OpenBSD: pciide_hpt_reg.h,v 1.8 2003/07/29 18:16:27 grange Exp $ */
/* $NetBSD: pciide_hpt_reg.h,v 1.4 2001/07/23 14:55:27 bouyer Exp $ */
/*
@@ -139,6 +139,14 @@ static u_int32_t hpt370_udma[] =
{0x16514e31, 0x164d4e31, 0x16494e31, 0x166d4e31, 0x16454e31,
0x16454e31};
+static u_int32_t hpt372_pio[] =
+ {0x0d029d5e, 0x0d029d26, 0x0c829ca6, 0x0c829c84, 0x0c829c62};
+static u_int32_t hpt372_dma[] =
+ {0x2c82922e, 0x2c829266, 0x2c829262};
+static u_int32_t hpt372_udma[] =
+ {0x1c82dc62, 0x1c9adc62, 0x1c91dc62, 0x1c8edc62, 0x1c8ddc62,
+ 0x1c6ddc62, 0x1c81dc62};
+
static u_int32_t hpt374_pio[] =
{0x0ac1f48a, 0x0ac1f465, 0x0a81f454, 0x0a81f443, 0x0a81f442};
static u_int32_t hpt374_dma[] =