Module Name: src
Committed By: thorpej
Date: Tue Mar 10 00:24:08 UTC 2020
Modified Files:
src/sys/dev/pci: if_txpreg.h
Log Message:
Protect against multiple inclusion.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/dev/pci/if_txpreg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/if_txpreg.h
diff -u src/sys/dev/pci/if_txpreg.h:1.10 src/sys/dev/pci/if_txpreg.h:1.11
--- src/sys/dev/pci/if_txpreg.h:1.10 Mon Mar 9 00:32:53 2020
+++ src/sys/dev/pci/if_txpreg.h Tue Mar 10 00:24:08 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: if_txpreg.h,v 1.10 2020/03/09 00:32:53 thorpej Exp $ */
+/* $NetBSD: if_txpreg.h,v 1.11 2020/03/10 00:24:08 thorpej Exp $ */
/*
* Copyright (c) 2001 Aaron Campbell <[email protected]>.
@@ -26,6 +26,9 @@
* THE POSSIBILITY OF SUCH DAMAGE.
*/
+#ifndef _DEV_PCI_IF_TXPREG_H_
+#define _DEV_PCI_IF_TXPREG_H_
+
#define TXP_PCI_LOMEM 0x14 /* pci conf, memory map BAR */
#define TXP_PCI_LOIO 0x10 /* pci conf, IO map BAR */
@@ -626,3 +629,4 @@ struct txp_fw_section_header {
#define READ_REG(sc,reg) \
bus_space_read_4((sc)->sc_bt, (sc)->sc_bh, reg)
+#endif /* _DEV_PCI_IF_TXPREG_H_ */