Commit a64061e1 authored by Thadeu Lima de Souza Cascardo's avatar Thadeu Lima de Souza Cascardo Committed by Jiri Kosina

doc: capitalization and other minor fixes in pnp doc

Signed-off-by: default avatarThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 9ce8e498
...@@ -57,7 +57,7 @@ PC standard floppy disk controller ...@@ -57,7 +57,7 @@ PC standard floppy disk controller
# cat resources # cat resources
DISABLED 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) 3.) check the device's possible configurations (optional)
# cat options # cat options
...@@ -139,7 +139,7 @@ Plug and Play but it is planned to be in the near future. ...@@ -139,7 +139,7 @@ Plug and Play but it is planned to be in the near future.
Requirements for a Linux PnP protocol: Requirements for a Linux PnP protocol:
1.) the protocol must use EISA IDs 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 ability to set resources is optional but preferred.
The following are PnP protocol related functions: The following are PnP protocol related functions:
...@@ -158,7 +158,7 @@ pnp_remove_device ...@@ -158,7 +158,7 @@ pnp_remove_device
- automatically will free mem used by the device and related structures - automatically will free mem used by the device and related structures
pnp_add_id 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 For more information consult the source of a protocol such as
/drivers/pnp/pnpbios/core.c. /drivers/pnp/pnpbios/core.c.
...@@ -167,7 +167,7 @@ For more information consult the source of a protocol such as ...@@ -167,7 +167,7 @@ For more information consult the source of a protocol such as
Linux Plug and Play Drivers 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 The New Way
........... ...........
...@@ -235,11 +235,10 @@ static int __init serial8250_pnp_init(void) ...@@ -235,11 +235,10 @@ static int __init serial8250_pnp_init(void)
The Old Way 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. 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, struct pnp_card *pnp_find_card(unsigned short vendor,
unsigned short device, unsigned short device,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment