Subject: Re: device driver newbie question
To: Kamal Prasad <kamalpr@yahoo.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-kern
Date: 10/27/2002 18:45:37
On Sat, Oct 26, 2002 at 08:31:26AM -0700, Kamal Prasad wrote:
> Hello,
>  Im a newbie to writing device drivers under *BSD
> unix. can some one give me info about:-
> 1. when an isa device is probed,which routine decides
> and how to invoke a particular driver's
> xxx_isa_probe() function? same q for pci. is it that
> any arbit driver's probe function will/can claim that
> device to be its type?

It's the autoconfig code. See autoconf(9)

> 2. any book with real-life examples on writing device
> drivers for BSD unix?

Have a look at http://www2.fr.netbsd.org/Documentation/, especially the
kernel section.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--