From owner-freebsd-hackers Thu Mar 5 00:50:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA05755 for freebsd-hackers-outgoing; Thu, 5 Mar 1998 00:50:25 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from isvara.net (root@[130.88.148.77]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA05664; Thu, 5 Mar 1998 00:50:07 -0800 (PST) (envelope-from freebsd@challenge.isvara.net) Received: from challenge.isvara.net ([130.88.66.5]) by isvara.net (8.8.7/8.8.7) with ESMTP id IAA10511; Thu, 5 Mar 1998 08:49:44 GMT Message-ID: <34FE672D.FA5A7F08@challenge.isvara.net> Date: Thu, 05 Mar 1998 08:49:49 +0000 From: freebsd@isvara.net X-Mailer: Mozilla 4.04 [en] (Win95; I) MIME-Version: 1.0 To: FreeBSD Hackers , FreeBSD Current Subject: Re: Ethernet card driver References: <199803042232.OAA22559@dingo.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mike Smith wrote: > > Hi, > > I'm about to write an ethernet card driver (3Com 3C905), utilizing > > all the features of the card (Bus master DMA transfers, etc). > > Sounds good. > > > What calls are required to interface to the kernel (I prefer not looking > > at other code, and writing from scratch) ? > > > > The functions {xxinit, xxattach, ...}have quite obvious names for what > > they should do, but I am unsure *exactly* what should be done were. > > The best thing for you to do _is_ to look at other code, for > real-world, known-functional examples. The fxp driver is an excellent > place to start from your point of view - it's another PCI busmaster > ethernet card, with known good performance and excellent reliability. I can look at other code, but I thought it may be quicker if anyone knew the information I was after (it would save digging through all the code), and I like writing code given a few base specificaitions, rather than seeing how someone elses' (potentally bogus) code. Any takers? Dan _____________________________________ Daniel J Blueman BSc Computation, UMIST, Manchester Email: blue@challenge.isvara.net Web: http://www.challenge.isvara.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message