In article <pine.neb.4.64.1902051752580.16...@speedy.whooppee.com>, Paul Goyette <p...@whooppee.com> wrote: >> Module Name: src >> Committed By: mrg >> Date: Tue Feb 5 09:28:00 UTC 2019 >> >> Modified Files: >> src/sys/dev/raidframe: rf_netbsdkintf.c >> >> Log Message: >> fix the previous: >> >> rf_netbsd32 is only relevant on _LP64 as all the structures are >> the same for arm32 oabi/eabi compat. >> >> only do it for _LP64 *and* COMAPT_NETBSD32. > >This doesn't really do the job... > >Consider a kernel with raid(4) built-in, but _not_ built with >COMPAT_NETBSD32. The raid code will not have any calls to the compat >hooks. So even if you subsequently modload the compat_netbsd32 module >there won't be any way to call the compat code. > >The main raidframe driver code needs to be built _without_ depending on >COMPAT_NETBSD32 being defined at all.
There is also the consideration of compat_32 for all the _80 ioctls... christos