Subject: Re: PC PCI cards in a real machine
To: None <>
From: Lloyd Parkes <>
List: port-sparc64
Date: 02/24/2002 16:17:48
> Here is what I currently have in my nvramrc
> 	dev /packages/SUNW,builtin-drivers
> 	: class018000   
> 	8f 9 my-space + " config-b!" $call-parent class010100
> 	;
> 	device-end

I tried looking up config-b! to work out what this code snippet does. I 
couldn't see anything, so settled for cutting and pasting Sun's code. After 
applying a small amount of thought to the matter, I have worked out what this 
does. It updates the PCI/ATA programming interface register to force the 
device in to native PCI mode. The ATA specs that I have list bits 4-7 of this 
register as reserved, so this correct code for random PCI ATA cards is in fact

	dev /packages/SUNW,builtin-drivers
	: class018000   
	f 9 my-space + " config-b!" $call-parent class010100