Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 1998 14:32:29 -0800
From:      Mike Smith <mike@smith.net.au>
To:        freebsd@isvara.net
Cc:        FreeBSD Hackers <hackers@FreeBSD.ORG>
Subject:   Re: Ethernet card driver 
Message-ID:  <199803042232.OAA22559@dingo.cdrom.com>
In-Reply-To: Your message of "Wed, 04 Mar 1998 12:25:01 GMT." <34FD481D.B3CCB346@challenge.isvara.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com



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?199803042232.OAA22559>