*BSD News Article 45021


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!bloom-beacon.mit.edu!spool.mu.edu!agate!agate!usenet
From: grefen@convex.convex.com (Stefan Grefen)
Newsgroups: comp.unix.bsd.netbsd.announce
Subject: PCMCIA for netbsd
Followup-To: poster
Date: 3 Jun 1995 16:17:03 -0700
Organization: Engineering, Convex Computer Corporation, Richardson, Tx USA
Lines: 92
Sender: cgd@agate.berkeley.edu
Approved: netbsd-announce-request@agate.berkeley.edu
Message-ID: <3qq9rm$aa1@hydra.convex.com>
NNTP-Posting-Host: agate.berkeley.edu
Summary: pcmcia0.6.tar.gz is ready
Keywords: netbsd,pcmcia
Status: RO

I've uploaded a new release of my pcmcia code for NetBSD to 
ftp.uni-mainz.de:/pub/NetBSD/misc_features/Stefan/kernel/pcmcia0.6.tar.gz
and ftp.netbsd.org:pub/incoming/pcmcia0.6.tar.gz.

I raised the status to Beta test. The SCSI stuff is still alpha.
This is the last release for NetBSD 1.0 the next one will be for -current.


-------- README -----------
This is BETA test stuff. It'll blow away your data and your machine.
You're lucky if you survive it!!
Use it only if you know what you're doing (but than you wouldn't be here 
anyway:-))

Credits:
    For the 3c589B to Ignatios Souvatzis 
			<ignatios@theory.cs.uni-bonn.de>
			<is@Beverly.Rhein.DE>
    To Magnus Harlander from Genua GbmH for a DE-650CT loaner.
			<Magnus.Harlander@GeNUA.DE>
    and Eric Hvozda for info on the CIS power structure (which unfortunaly
			      didn't made it in this release).
			<hvozda@ops.raynet.com>
	      

Devices known to work:
    D-Link DE-650 and DE-650CT ethernet cards.
    A IBM pcmcia ethernet card (also known as NE 4100 infomover).
    These cards are NE2000 compatible ones.
    The Linksys should be a DE-650 (or vice versa, I've seen this card
      with different  Labels on it).

    3COM  3c589B (should do 3c589 also) ethernet cards.

    Megahertz Modem 
    There is also a pratialy working Adaptec (Trantor) T460 driver.

changes from 0.5:
    Some bugfixes in the generic pcmcia-code
    Attaching with config-id is now the default
    The Instance counter in the CIS-register is set to 1
    Added 3c589B
    DE-650CT works now
    changed SCSI-Driver drom sun3/si.c to FreeBSD's 5380 driver.

*** This is the last release for NetBSD-1.0.  ***
All following releases will be for -current.

In sys is the kernel stuff needed. Patch your files.i386 conf.c if_ed.c and
intr.c with the diffs. 
conf/TUAREG is a sample config. make sure to first have the pcic(s) and
than the bus. And never refer to pcmicabus? always use pcmicabus0.

Before creating the binaries below patch the Makefile in include with the 
provided diff and do a make install or include it manualy:
    for copies : 
	rm -rf /usr/include/pcmcia
	mkdir /usr/include/pcmcia
	cp -p /sys/pcmcia/*.h /usr/include/pcmcia
    for symlinks : 
	rm -rf /usr/include/pcmcia
	ln -s /sys/pcmcia /usr/include
 
In sbin there are the basic programs needed to use unsupported 
cards or switch cards during runtime.
pcmcia_cntrl is used to switch the card on and off and to deattach and attach
supported cards.
This comes with a short manpage.

config_slot is used to configure a slot for an unsupported card and attach it.
This comes without a manpage. (Not finished yet)

In misc there a programs to dump the PCIC registers and the CIS information
of the card. Because these programs are hacks out of GPL'ed code I guess
they are GPL'ed too. Thanks to Barry Jaspan, bjaspan@gza.com.
There is a new program called dumpcor which dumps the available registers
in pcmcia cis memory.

The rest is under the normal NetBSD license.


Stefan Grefen, grefen@convex.com

--
Stefan Grefen                          Convex Computer GmbH, Frankfurt, Germany
grefen@convex.com		       Phone: +49-69-665270
fortune: "You can't make a program without broken egos."  
-- 
Stefan Grefen                          Convex Computer GmbH, Frankfurt, Germany
grefen@convex.com		       Phone: +49-69-665270