ISA Plug & Play support by Jaroslav Kysela <perex@suse.cz>
=========================================================

Interface /proc/isapnp
======================

Read commands:
--------------

No comment..

Write commands:
---------------

With the write interface you can simply activate or modify the configuration
for ISA Plug & Play devices. It is mainly useable for drivers which don't
use the ISA Plug & Play kernel support yet.

card <idx> <vendor>	- select PnP device by vendor identification
csn <CSN>		- select PnP device by CSN
dev <idx> <logdev>	- select logical device
auto			- run autoconfigure
activate		- activate logical device
deactivate		- deactivate logical device
port <idx> <value>	- set port 0-7 to value
irq <idx> <value>	- set IRQ 0-1 to value
dma <idx> <value>	- set DMA 0-1 to value
memory <idx> <value>	- set memory 0-3 to value
poke <reg> <value>	- poke configuration byte to selected register
pokew <reg> <value>	- poke configuration word to selected register
poked <reg> <value>	- poke configuration dword to selected register

Explanation:
	- variable <idx> begins with zero
	- variable <CSN> begins with one
	- <vendor> is in form 'PNP0000'
	- <logdev> is in form 'PNP0000'

Example:

cat > /proc/isapnp <<EOF
card 0 CSC7537
dev 0 CSC0000
port 0 0x534
port 1 0x388
port 2 0x220
irq 0 5
dma 0 1
dma 1 3
poke 0x70 9
activate
logdev 0 CSC0001
port 0 0x240
activate
EOF

Information for developers
==========================

Please, look to the linux/Documentation/isapnp.txt in the latest
development kernels.
