Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Apr 2008 08:46:12 +0930
From:      Benjamin Close <Benjamin.Close@clearchain.com>
To:        Rick Hunnicutt <rk_hunnicutt@yahoo.com>
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: New driver writer
Message-ID:  <47FBFCBC.5060506@clearchain.com>
In-Reply-To: <535058.32207.qm@web37606.mail.mud.yahoo.com>
References:  <535058.32207.qm@web37606.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47FBFCBC.5060506>