Re: PCI Programming

From: Bruce M Simpson (bms_at_spc.org)
Date: 04/28/05

  • Next message: João Carlos Mendes Luís: "Re: Trouble with ataraid (was: 250G SATA drive?)"
    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"


  • Next message: João Carlos Mendes Luís: "Re: Trouble with ataraid (was: 250G SATA drive?)"