New driver writer

Benjamin Close Benjamin.Close at clearchain.com
Tue Apr 8 23:31:41 UTC 2008


Rick Hunnicutt wrote:
> Hello all,
>  
> I'm writing a BSD PCI character driver and have many questions. I have the architecture handbook and it answers some questions but leaves much unaddressed. For example, the parameters on the open/close/read/write calls don't seems to be address. Am I expected to dig around the code base to decipher their purpose or have I missed a vital area of documentation?
>  
> Thank you for your help.
>  
> Rick
>
>   
Hi Rick,
    There's a lot of man pages for kernel calls, but yes for some things 
you'll have to dig around in code.

As a start try looking in:
    module(9)
    driver(9)
   
    /usr/src/sys/sys
    /usr/share/examples/kld

Cheers,
    Benjamin


More information about the freebsd-drivers mailing list