tmp_suning_uos_patched/drivers
Russell King d2b1839425 [MMC] Set correct capacity for 1024-byte block cards
We were passing set_capacity() the capacity we calculated in terms of
the number of blocks on the card, which happened to be the right units
for 512-byte block cards.  However, with 1024-byte block cards, we
end up setting the capacity to half the number of blocks.  Fix this
by shifting by the appropriate amount.

Thanks to Todd Blumer for pointing this out.

Use get_capacity() to report the card capacity, rather than
recalculating it from the CSD information.

Finally, use our chosen IO block size for the SET_BLOCKLEN command
rather than the CSD read block size.  Currently these are equivalent,
but will not be in the future.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2005-12-22 23:21:38 +00:00
..
acorn
acpi Auto-update from upstream 2005-12-14 02:59:50 -05:00
atm [PATCH] drivers/atm/adummy.c NULL noise removal 2005-12-15 10:04:31 -08:00
base [PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class 2005-12-15 14:22:45 -08:00
block [PATCH] cciss: fix for deregister_disk 2005-12-12 22:31:16 -08:00
bluetooth
cdrom
char [SPARC]: Fix RTC build failure. 2005-12-19 14:52:24 -08:00
connector [PATCH] Add timestamp field to process events 2005-12-12 08:57:42 -08:00
cpufreq [PATCH] clean up lock_cpu_hotplug() in cpufreq 2005-11-28 14:42:23 -08:00
crypto
dio
eisa
fc4
firmware [PATCH] dell_rbu: NULL noise removal 2005-12-15 10:04:30 -08:00
hwmon [PATCH] hwmon: w83792d fix unused fan pins 2005-11-29 21:39:22 -08:00
i2c [PATCH] i2c: Fix i2c-mv64xxx compilation error 2005-12-16 11:25:25 -08:00
ide [PATCH] ide-cd: remove write-only cmd field from struct cdrom_info 2005-12-15 02:20:49 +01:00
ieee1394 ieee1394: write broadcast_channel only to select nodes (fixes device recognition) 2005-12-12 23:21:12 -05:00
infiniband IB/uverbs: track multicast group membership for userspace QPs 2005-11-29 16:57:01 -08:00
input [PATCH] drivers/input/misc/wistron_btns.c NULL noise removal 2005-12-15 10:04:31 -08:00
isdn
macintosh [PATCH] powerpc: g5 thermal overtemp bug 2005-12-20 09:25:33 -08:00
mca
md [PATCH] md: Change case of raid level reported in sys/mdX/md/level 2005-12-19 16:47:50 -08:00
media Initialize drivers/media/video/saa7134 late 2005-12-21 14:52:32 -08:00
message [PATCH] i2o: Do not disable pci device when it's in use 2005-12-18 11:19:43 -08:00
mfd [PATCH] input: fix ucb1x00-ts breakage after conversion to dynamic input_dev allocation 2005-12-12 08:57:45 -08:00
misc
mmc [MMC] Set correct capacity for 1024-byte block cards 2005-12-22 23:21:38 +00:00
mtd [PATCH] mtd onenand driver: use platform_device.h instead device.h 2005-12-18 16:29:11 -08:00
net [TG3]: Fix ethtool memory test 2005-12-19 16:27:28 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] PCI express must be initialized before PCI hotplug 2005-12-16 11:25:25 -08:00
pcmcia [PATCH] m32r: M3A-2170(Mappi-III) IDE support 2005-11-28 14:42:24 -08:00
pnp
rapidio
s390 [SCSI] zfcp: fix return code of zfcp_scsi_slave_alloc 2005-12-01 15:59:49 -06:00
sbus [PATCH] sbus/char/uctrl: missing prototypes and NULL noise removal 2005-12-15 10:01:28 -08:00
scsi Merge master.kernel.org:/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6 2005-12-21 15:09:50 -08:00
serial [SERIAL] 8250_pci: Remove redundant assignment, and mark fallthrough. 2005-12-07 18:11:26 +00:00
sh
sn
tc
telephony
usb [PATCH] usbcore: allow suspend/resume even if drivers don't support it 2005-12-21 14:46:35 -08:00
video [PATCH] Fix framebuffer console upside-down ywrap scrolling 2005-12-20 09:44:20 -08:00
w1
zorro
Kconfig
Makefile Link USB drivers later in the kernel 2005-12-03 20:50:51 -08:00