diff options
Diffstat (limited to 'Documentation/pcmcia/driver-changes.txt')
| -rw-r--r-- | Documentation/pcmcia/driver-changes.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/pcmcia/driver-changes.txt b/Documentation/pcmcia/driver-changes.txt index 59ccc63838c1..403e7b4dcdd4 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: | |||
| 56 | memory regions in-use. The name argument should be a pointer to | 56 | memory regions in-use. The name argument should be a pointer to |
| 57 | your driver name. Eg, for pcnet_cs, name should point to the | 57 | your driver name. Eg, for pcnet_cs, name should point to the |
| 58 | string "pcnet_cs". | 58 | string "pcnet_cs". |
| 59 | |||
| 60 | * CardServices is gone | ||
| 61 | CardServices() in 2.4 is just a big switch statement to call various | ||
| 62 | services. In 2.6, all of those entry points are exported and called | ||
| 63 | directly (except for pcmcia_report_error(), just use cs_error() instead). | ||
| 64 | |||
| 65 | * struct pcmcia_driver | ||
| 66 | You need to use struct pcmcia_driver and pcmcia_{un,}register_driver | ||
| 67 | instead of {un,}register_pccard_driver | ||
