Subject: updated pcmcia/APM test distribution
To: None <port-i386@NetBSD.ORG>
From: John Kohl <jtk@kolvir.arlington.ma.us>
List: port-i386
Date: 03/27/1996 19:06:38
ftp://sipb.mit.edu/pub/netbsd/apm+pcmcia-dist.19960327.tar, applies to
supped sources of that date.

It includes a README file inside plus a gzipped patch file.

REMINDER: 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:-))

This kit now has combined PCMCIA and APM stuff in one big package.  It's
less work for me this way.

If you're updating a previous patchkit, you need to rebuild your PCMCIA
devices with this patchkit.  You should also remove the old patches
first since some header file names and file locations have changed.
You will need to rebuild your config file.

Apply the patch from /usr/src with 'patch -p0 -s <patchfile' (-s means
silent except for errors--otherwise you may lose patch errors in the
mist).

Hot swapping is still a bit kludgy in user space.  The man page for
pcmciad still lies; you just list device file names in the config file
and it will automatically try to config/unconfig cards as they are
inserted/removed.  The TODO list includes improving the daemon to allow
action scripts and specific per-card configuration tweaks (including
config detail modloading).

If you encounter configuration problems/hangs/etc, please try to
reproduce the problem.  Include debugging options PCMCIA_ISA_DEBUG,
PCIC_DEBUG=0x27, and PCMCIA_DEBUG in your kernel config.  Try to write
down what's going on in the procedure of hanging the system.
If your system appears to hang while probing a card, please try removing
that card and see if the configuration steps continue.

I'm particularly interested to hear reports from folks with:
	* Compaq laptops (or others with the VL82146-series controller)
	* multiple i82365 PCMCIA controllers.
as to whether things work or fail.

See README.pcmcia.SG for Stefan Grefen's original README file with
credits/etc.

Thanks to Matthias Drochner <drochner@zelux6.zel.kfa-juelich.de> for the
config_detach stuff.

==John Kohl
<jtk@netbsd.org>