Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci No need to mangle argument of macro.
details: https://anonhg.NetBSD.org/src/rev/8d1343c1a71e
branches: trunk
changeset: 371251:8d1343c1a71e
user: rin <rin%NetBSD.org@localhost>
date: Sat Oct 01 12:40:42 2022 +0000
description:
No need to mangle argument of macro.
diffstat:
sys/dev/pci/pcireg.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 7e70fce28287 -r 8d1343c1a71e sys/dev/pci/pcireg.h
--- a/sys/dev/pci/pcireg.h Sat Oct 01 12:35:25 2022 +0000
+++ b/sys/dev/pci/pcireg.h Sat Oct 01 12:40:42 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcireg.h,v 1.166 2022/09/20 23:01:42 mrg Exp $ */
+/* $NetBSD: pcireg.h,v 1.167 2022/10/01 12:40:42 rin Exp $ */
/*
* Copyright (c) 1995, 1996, 1999, 2000
@@ -475,7 +475,7 @@
#define PCI_BAR4 0x20
#define PCI_BAR5 0x24
-#define PCI_BAR(__n) (PCI_MAPREG_START + 4 * (__n))
+#define PCI_BAR(n) (PCI_MAPREG_START + 4 * (n))
#define PCI_MAPREG_TYPE(mr) \
((mr) & PCI_MAPREG_TYPE_MASK)
Home |
Main Index |
Thread Index |
Old Index