android_kernel_google_msm/drivers
Haavard Skinnemoen f4b7f927b5 mmc: Add per-card debugfs support
For each card successfully added to the bus, create a subdirectory under
the host's debugfs root with information about the card.

At the moment, only a single file is added to the card directory for
all cards: "state". It reflects the "state" field in struct mmc_card,
indicating whether the card is present, readonly, etc.

For MMC and SD cards (not SDIO), another file is added: "status".
Reading this file will ask the card about its current status and
return it. This can be useful if the card just refuses to respond to
any commands, which might indicate that the card state is not what the
MMC core thinks it is (due to a missing stop command, for example.)

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-07-27 01:26:17 +02:00
..
accessibility
acpi driver core: fix a lot of printk usages of bus_id 2008-07-21 21:54:53 -07:00
amba
ata
atm
auxdisplay
base sysdev: Add utility functions for simple int/ulong variable sysdev attributes 2008-07-21 21:55:02 -07:00
block device create: block: convert device_create to device_create_drvdata 2008-07-21 21:54:41 -07:00
bluetooth
cdrom
char drivers/char/nvram.c: Removed duplicated include 2008-07-23 09:36:23 -07:00
clocksource
connector
cpufreq Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/davej/cpufreq 2008-07-21 15:10:37 -07:00
cpuidle sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
crypto
dca Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/djbw/async_tx 2008-07-23 12:03:18 -07:00
dio
dma I/OAT: I/OAT version 3.0 support 2008-07-22 17:30:57 -07:00
edac powerpc/cell/edac: Log a syndrome code in case of correctable error 2008-07-22 10:39:36 +10:00
eisa driver core: remove DEVICE_NAME_SIZE define 2008-07-21 21:54:53 -07:00
firewire
firmware
gpio gpio: pcf857x: add lock and handle more chips 2008-07-22 09:59:41 -07:00
gpu
hid Merge branches 'upstream' and 'upstream-fixes' into for-linus 2008-07-23 15:26:10 +02:00
hwmon device create: hwmon: convert device_create to device_create_drvdata 2008-07-21 21:54:42 -07:00
i2c Driver Core: add ability for class_for_each_device to start in middle of list 2008-07-21 21:54:47 -07:00
ide ide: small whitespace fixes 2008-07-23 19:56:02 +02:00
ieee1394 Driver Core: add ability for class_find_device to start in middle of list 2008-07-21 21:54:47 -07:00
infiniband infiniband: make cm_device use a struct device and not a kobject. 2008-07-21 21:54:49 -07:00
input
isdn Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6 2008-07-22 13:13:47 -07:00
leds
lguest
macintosh device create: macintosh: convert device_create to device_create_drvdata 2008-07-21 21:54:43 -07:00
mca driver core: remove DEVICE_NAME_SIZE define 2008-07-21 21:54:53 -07:00
md Merge git://git.kernel.org/pub/scm/linux/kernel/git/agk/linux-2.6-dm 2008-07-21 10:30:10 -07:00
media device create: dvb: convert device_create to device_create_drvdata 2008-07-21 21:54:42 -07:00
memstick driver core: remove DEVICE_ID_SIZE define 2008-07-21 21:54:53 -07:00
message driver core: remove KOBJ_NAME_LEN define 2008-07-21 21:54:52 -07:00
mfd
misc HP iLO driver 2008-07-21 21:55:02 -07:00
mmc mmc: Add per-card debugfs support 2008-07-27 01:26:17 +02:00
mtd MTD: handle pci_name() being const 2008-07-21 21:55:03 -07:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-07-22 19:09:51 -07:00
nubus
of
oprofile
parisc
parport
pci driver core: remove KOBJ_NAME_LEN define 2008-07-21 21:54:52 -07:00
pcmcia
pnp
power Driver Core: add ability for class_for_each_device to start in middle of list 2008-07-21 21:54:47 -07:00
ps3
rapidio
rtc Driver Core: add ability for class_find_device to start in middle of list 2008-07-21 21:54:47 -07:00
s390 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6 2008-07-22 19:09:51 -07:00
sbus sparc64: fix up bus_id changes in sparc core code 2008-07-21 21:55:03 -07:00
scsi ide-scsi: convert to using the new atapi_flags 2008-07-23 19:56:01 +02:00
serial kgdb: kgdboc console poll hooks for mpsc uart 2008-07-23 11:30:16 -05:00
sh
sn
spi Driver Core: add ability for class_find_device to start in middle of list 2008-07-21 21:54:47 -07:00
ssb
tc
telephony
thermal
uio UIO: add generic UIO platform driver 2008-07-21 21:54:55 -07:00
usb Re-delete zombie 'drivers/usb/serial/airprime.c' file 2008-07-22 19:06:00 -07:00
video Merge branch 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc 2008-07-22 13:16:01 -07:00
virtio
w1
watchdog
xen sysdev: Pass the attribute to the low level sysdev show/store function 2008-07-21 21:55:02 -07:00
zorro
Kconfig
Makefile