31 Oct, 2005

3 commits

  • Paul Mackerras
     
  • Remove some unneeded casts.
    Avoid an assignment in the case of kmalloc failure.
    Break a few instances of if (foo) whatever; into two lines.

    Signed-off-by: Jesper Juhl
    Acked-by: Jens Axboe
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • The only call to ide_cdrom_capacity is in code protected by
    CONFIG_PROC_FS, so when that is not enabled, the compiler complains:

    drivers/ide/ide-cd.c:3259: warning: `ide_cdrom_capacity' defined but not used

    Here is a patch that fixes that. It provides some space savings for
    embedded systems that are not using procfs, as well:

    text data bss dec hex filename
    - 33540 6504 1032 41076 a074 drivers/ide/ide-cd.o
    + 33468 6480 1032 40980 a014 drivers/ide/ide-cd.o

    Signed-off-by: Amos Waterland
    Cc: Jens Axboe
    Cc: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Amos Waterland
     

30 Oct, 2005

1 commit

  • - converted to platform bus
    - removed pci dependencies
    - removed virt_to_phys/phys_to_virt calls

    System now can root off of a disk.

    Signed-off-by: Ralf Baechle

    diff --git a/Documentation/mips/AU1xxx_IDE.README b/Documentation/mips/AU1xxx_IDE.README
    new file mode 100644

    Pete Popov
     

29 Oct, 2005

2 commits

  • The previous patch adding the ability to nest struct class_device
    changed the paramaters to the call class_device_create(). This patch
    fixes up all in-kernel users of the function.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • I was recently given an old Travan tape drive and asked to do something
    useful with it. The ide-scsi + st (+serverworks ide controller) combo
    results in a hard lockup of the machine which I have not had the energy to
    debug, so I turned to ide-tape (which seems to work). The system in
    question debian stable, using udev to manage /dev.

    The following patch to ide-tape.c allows udev to create the cdev nodes for
    my drive.

    Cc: Gadi Oxman
    Cc: Greg KH
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Will Dyson
     

12 Oct, 2005

1 commit


10 Oct, 2005

1 commit

  • The logic in ide_do_request() doesn't guarantee that both drives will be
    serviced after a call. It may "forget" to service one in some
    circumstances, including when one of the drive is suspended (it will
    eventually fail to service the slave when the master is suspended for
    example). This prevents the wakeup requests that gets queued on wakeup
    from sleep from beeing serviced in some cases when 2 drives are sharing
    an IDE bus.

    The problem is deep enough in the way this code works (and there are
    probably a few other problematic but rare corner cases) and fixing it
    would require some major rethinking of the way IDE decides which channel
    to service. This is not 2.6.14 material. However, in the meantime,
    Bart has accepted this simple workaround that will fix the crash on
    wakeup from sleep since this specific corner case is actually hitting
    users to get into 2.6.14.

    Signed-off-by: Benjamin Herrenschmidt
    Signed-off-by: Linus Torvalds

    Benjamin Herrenschmidt
     

29 Sep, 2005

1 commit


26 Sep, 2005

1 commit


19 Sep, 2005

1 commit


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
     

13 Sep, 2005

2 commits


12 Sep, 2005

1 commit


11 Sep, 2005

4 commits


10 Sep, 2005

1 commit


08 Sep, 2005

1 commit


05 Sep, 2005

3 commits


28 Aug, 2005

1 commit


19 Aug, 2005

5 commits


10 Aug, 2005

1 commit


05 Aug, 2005

1 commit

  • Patch fixes oops caused by ide interfaces not on pci. pcibus_to_node
    causes the kernel to crash otherwise. Patch also adds a BUG_ON to check if
    hwif is NULL.

    Signed-off-by: Christoph Lameter
    Signed-off-by: Shai Fultheim
    Signed-off-by: Ravikiran Thirumalai
    Cc: Andi Kleen
    Cc: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ravikiran G Thirumalai
     

02 Aug, 2005

1 commit


28 Jul, 2005

5 commits

  • If the product-id-string contains the '+' , '&' ,'_', it was not converted
    properly from the /etc/pcmcia/config(pcmcia-cs config file).

    Signed-off-by: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Komuro
     
  • SanDisk ConnectPlus has two functions. Function 0 is prism2 card, currently
    only supported by HostAP (not in the kernel). Function 1 is 128M flash,
    supported by ide-cs. This patch adds an entry for function 1 to ide-cs.c.

    Signed-off-by: Pavel Roskin
    Signed-off-by: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Pavel Roskin
     
  • a) update entry in CREDITS for Jesper Juhl
    b) remove email address from source files so it's only listed in credits.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • `gcc -W' likes to complain if the static keyword is not at the beginning of
    the declaration. This patch fixes all remaining occurrences of "inline
    static" up with "static inline" in the entire kernel tree (140 occurrences in
    47 files).

    While making this change I came across a few lines with trailing whitespace
    that I also fixed up, I have also added or removed a blank line or two here
    and there, but there are no functional changes in the patch.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     
  • * Added abstraction layer for subarchs.
    * Added v32 support.
    * Renamed driver.

    Signed-off-by: Mikael Starvik
    Acked-by: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Mikael Starvik
     

13 Jul, 2005

1 commit


08 Jul, 2005

1 commit