Subject: Re: PCI device interface and interrupts
To: Marc Lanoue <>
From: Manuel Bouyer <>
List: tech-kern
Date: 09/20/2000 22:20:08
On Wed, Sep 20, 2000 at 03:40:13PM -0400, Marc Lanoue wrote:
> I want to validate some IP stack functions by using a PCI Ethernet card
> plugged into my computer.  So, I don't want to create a new device driver,
> nor do I want to add certain IP protocol functionalities, I just want to
> validate some code that I have and that will talk to another Ethernet device
> using the PCI Ethernet card I have as the link with the other server.  I've
> looked at the device driver source code to extract the useful functions that
> I wanted.  But now, since I'm kind of new with NetBSD, is there is simpler
> way to interface with the PCI Ethernet card than looking at the device
> driver source code to extract the I/O functions that I need?   

I don't really understand what you want to do here. Is it about porting a
device driver to another OS than NetBSD, or what ?

The input routines of an ethernet driver are the callbacks set in the
if_start and if_ioctl members of the struct ifnet.

Manuel Bouyer <>