Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci Cosmectic: use the same define in all places whe...
details: https://anonhg.NetBSD.org/src/rev/a1271de5303a
branches: trunk
changeset: 791880:a1271de5303a
user: martin <martin%NetBSD.org@localhost>
date: Sun Dec 08 11:32:51 2013 +0000
description:
Cosmectic: use the same define in all places when referencing the BAR.
No functional change.
diffstat:
sys/dev/pci/if_athn_pci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 5e56c6dffd00 -r a1271de5303a sys/dev/pci/if_athn_pci.c
--- a/sys/dev/pci/if_athn_pci.c Sun Dec 08 10:12:39 2013 +0000
+++ b/sys/dev/pci/if_athn_pci.c Sun Dec 08 11:32:51 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_athn_pci.c,v 1.8 2013/04/21 19:59:40 msaitoh Exp $ */
+/* $NetBSD: if_athn_pci.c,v 1.9 2013/12/08 11:32:51 martin Exp $ */
/* $OpenBSD: if_athn_pci.c,v 1.11 2011/01/08 10:02:32 damien Exp $ */
/*-
@@ -22,7 +22,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.8 2013/04/21 19:59:40 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_athn_pci.c,v 1.9 2013/12/08 11:32:51 martin Exp $");
#include "opt_inet.h"
@@ -189,7 +189,7 @@
(int)memtype);
goto fail;
}
- error = pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &psc->psc_iot,
+ error = pci_mapreg_map(pa, ATHN_PCI_MMBA, memtype, 0, &psc->psc_iot,
&psc->psc_ioh, NULL, &psc->psc_mapsz);
if (error != 0) {
aprint_error_dev(self, "cannot map register space\n");
Home |
Main Index |
Thread Index |
Old Index