From owner-freebsd-hackers@FreeBSD.ORG Wed Apr 18 01:00:40 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1076E16A406 for ; Wed, 18 Apr 2007 01:00:40 +0000 (UTC) (envelope-from alan@fromorbit.com) Received: from thing1.auspcmarket.com.au (mail.fromorbit.com [203.31.169.65]) by mx1.freebsd.org (Postfix) with ESMTP id C914B13C459 for ; Wed, 18 Apr 2007 01:00:39 +0000 (UTC) (envelope-from alan@fromorbit.com) Received: from [192.168.1.99] (unknown [192.168.1.99]) by thing1.auspcmarket.com.au (Postfix) with ESMTP id 874B65C19; Wed, 18 Apr 2007 11:00:33 +1000 (EST) From: Alan Garfield To: Yar Tikhiy In-Reply-To: <20070417171622.GB95814@comp.chem.msu.su> References: <1176096815.4064.6.camel@hiro.auspc.com.au> <20070409.222300.-1350498722.imp@bsdimp.com> <20070417171622.GB95814@comp.chem.msu.su> Content-Type: text/plain Date: Wed, 18 Apr 2007 11:00:32 +1000 Message-Id: <1176858032.4426.3.camel@hiro.auspc.com.au> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: RFI: Ethernet driver ported from Linux X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Apr 2007 01:00:40 -0000 On Tue, 2007-04-17 at 21:16 +0400, Yar Tikhiy wrote: > > In addition to the other advise, you might also look at if_ed.c. It > > is a little complicated since it talks to real hardware, and that > > hardware is, ummm, a little icky. > > That little thing Alan is writing a driver for should be simpler > and clearer than the ed(4) hw, so Alan's driver will be a source > of knowledge itself when it's complete. :-) It can be a good > companion for if_edsc, as the latter doesn't work with hardware at > all and fails to illustrate some important points due to that. Thanks for your comments. :) I just wish I could figure out what all this rtrequest/arp stuff was about so I could finish it. :) If anyone wants to look at the code just pop me an email. It's based on a GPL driver (although there isn't anything really left of it other than #defines and a few comments, the code is all new) so I don't know how/if I can get it added to FreeBSD HEAD. Anyway, back to figuring out arp. UGH! -A.