diff options
Diffstat (limited to 'Documentation/pcmcia/driver-changes.txt')
| -rw-r--r-- | Documentation/pcmcia/driver-changes.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/pcmcia/driver-changes.txt b/Documentation/pcmcia/driver-changes.txt index 62a029f24f46..dd04361dd361 100644 --- a/Documentation/pcmcia/driver-changes.txt +++ b/Documentation/pcmcia/driver-changes.txt | |||
| @@ -1,4 +1,16 @@ | |||
| 1 | This file details changes in 2.6 which affect PCMCIA card driver authors: | 1 | This file details changes in 2.6 which affect PCMCIA card driver authors: |
| 2 | * pcmcia_loop_config() and autoconfiguration (as of 2.6.36) | ||
| 3 | If struct pcmcia_device *p_dev->config_flags is set accordingly, | ||
| 4 | pcmcia_loop_config() now sets up certain configuration values | ||
| 5 | automatically, though the driver may still override the settings | ||
| 6 | in the callback function. The following autoconfiguration options | ||
| 7 | are provided at the moment: | ||
| 8 | CONF_AUTO_CHECK_VCC : check for matching Vcc | ||
| 9 | CONF_AUTO_SET_VPP : set Vpp | ||
| 10 | CONF_AUTO_AUDIO : auto-enable audio line, if required | ||
| 11 | CONF_AUTO_SET_IO : set ioport resources (->resource[0,1]) | ||
| 12 | CONF_AUTO_SET_IOMEM : set first iomem resource (->resource[2]) | ||
| 13 | |||
| 2 | * pcmcia_request_configuration -> pcmcia_enable_device (as of 2.6.36) | 14 | * pcmcia_request_configuration -> pcmcia_enable_device (as of 2.6.36) |
| 3 | pcmcia_request_configuration() got renamed to pcmcia_enable_device(), | 15 | pcmcia_request_configuration() got renamed to pcmcia_enable_device(), |
| 4 | as it mirrors pcmcia_disable_device(). Configuration settings are now | 16 | as it mirrors pcmcia_disable_device(). Configuration settings are now |
