Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187764
b: refs/heads/master
c: a64061e
h: refs/heads/master
v: v3
  • Loading branch information
Thadeu Lima de Souza Cascardo authored and Jiri Kosina committed Feb 5, 2010
1 parent 8852de5 commit 1fe0b7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9ce8e498ee58bb8a866a6c3c08fcb385ed66e9d2
refs/heads/master: a64061e100826be758145462f8c656ba17c9541b
13 changes: 6 additions & 7 deletions trunk/Documentation/pnp.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ PC standard floppy disk controller
# cat resources
DISABLED

- Notice the string "DISABLED". THis means the device is not active.
- Notice the string "DISABLED". This means the device is not active.

3.) check the device's possible configurations (optional)
# cat options
Expand Down Expand Up @@ -139,7 +139,7 @@ Plug and Play but it is planned to be in the near future.

Requirements for a Linux PnP protocol:
1.) the protocol must use EISA IDs
2.) the protocol must inform the PnP Layer of a devices current configuration
2.) the protocol must inform the PnP Layer of a device's current configuration
- the ability to set resources is optional but preferred.

The following are PnP protocol related functions:
Expand All @@ -158,7 +158,7 @@ pnp_remove_device
- automatically will free mem used by the device and related structures

pnp_add_id
- adds a EISA ID to the list of supported IDs for the specified device
- adds an EISA ID to the list of supported IDs for the specified device

For more information consult the source of a protocol such as
/drivers/pnp/pnpbios/core.c.
Expand All @@ -167,7 +167,7 @@ For more information consult the source of a protocol such as

Linux Plug and Play Drivers
---------------------------
This section contains information for linux PnP driver developers.
This section contains information for Linux PnP driver developers.

The New Way
...........
Expand Down Expand Up @@ -235,11 +235,10 @@ static int __init serial8250_pnp_init(void)
The Old Way
...........

a series of compatibility functions have been created to make it easy to convert

A series of compatibility functions have been created to make it easy to convert
ISAPNP drivers. They should serve as a temporary solution only.

they are as follows:
They are as follows:

struct pnp_card *pnp_find_card(unsigned short vendor,
unsigned short device,
Expand Down

0 comments on commit 1fe0b7c

Please sign in to comment.