The twe driver requires all requests, including non-data requests, to be
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 22 Sep 2003 21:45:22 +0000 (21:45 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 22 Sep 2003 21:45:22 +0000 (21:45 +0000)
commitc4f9937c8746ab78697d51693fb3bf668c13b3ad
tree5fba6c9726de0c30e830a42e2e1c905f486f22e5
parent976ec718fa1ba64ae375404096eb0456ffc40805
The twe driver requires all requests, including non-data requests, to be
512-byte aligned.  The old malloc() code only did this incidentally.  We
have to explicitly size the request to a power-of-2 to get the required
alignment out of the slab allocator.

Report-by: David Rhodus <drhodus@catpa.com>
sys/dev/raid/twe/twe_freebsd.c
sys/dev/raid/twe/twereg.h