Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 130725
b: refs/heads/master
c: d96be87
h: refs/heads/master
i:
  130723: 0288ff4
v: v3
  • Loading branch information
Sascha Hauer authored and Pierre Ossman committed Feb 2, 2009
1 parent b1ded75 commit 7c60203
Show file tree
Hide file tree
Showing 32 changed files with 985 additions and 546 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 017f51788ffdc16b0168143e38ea2c1f3551d983
refs/heads/master: d96be879ff469759af6d7fcebdb66237c18da6f8
63 changes: 0 additions & 63 deletions trunk/Documentation/block/queue-sysfs.txt

This file was deleted.

36 changes: 36 additions & 0 deletions trunk/arch/arm/plat-mxc/include/mach/mmc.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#ifndef ASMARM_ARCH_MMC_H
#define ASMARM_ARCH_MMC_H

#include <linux/mmc/host.h>

struct device;

/* board specific SDHC data, optional.
* If not present, a writable card with 3,3V is assumed.
*/
struct imxmmc_platform_data {
/* Return values for the get_ro callback should be:
* 0 for a read/write card
* 1 for a read-only card
* -ENOSYS when not supported (equal to NULL callback)
* or a negative errno value when something bad happened
*/
int (*get_ro)(struct device *);

/* board specific hook to (de)initialize the SD slot.
* The board code can call 'handler' on a card detection
* change giving data as argument.
*/
int (*init)(struct device *dev, irq_handler_t handler, void *data);
void (*exit)(struct device *dev, void *data);

/* available voltages. If not given, assume
* MMC_VDD_32_33 | MMC_VDD_33_34
*/
unsigned int ocr_avail;

/* adjust slot voltage */
void (*setpower)(struct device *, unsigned int vdd);
};

#endif
6 changes: 3 additions & 3 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ static void drive_stat_acct(struct request *rq, int new_io)
int rw = rq_data_dir(rq);
int cpu;

if (!blk_fs_request(rq) || !disk || !blk_do_io_stat(disk->queue))
if (!blk_fs_request(rq) || !disk || !blk_queue_io_stat(disk->queue))
return;

cpu = part_stat_lock();
Expand Down Expand Up @@ -1667,7 +1667,7 @@ static void blk_account_io_completion(struct request *req, unsigned int bytes)
{
struct gendisk *disk = req->rq_disk;

if (!disk || !blk_do_io_stat(disk->queue))
if (!disk || !blk_queue_io_stat(disk->queue))
return;

if (blk_fs_request(req)) {
Expand All @@ -1686,7 +1686,7 @@ static void blk_account_io_done(struct request *req)
{
struct gendisk *disk = req->rq_disk;

if (!disk || !blk_do_io_stat(disk->queue))
if (!disk || !blk_queue_io_stat(disk->queue))
return;

/*
Expand Down
8 changes: 0 additions & 8 deletions trunk/block/blk.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,4 @@ static inline int blk_cpu_to_group(int cpu)
#endif
}

static inline int blk_do_io_stat(struct request_queue *q)
{
if (q)
return blk_queue_io_stat(q);

return 0;
}

#endif
10 changes: 0 additions & 10 deletions trunk/drivers/ide/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -465,16 +465,6 @@ config BLK_DEV_CS5535

It is safe to say Y to this question.

config BLK_DEV_CS5536
tristate "CS5536 chipset support"
depends on X86_32
select BLK_DEV_IDEDMA_PCI
help
This option enables support for the AMD CS5536
companion chip used with the Geode LX processor family.

If unsure, say N.

config BLK_DEV_HPT366
tristate "HPT36X/37X chipset support"
select BLK_DEV_IDEDMA_PCI
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/ide/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ obj-$(CONFIG_BLK_DEV_CMD64X) += cmd64x.o
obj-$(CONFIG_BLK_DEV_CS5520) += cs5520.o
obj-$(CONFIG_BLK_DEV_CS5530) += cs5530.o
obj-$(CONFIG_BLK_DEV_CS5535) += cs5535.o
obj-$(CONFIG_BLK_DEV_CS5536) += cs5536.o
obj-$(CONFIG_BLK_DEV_SC1200) += sc1200.o
obj-$(CONFIG_BLK_DEV_CY82C693) += cy82c693.o
obj-$(CONFIG_BLK_DEV_DELKIN) += delkin_cb.o
Expand Down
Loading

0 comments on commit 7c60203

Please sign in to comment.