aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ed/if_ed.c
diff options
context:
space:
mode:
authorJake Burkholder <jake@FreeBSD.org>2003-03-25 00:07:06 +0000
committerJake Burkholder <jake@FreeBSD.org>2003-03-25 00:07:06 +0000
commit227f9a1c5853566d8177f487b69a896b1121f84d (patch)
tree553401a4d58eb98b1e208a82c3ba2c32b848a225 /sys/dev/ed/if_ed.c
parentd829c3dfeea2cdb6da513864c71dc7547415a6fd (diff)
downloadsrc-227f9a1c5853566d8177f487b69a896b1121f84d.tar.gz
src-227f9a1c5853566d8177f487b69a896b1121f84d.zip
- Add vm_paddr_t, a physical address type. This is required for systems
where physical addresses larger than virtual addresses, such as i386s with PAE. - Use this to represent physical addresses in the MI vm system and in the i386 pmap code. This also changes the paddr parameter to d_mmap_t. - Fix printf formats to handle physical addresses >4G in the i386 memory detection code, and due to kvtop returning vm_paddr_t instead of u_long. Note that this is a name change only; vm_paddr_t is still the same as vm_offset_t on all currently supported platforms. Sponsored by: DARPA, Network Associates Laboratories Discussed with: re, phk (cdevsw change)
Notes
Notes: svn path=/head/; revision=112569
Diffstat (limited to 'sys/dev/ed/if_ed.c')
-rw-r--r--sys/dev/ed/if_ed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 8d1c84996fd1..c84daf335934 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -568,7 +568,7 @@ ed_probe_WD80x3_generic(dev, flags, intr_vals)
for (i = 0; i < memsize; ++i) {
if (sc->mem_start[i]) {
- device_printf(dev, "failed to clear shared memory at %lx - check configuration\n",
+ device_printf(dev, "failed to clear shared memory at %x - check configuration\n",
kvtop(sc->mem_start + i));
/*
@@ -903,7 +903,7 @@ ed_probe_3Com(dev, port_rid, flags)
for (i = 0; i < memsize; ++i)
if (sc->mem_start[i]) {
- device_printf(dev, "failed to clear shared memory at %lx - check configuration\n",
+ device_printf(dev, "failed to clear shared memory at %x - check configuration\n",
kvtop(sc->mem_start + i));
return (ENXIO);
}