Date: Thu, 28 Apr 2005 18:56:17 +0100 From: Bruce M Simpson <bms@spc.org> To: Cole <cole@opteqint.net> Cc: freebsd-hackers@freebsd.org Subject: Re: PCI Programming Message-ID: <20050428175617.GC1619@empiric.icir.org> In-Reply-To: <000901c54c19$3dba2570$4206000a@deadmind> References: <000901c54c19$3dba2570$4206000a@deadmind>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050428175617.GC1619>