Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2001 10:56:45 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        mark tinguely <tinguely@web.cs.ndsu.nodak.edu>
Cc:        dragonfire820@mediaone.net, freebsd-hackers@FreeBSD.ORG
Subject:   Re: PCI Device Drivers
Message-ID:  <Pine.BSF.4.21.0111071056200.71994-100000@InterJet.elischer.org>
In-Reply-To: <200111071441.fA7EfQp95037@web.cs.ndsu.nodak.edu>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 7 Nov 2001, mark tinguely wrote:

> I put a generic 4.4 PCI device driver skeleton at:
> 
> 	http://www.cs.ndsu.nodak.edu/~tinguely/xxx_pci.c
> 
> it is more that you wanted but less fluff than a complete driver.
> It is a skeleton C code, not a tutorial on newbus, dma, etc issues.
> 
> The ioctl() interface depends on how you interface your code with the
> kernel (network driver is different from a character driver). I think
> you are implementing a character driver, see the character driver information
> in /usr/share/examples/drivers/make_device_driver.sh. how to add your driver
> to the kernel configuration is simular to the changes made in

In -current, the example IS a PCI driver...

> make_device_driver.sh. yes, I know you want a complete
> make_pci_device_driver.sh file, but I am too lazy.
> 
> --mark tinguely
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


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?Pine.BSF.4.21.0111071056200.71994-100000>