]> git.neil.brown.name Git - history.git/commit
[PCMCIA] Add, fix, update PCMCIA debugging.
authorRussell King <rmk@flint.arm.linux.org.uk>
Sun, 14 Mar 2004 20:12:21 +0000 (20:12 +0000)
committerRussell King <rmk@flint.arm.linux.org.uk>
Sun, 14 Mar 2004 20:12:21 +0000 (20:12 +0000)
commit34e5bea9f27ad301de31cf67d9dea6b982fa084e
treec56f8da3571b83457ebf0fa65d25ee15290a0fdb
parente214725f749c1ca58ac87bcebb23d5c06170e62d
[PCMCIA] Add, fix, update PCMCIA debugging.

The PCMCIA core debugging assumes that "pc_debug" is a global.  If
pc_debug were to be a global, it would pollute the kernel's global
name space, potentially clashing with PCMCIA drivers and even ds.c.

We also get rid of PCMCIA using the "DEBUG" macro, which is the
standard macro to enable debugging in the kernel.  Instead, we
introduce cs_dbg() for core PCMCIA debugging, ds_dbg() for driver
services debugging, and similar macros in the socket drivers.
14 files changed:
drivers/pcmcia/Kconfig
drivers/pcmcia/Makefile
drivers/pcmcia/au1000_generic.c
drivers/pcmcia/au1000_pb1x00.c
drivers/pcmcia/bulkmem.c
drivers/pcmcia/cardbus.c
drivers/pcmcia/cistpl.c
drivers/pcmcia/cs.c
drivers/pcmcia/cs_internal.h
drivers/pcmcia/ds.c
drivers/pcmcia/i82365.c
drivers/pcmcia/sa11xx_core.c
drivers/pcmcia/tcic.c
drivers/pcmcia/yenta_socket.c