Subject: Device driver autoconfig question
To: port-mac68k <port-mac68k@NetBSD.ORG>
From: Hauke Fath <saw@sun0.urz.uni-heidelberg.de>
List: port-mac68k
Date: 10/02/1996 02:34:12
Hi y'all,

here is a question out of the middle of work: 

I am currently struggling with autoconfig code for a device driver (IWM,
to be precise). Now I observed that other ports' floppy controller
fdc_match() routines get a device name string referenced by 'void *aux'
to match their own name against (which is usually hard-coded). 

For the IWM, I always receive an empty string. The IWM attaches to obio
(on-board I/O) - does obio hold back the name string or not generate it?
Where in the autoconfig code jungle is the information set up that is
given by *aux? How does control flow? 

Seems I've still got miles to wade through all this. The Red Book does
barely touch the surface of the 4.4BSD derived MI autoconfig mechanism
-- anyone know better sources of information?


        hauke

-- 
"It's never straight up and down"  (DEVO)