Module Name: src Committed By: rin Date: Sat Oct 1 12:40:42 UTC 2022
Modified Files: src/sys/dev/pci: pcireg.h Log Message: No need to mangle argument of macro. To generate a diff of this commit: cvs rdiff -u -r1.166 -r1.167 src/sys/dev/pci/pcireg.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/pcireg.h diff -u src/sys/dev/pci/pcireg.h:1.166 src/sys/dev/pci/pcireg.h:1.167 --- src/sys/dev/pci/pcireg.h:1.166 Tue Sep 20 23:01:42 2022 +++ src/sys/dev/pci/pcireg.h Sat Oct 1 12:40:42 2022 @@ -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 @@ typedef u_int8_t pci_revision_t; #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)