Date: Thu, 05 Mar 1998 08:49:49 +0000 From: freebsd@isvara.net To: FreeBSD Hackers <hackers@FreeBSD.ORG>, FreeBSD Current <current@FreeBSD.ORG> Subject: Re: Ethernet card driver Message-ID: <34FE672D.FA5A7F08@challenge.isvara.net> References: <199803042232.OAA22559@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34FE672D.FA5A7F08>