summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pccard/misc/INSTALL
blob: c9f36593d072b87fd2bb4576a25e07a6db96eec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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.
OpenPOWER on IntegriCloud