Module Name:    src
Committed By:   dyoung
Date:           Tue Mar 23 21:54:23 UTC 2010

Modified Files:
        src/sys/dev/pci: if_hme_pci.c

Log Message:
In the #definition of PCI_HME_BASEADDR, use PCI_BAR(0) instead of the
anonymous constant 0x10.


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/dev/pci/if_hme_pci.c

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/if_hme_pci.c
diff -u src/sys/dev/pci/if_hme_pci.c:1.34 src/sys/dev/pci/if_hme_pci.c:1.35
--- src/sys/dev/pci/if_hme_pci.c:1.34	Tue Mar 23 21:51:39 2010
+++ src/sys/dev/pci/if_hme_pci.c	Tue Mar 23 21:54:23 2010
@@ -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 */

Reply via email to