summaryrefslogtreecommitdiffstats
path: root/sys/pci/intpm.c
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2003-02-26 13:46:40 +0000
committernyan <nyan@FreeBSD.org>2003-02-26 13:46:40 +0000
commit6d9584a3616aa0eb5aa2c40554cfce356c0bd7e6 (patch)
tree4ed05e4123fc30c50c7671fcd7ba74f2513ff7e4 /sys/pci/intpm.c
parentc054fa155d151298050c4758250efee250795a2b (diff)
downloadFreeBSD-src-6d9584a3616aa0eb5aa2c40554cfce356c0bd7e6.zip
FreeBSD-src-6d9584a3616aa0eb5aa2c40554cfce356c0bd7e6.tar.gz
Use rman_get_start() to get start address of the resource.
Diffstat (limited to 'sys/pci/intpm.c')
-rw-r--r--sys/pci/intpm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c
index edf8461..3c5bb33 100644
--- a/sys/pci/intpm.c
+++ b/sys/pci/intpm.c
@@ -673,10 +673,10 @@ intpm_attach(device_t dev)
sciic->smbsh=rman_get_bushandle(res);
#ifdef __i386__
- device_printf(dev,"%s %x\n",
+ device_printf(dev,"%s %lx\n",
(sciic->smbst==I386_BUS_SPACE_IO)?
"I/O mapped":"Memory",
- sciic->smbsh);
+ rman_get_start(res));
#endif
OpenPOWER on IntegriCloud