K 10 svn:author V 5 luigi K 8 svn:date V 27 2007-02-22T19:10:48.000000Z K 7 svn:log V 957 MFC: sync firmware(9) and iwi(4) with the version in HEAD (the changes are related and this is why the MFC is done together). In detail: firmware(9): Cleanup and document the implementation of firmware(9) based on a version that i posted earlier on the -current mailing list, and subsequent feedback received. See the commit log luigi 2007-02-15 17:21:31 UTC The core of the change is just in sys/firmware.h and kern/subr_firmware.c, while other files are just adaptation of the clients to the ABI change (const-ification of some parameters and hiding of internal info, so this is fully compatible at the binary level). Note that in RELENG_6 sys/arm/xscale/ixp425, sys/dev/ipw and sys/dev/mxge do not exist or have not been updated to use firmware(9). iwi(4) + add debugging code IWI_LOCK_CHECK() to print (under sysctl debug.iwi) missing locks; + make sure that iwi_ioctl() wait until the previous iwi_cmd() terminates. END