Kernel - Completely remove DFLTPHYS
authorFrançois Tigeot <ftigeot@wolfpond.org>
Thu, 22 Mar 2012 18:17:48 +0000 (19:17 +0100)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 30 Mar 2012 20:23:42 +0000 (22:23 +0200)
commitd83666e0134c4fe447b61f17ca7f22f4418b2d9b
treef8fcbd1d9e53ec8e8d5b6c47f14aa302dfc4ca24
parent13977d5d2754f0487f3719b851bdfddc6acdfed5
Kernel - Completely remove DFLTPHYS

* There is no need to have two different macros define the maximum
  allowed IO size for low-level operations; replace DFLTPHYS by
  MAXPHYS in the entire kernel.

* Old drivers typically used DFLTPHYS without a second thought,
  assuming it would always be the same value; they may have hard
  limitations and break if bigger I/O sizes are suddenly used.
  Be sure to explicitely limit their maximum allowed I/O size to
  64KB and keep them working.
17 files changed:
share/examples/scsi_target/scsi_target.c
share/man/man9/physio.9
sys/bus/cam/cam_periph.c
sys/bus/firewire/fwmem.c
sys/cpu/i386/include/param.h
sys/cpu/x86_64/include/param.h
sys/dev/disk/md/md.c
sys/dev/disk/nata/ata-disk.c
sys/dev/disk/nata/atapi-cd.c
sys/dev/disk/nata/atapi-fd.c
sys/dev/disk/nata/atapi-tape.c
sys/dev/raid/ida/ida_disk.c
sys/kern/kern_physio.c
sys/kern/vfs_mount.c
sys/vfs/devfs/devfs_vnops.c
sys/vfs/hpfs/hpfs_vnops.c
sys/vfs/mfs/mfs_vfsops.c