diff options
author | nyan <nyan@FreeBSD.org> | 2003-02-26 13:46:40 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2003-02-26 13:46:40 +0000 |
commit | 6d9584a3616aa0eb5aa2c40554cfce356c0bd7e6 (patch) | |
tree | 4ed05e4123fc30c50c7671fcd7ba74f2513ff7e4 /sys/pci | |
parent | c054fa155d151298050c4758250efee250795a2b (diff) | |
download | FreeBSD-src-6d9584a3616aa0eb5aa2c40554cfce356c0bd7e6.zip FreeBSD-src-6d9584a3616aa0eb5aa2c40554cfce356c0bd7e6.tar.gz |
Use rman_get_start() to get start address of the resource.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/intpm.c | 4 |
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 |