diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2005-06-27 19:28:45 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-27 21:03:18 -0400 |
commit | 5085cb26503a662a5cfdf53ce96fd606c1fbe9ba (patch) | |
tree | 93f4cc37b516e4f6a812b760e3a52d1b2d0dfd5b /drivers/pcmcia | |
parent | f4d7510d3d3b4501c94b4b00cf42fd58d49aeddd (diff) |
[PATCH] pcmcia: add some Documentation
Add some information useful for PCMCIA device driver authors to
Documentation/pcmcia/, and reference it in dmesg in case of hash mismatches.
Also add a reference to pcmciautils to Documentation/Changes. With recent
changes, you don't need to concern yourself with pcmcia-cs even if you have
PCMCIA hardware, so the example above the list needed to be adapted as well.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowksi.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/pcmcia')
-rw-r--r-- | drivers/pcmcia/ds.c | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/drivers/pcmcia/ds.c b/drivers/pcmcia/ds.c index bde9b0513d92..2c3c3da5368e 100644 --- a/drivers/pcmcia/ds.c +++ b/drivers/pcmcia/ds.c | |||
@@ -262,8 +262,6 @@ void cs_error(client_handle_t handle, int func, int ret) | |||
262 | } | 262 | } |
263 | EXPORT_SYMBOL(cs_error); | 263 | EXPORT_SYMBOL(cs_error); |
264 | 264 | ||
265 | #ifdef CONFIG_PCMCIA_DEBUG | ||
266 | |||
267 | 265 | ||
268 | static void pcmcia_check_driver(struct pcmcia_driver *p_drv) | 266 | static void pcmcia_check_driver(struct pcmcia_driver *p_drv) |
269 | { | 267 | { |
@@ -284,6 +282,9 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv) | |||
284 | "product string \"%s\": is 0x%x, should " | 282 | "product string \"%s\": is 0x%x, should " |
285 | "be 0x%x\n", p_drv->drv.name, did->prod_id[i], | 283 | "be 0x%x\n", p_drv->drv.name, did->prod_id[i], |
286 | did->prod_id_hash[i], hash); | 284 | did->prod_id_hash[i], hash); |
285 | printk(KERN_DEBUG "pcmcia: see " | ||
286 | "Documentation/pcmcia/devicetable.txt for " | ||
287 | "details\n"); | ||
287 | } | 288 | } |
288 | did++; | 289 | did++; |
289 | } | 290 | } |
@@ -291,12 +292,6 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv) | |||
291 | return; | 292 | return; |
292 | } | 293 | } |
293 | 294 | ||
294 | #else | ||
295 | static inline void pcmcia_check_driver(struct pcmcia_driver *p_drv) { | ||
296 | return; | ||
297 | } | ||
298 | #endif | ||
299 | |||
300 | 295 | ||
301 | #ifdef CONFIG_PCMCIA_LOAD_CIS | 296 | #ifdef CONFIG_PCMCIA_LOAD_CIS |
302 | 297 | ||