From owner-freebsd-hackers Wed Jan 17 6:14:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from birch.ripe.net (birch.ripe.net [193.0.1.96]) by hub.freebsd.org (Postfix) with ESMTP id BCE3337B401; Wed, 17 Jan 2001 06:14:23 -0800 (PST) Received: from x54.ripe.net (x54.ripe.net [193.0.1.54]) by birch.ripe.net (8.8.8/8.8.8) with ESMTP id PAA04198; Wed, 17 Jan 2001 15:14:21 +0100 (CET) Received: (from marks@localhost) by x54.ripe.net (8.8.8/8.8.5) id PAA12141; Wed, 17 Jan 2001 15:14:21 +0100 (CET) Date: Wed, 17 Jan 2001 15:14:21 +0100 From: Mark Santcroos To: Julian Elischer Cc: "Michael C . Wu" , freebsd-hackers@freebsd.org, benno@freebsd.org Subject: Re: [IrDA] adding new network stack Message-ID: <20010117151421.B29173@ripe.net> References: <20010116103212.C12906@ripe.net> <3A649154.B345C634@elischer.org> <20010116194307.A28087@ripe.net> <3A64B6C2.6D0ADF97@elischer.org> <20010116232326.A6513@ripe.net> <20010116233409.A9413@peorth.iteration.net> <20010117113949.A29173@ripe.net> <3A65A18C.B5529BA9@elischer.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: <3A65A18C.B5529BA9@elischer.org>; from julian@elischer.org on Wed, Jan 17, 2001 at 05:43:40AM -0800 X-Handles: MS6-6BONE, MS32260-NIC, MS18417-RIPE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Jan 17, 2001 at 05:43:40AM -0800, Julian Elischer wrote: > > You may also want to talk to: > > Roger Hardiman > > who expressed an interest in doing IrDA last June.. > > probably also worth puting out a general call for interested parties. I'll keep that in mind, hopefully the subject attracts the potential interested people :) > Then just look at the drivers for various line cards > such as the if_sr.c > file and if_lmc.c > > and check out the sample netgraph file, > ng_sample.c > and the sample device driver (share/examples/drivers/make_device_driver.sh) > (warning only up-to date in -current) I've been looking alot at other drivers already. My device driver is heavily based on the scheme in the example. But I've made it a module so I can develop it outside the source tree. > If you want to send me your driver I'll even make a first attempt to bolt a > netgraph interface to it. > (or you can try and I'll check it for you) Thanks for the offer, I will do a first try myself, to learn more about it, but will certainly come to you when I can't work things out. > check the 'blueprints' article on netgraph in daemon-news > for a good run-down on what it all means (though it's abot out of date > and had a few small > > lastly, read netgraph(4) done (doing) > here is a list of existing netgraph drivers: > > sys/dev/lmc/if_lmc.c sys/dev/usb/udbp.c sys/i386/isa/if_ar.c > sys/i386/isa/if_sr.c sys/i4b/driver/i4b_ing.c sys/netgraph/ng_ether.c > sys/netgraph/ng_tty.c sys/pci/if_mn.c sys/dev/musycc/musycc.c *nods* already found them > > > Do you have the IrDA ISA driver? If so, for what chipset? > > > Is yours the National Semiconductor Super IO chipsets? > > > Can I see the IrDA ISA driver? :) > > > > I've written the PCI IrDA driver for my Toshiba laptop, the OBOE chipset. > > I am willing to write other drivers too, if someone can supply me with the > > needed hardware to develop for. > > One thing I will look at tonight is an old Tulip laptop I have laying > > around somewhere. It has an infrared port, but I have no idea what > > chipset. > > maybe just old async IR.. we should try handle that too :-) *nods* for the driver part we can use ALOT from Linux > for a sample PCI driver do: > (on current) > cd /usr/share/examples/drivers > sh make_device_driver.sh irda > then examine the generated files.. > :-) Like I said above, I've used the info in there but created my own module, to be able to develop outside the tree. (I'm fairly new to FreeBSD/CVS so I do not know an easy way to work on a cvstree and keep it up to date(when your changes don't get uploaded) at the same time) I don't know what is the normal behaviour, but maybe it's possible to get an early framework into -CURRENT sooner or later? (If it doesn't interfere with other code) Within a day or so I hope to release my first pieces of code. In the next day I will try to insert a little netgraph code into it. Mark -- Mark Santcroos RIPE Network Coordination Centre PGP KeyID: 1024/0x3DCBEB8D PGP Fingerprint: BB1E D037 F29D 4B40 0B26 F152 795F FCAB 3DCB EB8D To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message