summaryrefslogtreecommitdiffstats
path: root/Documentation/pcmcia/driver-changes.txt
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2005-07-28 01:07:26 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-28 08:39:00 -0700
commit661d04c6f08c16ae63fb3be05d59ee99c6f3de52 (patch)
tree3f989ce2093f5fb326d2621265457080b0c4ea90 /Documentation/pcmcia/driver-changes.txt
parentd277ad0eaa056c632707271192ec5896548f15d6 (diff)
downloadop-kernel-dev-661d04c6f08c16ae63fb3be05d59ee99c6f3de52.zip
op-kernel-dev-661d04c6f08c16ae63fb3be05d59ee99c6f3de52.tar.gz
[PATCH] pcmcia: update documentation
Update the PCMCIA documentation to reflect some more, though older, changes. Parts extracted from an e-mail from Randy Dunlap with his consent. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/pcmcia/driver-changes.txt')
-rw-r--r--Documentation/pcmcia/driver-changes.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/pcmcia/driver-changes.txt b/Documentation/pcmcia/driver-changes.txt
index 59ccc63..403e7b4 100644
--- a/Documentation/pcmcia/driver-changes.txt
+++ b/Documentation/pcmcia/driver-changes.txt
@@ -56,3 +56,12 @@ This file details changes in 2.6 which affect PCMCIA card driver authors:
memory regions in-use. The name argument should be a pointer to
your driver name. Eg, for pcnet_cs, name should point to the
string "pcnet_cs".
+
+* CardServices is gone
+ CardServices() in 2.4 is just a big switch statement to call various
+ services. In 2.6, all of those entry points are exported and called
+ directly (except for pcmcia_report_error(), just use cs_error() instead).
+
+* struct pcmcia_driver
+ You need to use struct pcmcia_driver and pcmcia_{un,}register_driver
+ instead of {un,}register_pccard_driver
OpenPOWER on IntegriCloud