Subject: looking for if_wi_usb porting strategy suggestions
To: None <tech-net@NetBSD.org>
From: Jon Warner <firstname.lastname@example.org>
Date: 09/15/2004 17:03:48
I've ported if_wi_usb.c to NetBSD but I did it by bringing OpenBSD's
wi.c with it, which in hindsight seems like a very wrong thing to do.
I'd like to redo things using NetBSD's wi.c and net80211 framework. I'd
like suggestions from you folks more familiar with NetBSD as to how to
do this. The OpenBSD implementation uses a set of function pointers to
allow wi.c to use BUS specific I/O functions. Would working a framework
like this into wi.c make sense?