netbsd-help: Re: driver help

Subject: Re: driver help
To: jagan molleti <bond76@msn.com>
From: David Brownlee <abs@netbsd.org>
List: netbsd-help
Date: 09/19/2000 08:10:20
	This assumes you have a copy of the NetBSD syssrc.tar.gz file
	extracted locally - otherwise you can work through the source
	at http://cvsweb.netbsd.org/
	Taking the AdvanSys ULTRA WIDE PCI SCSI controller as an example:
	a) Look for the device in sys/dev/<bus>/files.<bus> (in
	 this case sys/dev/pci/files.pci), or if it is port
	 specific (eg: the VAXstation 2000 onboard MFM-controller)
	 in /sys/arch/<arch>/conf/files.<arch>)
	b) The attach section should read something like:
	# AdvanSys ULTRA WIDE SCSI controllers
	# device declaration in sys/conf/files
	attach adw at pci with adw_pci
	file dev/pci/adw_pci.c adw_pci
	file dev/ic/adwlib.c adw_pci
	file dev/ic/adwmcode.c adw_pci
	 This defines the common backend (dev/ic/adw*) which
	 may be shared across multiple ports and busses, and
	 the bus specific frontend (dev/pci/adw_pci.c) which 
	 'glues' the backend driver to the bus.
	 
 David/absolute
			 -- www.netbsd.org: A pmap for every occasion --
On 2000年9月19日, jagan molleti wrote:
> sir/madam,
> how do we get/extract driver code for a particular storage controller.
> 
> -jagan___________________________________________________________
> Get a sneak preview of the new MSN: http://preview.msn.com/
> 

AltStyle によって変換されたページ (->オリジナル) /