freebsd-dev/usr.sbin/pccard/misc/INSTALL
Poul-Henning Kamp f2b46629be The userland part of Andrew McRae's PCMCIA/PCCARD code.
This is not quite finished yet, and therefore I have not added it to the
usr.sbin/Makefile yet.
I collected a bunch of Andrews small programs into one: pccardc /phk

Reviewed by:	phk
Submitted by:	Andrew McRae <andrew@mega.com.au>
1995-08-24 09:03:04 +00:00

35 lines
944 B
Plaintext

INSTALLATION
------------
1. Copy the source files from the sys directory into your
/sys (or where-ever) tree. There are a number of .diff files
that can be used to modify the following files:
sys/conf/files
sys/i386/i386/autoconf.c
sys/i386/i386/conf.c
There is also a sys/pccard directory that should reside in
/sys/pccard
2. Make a symbolic link like:
ln -s /sys/pccard /usr/include/pccard
3. Add a line in the kernel config file:
controller crd0
and rebuild the kernel. Optionally, the PCIC slot driver can
and also built into the kernel by adding the line:
device pcic0
4. Create a device for each slot e.g.
foreach i (0 1)
mknod /dev/card$i c 50 $i
end
5. You can use lkm to load the PCIC controller. It can
be unloaded at will. Once loaded, you should assign
some memory via pccardmem for use with read/write.
Normally cardd does this, but I haven't quite finished yet.