04 Jul, 2007

1 commit

  • Look at wait_drive_not_busy in drivers/ide/ide-taskfile.c:

    static u8 wait_drive_not_busy(ide_drive_t *drive)
    {
    ide_hwif_t *hwif = HWIF(drive);
    int retries = 100;
    u8 stat;

    /*
    * Last sector was transfered, wait until drive is ready.
    * This can take up to 10 usec, but we will wait max 1 ms
    * (drive_cmd_intr() waits that long).
    */
    while (((stat = hwif->INB(IDE_STATUS_REG)) & BUSY_STAT) && retries--)
    udelay(10);

    if (!retries)
    printk(KERN_ERR "%s: drive still BUSY!\n", drive->name);

    return stat;
    }

    `printk' is never called because `retries' never holds zero at the
    outside of `while' loop: when `retries' holds zero at the while's loop
    condition, `retries' will hold -1 at the if condition.

    Signed-off-by: Masatake YAMATO
    Cc: Chuck Ebbert
    Cc: joe@perches.com
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Masatake YAMATO
     

16 Oct, 2006

1 commit


01 Oct, 2006

1 commit

  • Right now ->flags is a bit of a mess: some are request types, and
    others are just modifiers. Clean this up by splitting it into
    ->cmd_type and ->cmd_flags. This allows introduction of generic
    Linux block message types, useful for sending generic Linux commands
    to block devices.

    Signed-off-by: Jens Axboe

    Jens Axboe
     

04 Jul, 2006

1 commit

  • Make use of local_irq_enable_in_hardirq() API to annotate places that enable
    hardirqs in hardirq context.

    Has no effect on non-lockdep kernels.

    Signed-off-by: Ingo Molnar
    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ingo Molnar
     

01 Jul, 2006

1 commit


23 Jun, 2006

1 commit


01 Apr, 2006

1 commit


16 Feb, 2006

1 commit


15 Jan, 2006

1 commit


20 Nov, 2005

2 commits


10 Nov, 2005

1 commit

  • This patch contains the following possible cleanups:
    - pci/cy82c693.c: make a needlessly global function static
    - remove the following unneeded EXPORT_SYMBOL's:
    - ide-taskfile.c: do_rw_taskfile
    - ide-iops.c: default_hwif_iops
    - ide-iops.c: default_hwif_transport
    - ide-iops.c: wait_for_ready

    Signed-off-by: Adrian Bunk
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Adrian Bunk
     

07 Nov, 2005

2 commits


18 Sep, 2005

1 commit

  • When doing ioctl HDIO_DRIVE_TASKFILE, the ide_task_t's request pointer is
    never set, but flagged_taskfile and do_rw_taskfile pass it as a parameter
    to the prehandler. The kernel will oops taskfile pio-out commands because
    of this (taskfile pio-in doesn't use a prehandler). This fix sets the
    request pointer at the time the request is created to stop this oops.

    Signed-off-by: Timothy Thelin
    Cc: "Bartlomiej Zolnierkiewicz"
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Timothy Thelin
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds