On Feb 26, 2013, at 4:09 PM, Chuck Guzis <cclist at sydex.com> wrote:
This is way off-topic, but maybe someone has run into
this problem.
I have a server here running OpenBSD (x86 32-bit) and I don't want to change the OS,
but I would like to add a Linksys USB-to-Ethernet adapter (2f09). Said adapter comes with
the source to a Linux driver, but I've never worked at the driver level in OpenBSD.
Does anyone know how difficult it would be to modify/recompile the Linux source to work
in OpenBSD?
They're quite different, though having the driver as a guide to how
to use the hardware is handy in the absence of a datasheet. Are
you sure there's not already a driver? I don't see "2f09" as a
Linksys product, but this would suggest that there is at least
partially-working support for the 300M, which seems to be their
currently-available adaptor:
http://comments.gmane.org/gmane.os.openbsd.tech/21147
Most commercial USB->[Ethernet|WiFi] adaptors use one of a small
handful of common chips, and OpenBSD is generally fairly good about
driver support for them. You may find that the driver you seek is
already available, though you may need to update to a newer OpenBSD
version to find it.
tl;dr It's not an easy drop-in to run a Linux driver from source on
OpenBSD. Better to find an existing one.
- Dave