diff options
author | Dominik Brodowski | 2005-06-28 01:28:45 +0200 |
---|---|---|
committer | Linus Torvalds | 2005-06-28 03:03:18 +0200 |
commit | 5085cb26503a662a5cfdf53ce96fd606c1fbe9ba (patch) | |
tree | 93f4cc37b516e4f6a812b760e3a52d1b2d0dfd5b /drivers/pcmcia/ds.c | |
parent | [PATCH] pcmcia: more IDs for TDK multifunction cards (diff) | |
download | kernel-qcow2-linux-5085cb26503a662a5cfdf53ce96fd606c1fbe9ba.tar.gz kernel-qcow2-linux-5085cb26503a662a5cfdf53ce96fd606c1fbe9ba.tar.xz kernel-qcow2-linux-5085cb26503a662a5cfdf53ce96fd606c1fbe9ba.zip |
[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/ds.c')
-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) } EXPORT_SYMBOL(cs_error); -#ifdef CONFIG_PCMCIA_DEBUG - static void pcmcia_check_driver(struct pcmcia_driver *p_drv) { @@ -284,6 +282,9 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv) "product string \"%s\": is 0x%x, should " "be 0x%x\n", p_drv->drv.name, did->prod_id[i], did->prod_id_hash[i], hash); + printk(KERN_DEBUG "pcmcia: see " + "Documentation/pcmcia/devicetable.txt for " + "details\n"); } did++; } @@ -291,12 +292,6 @@ static void pcmcia_check_driver(struct pcmcia_driver *p_drv) return; } -#else -static inline void pcmcia_check_driver(struct pcmcia_driver *p_drv) { - return; -} -#endif - #ifdef CONFIG_PCMCIA_LOAD_CIS |