#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/isapnp.h>
#include <linux/mutex.h>
#include <asm/io.h>
#include "../base.h"
Go to the source code of this file.
|
| MODULE_AUTHOR ("Jaroslav Kysela <[email protected]>") |
|
| MODULE_DESCRIPTION ("Generic ISA Plug & Play support") |
|
| module_param (isapnp_disable, int, 0) |
|
| MODULE_PARM_DESC (isapnp_disable,"ISA Plug & Play disable") |
|
| module_param (isapnp_rdp, int, 0) |
|
| MODULE_PARM_DESC (isapnp_rdp,"ISA Plug & Play read data port") |
|
| module_param (isapnp_reset, int, 0) |
|
| MODULE_PARM_DESC (isapnp_reset,"ISA Plug & Play reset all cards") |
|
| module_param (isapnp_verbose, int, 0) |
|
| MODULE_PARM_DESC (isapnp_verbose,"ISA Plug & Play verbose mode") |
|
| MODULE_LICENSE ("GPL") |
|
unsigned char | isapnp_read_byte (unsigned char idx) |
|
void | isapnp_write_byte (unsigned char idx, unsigned char val) |
|
int | isapnp_present (void) |
|
int | isapnp_cfg_begin (int csn, int logdev) |
|
int | isapnp_cfg_end (void) |
|
| EXPORT_SYMBOL (isapnp_protocol) |
|
| EXPORT_SYMBOL (isapnp_present) |
|
| EXPORT_SYMBOL (isapnp_cfg_begin) |
|
| EXPORT_SYMBOL (isapnp_cfg_end) |
|
| EXPORT_SYMBOL (isapnp_write_byte) |
|
| device_initcall (isapnp_init) |
|
| __setup ("noisapnp", isapnp_setup_disable) |
|
| __setup ("isapnp=", isapnp_setup_isapnp) |
|
#define _LTAG_ANSISTR 0x82 |
#define _LTAG_FIXEDMEM32RANGE 0x86 |
#define _LTAG_MEM32RANGE 0x85 |
#define _LTAG_MEMRANGE 0x81 |
#define _LTAG_UNICODESTR 0x83 |
#define _LTAG_VENDOR 0x84 |
#define _STAG_COMPATDEVID 0x03 |
#define _STAG_ENDDEP 0x07 |
#define _STAG_FIXEDIO 0x09 |
#define _STAG_IOPORT 0x08 |
#define _STAG_LOGDEVID 0x02 |
#define _STAG_PNPVERNO 0x01 |
#define _STAG_STARTDEP 0x06 |
#define _STAG_VENDOR 0x0e |
#define ISAPNP_CFG_ACTIVATE 0x30 /* byte */ |
#define ISAPNP_CFG_DMA 0x74 /* 2 * byte */ |
#define ISAPNP_CFG_IRQ 0x70 /* 2 * word */ |
#define ISAPNP_CFG_MEM 0x40 /* 4 * dword */ |
#define ISAPNP_CFG_PORT 0x60 /* 8 * word */ |
#define ISAPNP_MAX_PORT 8 |
__setup |
( |
"noisapnp" |
, |
|
|
isapnp_setup_disable |
|
|
) |
| |
device_initcall |
( |
isapnp_init |
| ) |
|
unsigned char isapnp_read_byte |
( |
unsigned char |
idx | ) |
|
void isapnp_write_byte |
( |
unsigned char |
idx, |
|
|
unsigned char |
val |
|
) |
| |
MODULE_DESCRIPTION |
( |
"Generic ISA Plug & Play support" |
| ) |
|
module_param |
( |
isapnp_rdp |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
isapnp_reset |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
module_param |
( |
isapnp_verbose |
, |
|
|
int |
, |
|
|
0 |
|
|
) |
| |
MODULE_PARM_DESC |
( |
isapnp_rdp |
, |
|
|
"ISA Plug & Play read data port" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
isapnp_reset |
, |
|
|
"ISA Plug & Play reset all cards" |
|
|
) |
| |
MODULE_PARM_DESC |
( |
isapnp_verbose |
, |
|
|
"ISA Plug & Play verbose mode" |
|
|
) |
| |
Initial value:= {
.name = "ISA Plug and Play",
.get = isapnp_get_resources,
.set = isapnp_set_resources,
.disable = isapnp_disable_resources,
}
Definition at line 997 of file core.c.