Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci In the #definition of PCI_HME_BASEADDR, use PCI_...
details: https://anonhg.NetBSD.org/src/rev/421a36810999
branches: trunk
changeset: 753360:421a36810999
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Mar 23 21:54:23 2010 +0000
description:
In the #definition of PCI_HME_BASEADDR, use PCI_BAR(0) instead of the
anonymous constant 0x10.
diffstat:
sys/dev/pci/if_hme_pci.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b8dc4529dfd9 -r 421a36810999 sys/dev/pci/if_hme_pci.c
--- a/sys/dev/pci/if_hme_pci.c Tue Mar 23 21:51:39 2010 +0000
+++ b/sys/dev/pci/if_hme_pci.c Tue Mar 23 21:54:23 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_hme_pci.c,v 1.34 2010/03/23 21:51:39 dyoung Exp $ */
+/* $NetBSD: if_hme_pci.c,v 1.35 2010/03/23 21:54:23 dyoung Exp $ */
/*
* Copyright (c) 2000 Matthew R. Green
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_hme_pci.c,v 1.34 2010/03/23 21:51:39 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_hme_pci.c,v 1.35 2010/03/23 21:54:23 dyoung Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -56,7 +56,7 @@
#include <dev/ic/hmevar.h>
-#define PCI_HME_BASEADDR 0x10
+#define PCI_HME_BASEADDR PCI_BAR(0)
struct hme_pci_softc {
struct hme_softc hsc_hme; /* HME device */
Home |
Main Index |
Thread Index |
Old Index