From a5459e94a5b42d1f9b7210362c3902f40f466026 Mon Sep 17 00:00:00 2001 From: Yoshihiro Takahashi Date: Wed, 26 Feb 2003 13:46:40 +0000 Subject: [PATCH] Use rman_get_start() to get start address of the resource. --- sys/pci/intpm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/pci/intpm.c b/sys/pci/intpm.c index edf8461061ca..3c5bb338bd2a 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