[SPARCbook] Which BSD, and will anyone ever do the pcmcia bridge?

Super-User helsod at algonet.se
Fri Mar 7 18:21:49 CST 2003


John Appleby wrote:
> 
> > [mailto:sparcbook-bounces at sunhelp.org] On Behalf Of Koyote
> >
> > I've asked to see what has been done so far. It's far beyond
> > my experience to write drivers, but I've got some local
> > people willing to help. If I can get a hold of the source.
> 
> I would be willing to stab at the driver if I could get my 3GX working
> again. I'm lacking an OS on it and don't have a copy of Solaris 2.6...
> 

I would be interested to have a look at the code as well. I did some
reading up on Linux device drivers
and today I looked at the Sparc FCode writing files from Sun. I poked
around a little in the boot prom and
tried out the stuff in the document. It was pretty cool stuff. 
The sparc architecture seem to have a sophisticated approach to hardware
interfacing that should make things
a bit easier. Being an embedded c programmer mostly, this should be
pretty close to home once I have all the layers that the os puts between
the applications and the hardware figured out. 

I also found this pretty nice book about writing Linux device drivers
for free:
http://www.xml.com/ldd/chapter/book/ I've been reading that one a bit.  


So where can I find the source code that exists for the sbus pcmcia
device driver in Linux? Someone mentioned "stubs", what does that mean. 

I have been using the kernel from Tomas Roehrs homepage at
www.nj-onramp.com
for a while now on the Sparcbook 3GX. It has been running nicely so far,
there are many useful appliacations that seem to compile and run so much
easier on Linux, that I can now use on my Sparcbook. It seems that the
source code for the kernel was not available though. Can I find it at
some distribution site, or perhaps you could put the source at the page
as well?  

Would it not make most sense to try and write a driver for the pcmcia
controller for Linux, since that would 
possibly enable a great many pcmcia devices for which Linux drivers
exist, including wifi cards.
But I guess having a wavelan driver for Solaris would be quite nice too.

The technical documentation in the Sparcbook technical manual available
at the Tadpole homepage is pretty detailed, including memory layouts and
register adresses etc. If any additional info is required Tadpole may
perhaps give it out if we ask nicely.

Thanks,
Peter


More information about the SPARCBook mailing list