Ensure siop_acb alignment via malloc rather than let alignment depend
authorchuck <chuck@openbsd.org>
Sat, 3 Feb 1996 18:31:10 +0000 (18:31 +0000)
committerchuck <chuck@openbsd.org>
Sat, 3 Feb 1996 18:31:10 +0000 (18:31 +0000)
commit78730882b38550885a2085a409495cf0d377f0df
tree76094598e59132786270665a5a8e992b303538e1
parentfdd8ad518f3836b6b3db1678b03e47b43f9f7892
Ensure siop_acb alignment via malloc rather than let alignment depend
on the size of MI data structures that come before it in the softc.
Chip will not function properly if alignment is wrong.
Detected and fixed by: Chuck Cranor <chuck@ccrc.wustl.edu>
and Michael L Hitch <osymh@gemini.oscs.montana.edu>
sys/arch/mvme68k/dev/siop.c
sys/arch/mvme68k/dev/siopvar.h