Subject: dk_establish()...
To: None <port-sparc@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: port-sparc
Date: 06/12/1995 19:18:20
As a couple of you know, I've been working on getting SCSI working on my
4/260. So far, I've plopped-in the Sun 3 `si' driver (as a stop-gap
until a faster one is available), and eliminated the need for CRAZYMAP()
by asking the Openprom (on machines where that is available) what it's
mapping is, except for Sun 4 machines, which set a non-frobbed mapping,
and v2 prom machines that just swap 0 and 3 (since I couldn't find an
`sd-targets' property, or anything similar...)
What I want to do now is make dk_establish() work without depending on
the device being on an esp (or even SCSI, for that matter, for benefit of
a future xy/xd driver).
I'm trying to come up with a really good way to do this, but any input
would be appreciated. I'm actually not quite sure where to start...
--------------------------------------------------------------------------
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: 408.866.1912
NAS: M/S 258-6 Work: 415.604.0935
Moffet Field, CA 94035 Pager: 415.428.6939