From 8183d39c9c3c889231c5475b72871f0e9292e61b Mon Sep 17 00:00:00 2001 From: dyoung Date: Tue, 23 Mar 2010 21:54:23 +0000 Subject: [PATCH] In the #definition of PCI_HME_BASEADDR, use PCI_BAR(0) instead of the anonymous constant 0x10. --- sys/dev/pci/if_hme_pci.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/pci/if_hme_pci.c b/sys/dev/pci/if_hme_pci.c index 496820fb8b9e..b79feba694ad 100644 --- a/sys/dev/pci/if_hme_pci.c +++ b/sys/dev/pci/if_hme_pci.c @@ -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 -__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 #include @@ -56,7 +56,7 @@ __KERNEL_RCSID(0, "$NetBSD: if_hme_pci.c,v 1.34 2010/03/23 21:51:39 dyoung Exp $ #include -#define PCI_HME_BASEADDR 0x10 +#define PCI_HME_BASEADDR PCI_BAR(0) struct hme_pci_softc { struct hme_softc hsc_hme; /* HME device */