Re: PCI Programming
From: Bruce M Simpson (bms_at_spc.org)
Date: 04/28/05
- Previous message: Cole: "PCI Programming"
- In reply to: Cole: "PCI Programming"
- Next in thread: Scott Long: "Re: PCI Programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 28 Apr 2005 18:56:17 +0100 To: Cole <cole@opteqint.net>
On Thu, Apr 28, 2005 at 07:39:33PM +0200, Cole wrote:
> If anyone has any sample code or anything that I could read to proceed any further, it would be greatly appreciated.
Have a look at the man page in section 9 for pci. You should be able to find
most of what you need there. You should probably also look at one of the
simpler PCI drivers in the kernel tree to see how similar things are done
in FreeBSD land. Though it looks like the idiom you're trying to port may
not be needed (you can just match the IDs in your driver's probe or attach
routine, when the pci bus parent driver calls them through NEWBUS).
Regards,
BMS
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Cole: "PCI Programming"
- In reply to: Cole: "PCI Programming"
- Next in thread: Scott Long: "Re: PCI Programming"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]