Date: Fri, 6 Jun 2003 12:42:28 +0200 (CEST) From: Dirk-Willem van Gulik <dirkx@webweaving.org> To: hackers@freebsd.org, <mobile@freebsd.org> Subject: Prism2 firmware upload support. Message-ID: <20030606123639.L801-100000@foem>
next in thread | raw e-mail | index | archive | help
After experimenting with the hostap drivers of linux (http://hostap.epitest.fi/) I've quite taken a liking of 'prism2_srec' which allows one to upload (experimental) firmware in the RAM of the prism2 card. And being able to do this form userland. Has anyone looked at the existing symbol firmware loading code in freebsd 5.x and looked at generalizing this with some ioctl()'s for upload/download of firmware (and propalby an extra SIOCGPRISM2INFO to give userland enough of an idea of the primary/secondary version numbers to be able to select/check the hex files) ? I've started coding some of this into the wi driver - but one thing which worries me is how to properly activate it; i.e. how does one from an ioctl a clean detach/probe sort of thing ? I take it that one cannot call wi_generic_detach(), wi_generic_attach() from inside the ioctol handler ? Thanks, Dw
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030606123639.L801-100000>