On Fri, May 16, 2014 at 02:38:49PM +0000, Alexey Suslikov wrote: > Please take a look at my (unfinished) attempt to bring > MediaTek/Ralink RT5370/RT5372 support to run(4). > > http://marc.info/?l=openbsd-tech&m=138903287819764&w=2
I did take a look at this some time ago. After looking at FreeBSD's run driver, it became apparent that they've done so much work they've effectively become the new run(4) upstream. Instead of using your diff as a base I deviced to go over the entire diff between OpenBSD's and FreeBSD's run drivers and pluck all changes related to new hardware support. The result effectively includes your diff and much more. FreeBSD have done even more (IBSS and hostap support are particularly interesting), so there's still more work to do if you'd like to help. I've got run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R) working now (by switching to the correct firmware image ;), and will send my diff soon.