summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pciide_pdc202xx_reg.h
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2004-09-24 07:38:39 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2004-09-24 07:38:39 +0000
commit864b2c5cf2e4f64ba4de9388ba16a6243fc3c720 (patch)
tree0d7037caa286ab39dc2e0ea984f679efbed73d62 /sys/dev/pci/pciide_pdc202xx_reg.h
parentbc6e3bf578ff8bd49cf29fd46cdf30d5eeba6c2d (diff)
Multiple inclusion protection.
Diffstat (limited to 'sys/dev/pci/pciide_pdc202xx_reg.h')
-rw-r--r--sys/dev/pci/pciide_pdc202xx_reg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/pci/pciide_pdc202xx_reg.h b/sys/dev/pci/pciide_pdc202xx_reg.h
index d5b933e0076..97cef8fac8b 100644
--- a/sys/dev/pci/pciide_pdc202xx_reg.h
+++ b/sys/dev/pci/pciide_pdc202xx_reg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciide_pdc202xx_reg.h,v 1.10 2003/09/28 21:01:43 grange Exp $ */
+/* $OpenBSD: pciide_pdc202xx_reg.h,v 1.11 2004/09/24 07:38:38 grange Exp $ */
/* $NetBSD: pciide_pdc202xx_reg.h,v 1.5 2001/07/05 08:38:27 toshii Exp $ */
/*
@@ -32,6 +32,9 @@
*
*/
+#ifndef _DEV_PCI_PCIIDE_PDC202XX_REG_H_
+#define _DEV_PCI_PCIIDE_PDC202XX_REG_H_
+
/*
* Registers definitions for PROMISE PDC20246/PDC20262 PCI IDE controller.
* Unfortunably the HW docs are not publically available. I've been able
@@ -122,3 +125,5 @@ static int8_t pdc2xx_udma_mc[] = {0x3, 0x2, 0x1, 0x2, 0x1, 0x1};
#define PDC268_DATA(chan) (0x03 + IDEDMA_SCH_OFFSET * (chan))
#define PDC268_CABLE 0x04
#define PDC268_INTR 0x20
+
+#endif /* !_DEV_PCI_PCIIDE_PDC202XX_REG_H_ */