From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 7 Jul 2009 17:04:02 +0100 From: Ethan Grammatikidis To: 9fans@9fans.net Message-Id: <20090707170402.f3275955.eekee57@fastmail.fm> In-Reply-To: <20090707123631.9eadea88.eekee57@fastmail.fm> References: <3aaafc130907061639m3e1ff6d3m38b258fb8f79d73a@mail.gmail.com> <20090707123631.9eadea88.eekee57@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [9fans] my ts7200 port Topicbox-Message-UUID: 15600214-ead5-11e9-9d60-3106f5b1d025 On Tue, 7 Jul 2009 12:36:31 +0100 Ethan Grammatikidis wrote: > On Mon, 6 Jul 2009 23:50:14 -0400 > erik quanstrom wrote: > > > On Mon Jul 6 19:41:36 EDT 2009, jrm8005@gmail.com wrote: > > > On Mon, Jul 6, 2009 at 7:37 PM, ron minnich wrote: > > > > I just ported the linux driver > > > > > > I'm interested in how hard this is, and how it might be made easier. > > > > that depends. i've found that porting a driver or working backwards > > from an example is often harder than just writing a new driver. > > this is because the hard part is understanding how the hardware works, > > not in coding that knowledge up. and unfortunately, looking at a > > linux driver hasn't been very instructive to me. > > > > i'm sure one could create a compatability layer for certain driver types > > along the lines of ndiswrapper. but given the instability of linux > > internal interfaces, this might be finished about the same time as > > duke nukem forever. > > What about emulating a usb-ethernet device in software? (Assuming the beagle board's usb interface can operate in gadget mode as opposed to host mode.) The Linux kernel does a good job of emulating a usb ethernet device, I use it extensively. I rather assumed the Bitsy port had this already, but perhaps not. Huh, I just realised that if both ends of the fake ethernet link run Plan 9 then the only advantage of what I suggested would be that both ends of the link are known quantities with open source code. Now I wonder if it might be simpler to implement 9p directly over USB. -- Ethan Grammatikidis Those who are slower at parsing information must necessarily be faster at problem-solving.