From owner-freebsd-questions Wed Nov 7 5: 0: 2 2001 Delivered-To: freebsd-questions@freebsd.org Received: from pandora.cs.kun.nl (pandora.cs.kun.nl [131.174.33.4]) by hub.freebsd.org (Postfix) with ESMTP id 663B937B416; Wed, 7 Nov 2001 04:59:54 -0800 (PST) Received: from odin.cs.kun.nl by pandora.cs.kun.nl via odin.cs.kun.nl [131.174.33.33] with ESMTP id fA7Cxrk22660 (8.11.3/3.19); Wed, 7 Nov 2001 13:59:53 +0100 (MET) Date: Wed, 7 Nov 2001 13:59:53 +0100 (MET) From: Adriaan de Groot Reply-To: To: "FreeBSD Newbies @ FreeBSD.org" Cc: "FreeBSD Questions @ FreeBSD.org" Subject: Re: Learn device drivers In-Reply-To: <019701c1640c$2aef5e40$d702a8c0@Gautham> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 2 Nov 2001, Gautham Ganapathy wrote: > Where can i get info on writing device drivers for FreeBSD ? Is there any > book available for this ? Also, are they similar to Linux drivers ? Let me second that. I've got a Myson MTD803 NIC -- which is *definitely* not an rl driver supported device -- and even the source to a driver that claims to work under FreeBSD 2.2. It starts with #include "bpfilter.h" which doesn't exist (anymore). Then there's lots of device-driver related CPP macros that have changed since 2.2. I'd like to port this driver to -stable or -current, so that I can use this NIC. Advice? Or should I just thrash around and try to copy an existing driver, like rl? On a similar note, has anyone looked into the via kt266a southbridge (via8233) sound? It claims to be H/W SB compatible, but the SB driver and the via82c686 driver can't handle it (it's PCI ID is via:3059, whereas the via82c686 has PCI ID via:3058). Hm, not even the ALSA project has a driver for it. This bodes ill .. -- +------------------------------+--------------------------------------------+ + Adriaan de Groot + Project: FRESCoS + + adridg@cs.kun.nl + Private: adridg@sci.kun.nl + + Kamer A6020 tel. 024 3652272 + http://www.cs.kun.nl/~adridg/frescos/ + To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message