Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Protect against multiple inclusion.
details: https://anonhg.NetBSD.org/src/rev/340ae57b0cad
branches: trunk
changeset: 1008081:340ae57b0cad
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Mar 10 00:24:08 2020 +0000
description:
Protect against multiple inclusion.
diffstat:
sys/dev/pci/if_txpreg.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r 123d647e6e78 -r 340ae57b0cad sys/dev/pci/if_txpreg.h
--- a/sys/dev/pci/if_txpreg.h Mon Mar 09 21:49:26 2020 +0000
+++ b/sys/dev/pci/if_txpreg.h Tue Mar 10 00:24:08 2020 +0000
@@ -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 <aaron%monkey.org@localhost>.
@@ -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 @@
#define READ_REG(sc,reg) \
bus_space_read_4((sc)->sc_bt, (sc)->sc_bh, reg)
+#endif /* _DEV_PCI_IF_TXPREG_H_ */
Home |
Main Index |
Thread Index |
Old Index