22 May, 2007

1 commit


29 Apr, 2007

2 commits

  • Convert pdc_adma, pata_cs5520, pata_isapnp, pata_ixp4xx_cf,
    pata_legacy, pata_mpc52xx, pata_mpiix, pata_pcmcia, pata_pdc2027x,
    pata_platform, pata_qdi, pata_scc and pata_winbond to new init model.

    * init_one()'s now follow more consistent init order

    * cs5520 now registers one host with two ports, not two hosts. If any
    of the two ports are disabled, it's made dummy as other drivers do.

    Tested pdc_adma and pata_legacy. Both are as broken as before. The
    rest are compile tested only.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • Roll-up of ->cable_detect feature addition patches, authored and
    signed-off-by Alan Cox.

    Signed-off-by: Jeff Garzik

    Jeff Garzik
     

06 Mar, 2007

1 commit

  • pata_legacy fails to detect the disk on my old ISA/VLB 486:
    it starts to probe io=0x1f0 ctr=0x3f6 irq=15, complains
    loudly about IDENTIFYs timing out, and finally fails.
    (Sorry I couldn't capture the kernel's boot messages.)

    It turns out that the driver's mapping from io to irq in
    legacy_irq[] is wrong: index 0 for io=0x1f0 has irq=15 but
    should have irq=14, and index 1 for io=0x170 has irq=14 but
    should have irq=15. This is confirmed by a comparison with
    include/asm-i386/ide.h:ide_default_irq().

    This patch swaps the first two elements in legacy_irq[],
    which makes pata_legacy work on my 486.

    Signed-off-by: Mikael Pettersson
    Signed-off-by: Jeff Garzik

    Mikael Pettersson
     

03 Mar, 2007

1 commit


26 Feb, 2007

1 commit


16 Feb, 2007

1 commit


10 Feb, 2007

3 commits

  • This patch is against each libata driver.

    Two IRQ calls are added in ata_port_operations.
    - irq_on() is used to enable interrupts.
    - irq_ack() is used to acknowledge a device interrupt.

    In most drivers, ata_irq_on() and ata_irq_ack() are used for
    irq_on and irq_ack respectively.

    In some drivers (ex: ahci, sata_sil24) which cannot use them
    as is, ata_dummy_irq_on() and ata_dummy_irq_ack() are used.

    Signed-off-by: Kou Ishizaki
    Signed-off-by: Akira Iguchi
    Signed-off-by: Jeff Garzik

    Akira Iguchi
     
  • Convert libata core layer and LLDs to use iomap.

    * managed iomap is used. Pointer to pcim_iomap_table() is cached at
    host->iomap and used through out LLDs. This basically replaces
    host->mmio_base.

    * if possible, pcim_iomap_regions() is used

    Most iomap operation conversions are taken from Jeff Garzik
    's iomap branch.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • Update libata LLDs to use devres. Core layer is already converted to
    support managed LLDs. This patch simplifies initialization and fixes
    many resource related bugs in init failure and detach path. For
    example, all converted drivers now handle ata_device_add() failure
    gracefully without excessive resource rollback code.

    As most resources are released automatically on driver detach, many
    drivers don't need or can do with much simpler ->{port|host}_stop().
    In general, stop callbacks are need iff port or host needs to be given
    commands to shut it down. Note that freezing is enough in many cases
    and ports are automatically frozen before being detached.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     

25 Jan, 2007

1 commit


16 Dec, 2006

1 commit


03 Dec, 2006

1 commit


29 Nov, 2006

1 commit


27 Sep, 2006

1 commit


31 Aug, 2006

1 commit


30 Aug, 2006

1 commit