busdma - Fix bouncebuffer operation for 64 bit builds / mountroot & boot issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 19 Dec 2009 20:00:46 +0000 (12:00 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 19 Dec 2009 20:00:46 +0000 (12:00 -0800)
commita307f702575f4bb237d02027df0c96234ae498d6
tree400f49139bbfb1df5aef580c6c2fdcd299d84fd9
parentf2642d5a2226d0727a6b81e4904fc81463c7b721
busdma - Fix bouncebuffer operation for 64 bit builds / mountroot & boot issues

* BUF_SPACE_MAXADDR was incorrectly defined for 64 bit builds, effectively
  disabling bounce buffers.  Fixed.

* This created issues with drivers (particularly NATA) which only support
  32 bit physical addresses, causing x86_64 machines to fail to boot or
  to blow up.

Reported-by: several people
sys/cpu/x86_64/include/bus_dma.h