diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-21 17:25:16 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-21 17:25:16 -0400 |
commit | b65378898c2eefb20f419632c1199bc0592e2f79 (patch) | |
tree | 052bb72d329c44790f91fc8097b8500d4774d02c /Documentation | |
parent | 157b6ceb13e4b4148ee03dd517dbe88748943125 (diff) | |
parent | 5b917a1420d3d1a9c8da49fb0090692dc9aaee86 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (22 commits)
pcmcia: synclink_cs: fix information leak to userland
pcmcia: don't call flush_scheduled_work() spuriously
serial_cs: drop spurious flush_scheduled_work() call
pcmcia/yenta: guide users in case of problems with O2-bridges
pcmcia: fix unused function compile warning
pcmcia: vrc4173_cardu: Fix error path for pci_release_regions and pci_disable_device
pcmcia: add a few debug statements
pcmcia: remove obsolete and wrong comments
pcmcia: avoid messages on module (un)loading
pcmcia: move driver name to struct pcmcia_driver
pcmcia: remove the "Finally, report what we've done" message
pcmcia: use autoconfiguration feature for ioports and iomem
pcmcia: introduce autoconfiguration feature
pcmcia: Documentation update
pcmcia: convert pcmcia_request_configuration to pcmcia_enable_device
pcmcia: move config_{base,index,regs} to struct pcmcia_device
pcmcia: simplify IntType
pcmcia: simplify Status, ExtStatus register access
pcmcia: remove Pin, Copy configuration register access
pcmcia: move Vpp setup to struct pcmcia_device
...
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/pcmcia/driver-changes.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/pcmcia/driver-changes.txt b/Documentation/pcmcia/driver-changes.txt index 26c0f9c00545..dd04361dd361 100644 --- a/Documentation/pcmcia/driver-changes.txt +++ b/Documentation/pcmcia/driver-changes.txt | |||
@@ -1,4 +1,29 @@ | |||
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 | |||
14 | * pcmcia_request_configuration -> pcmcia_enable_device (as of 2.6.36) | ||
15 | pcmcia_request_configuration() got renamed to pcmcia_enable_device(), | ||
16 | as it mirrors pcmcia_disable_device(). Configuration settings are now | ||
17 | stored in struct pcmcia_device, e.g. in the fields config_flags, | ||
18 | config_index, config_base, vpp. | ||
19 | |||
20 | * pcmcia_request_window changes (as of 2.6.36) | ||
21 | Instead of win_req_t, drivers are now requested to fill out | ||
22 | struct pcmcia_device *p_dev->resource[2,3,4,5] for up to four ioport | ||
23 | ranges. After a call to pcmcia_request_window(), the regions found there | ||
24 | are reserved and may be used immediately -- until pcmcia_release_window() | ||
25 | is called. | ||
26 | |||
2 | * pcmcia_request_io changes (as of 2.6.36) | 27 | * pcmcia_request_io changes (as of 2.6.36) |
3 | Instead of io_req_t, drivers are now requested to fill out | 28 | Instead of io_req_t, drivers are now requested to fill out |
4 | struct pcmcia_device *p_dev->resource[0,1] for up to two ioport | 29 | struct pcmcia_device *p_dev->resource[0,1] for up to two ioport |