16 Jun, 2009

1 commit


18 May, 2009

3 commits

  • Remove hw_regs_t typedef and rename struct hw_regs_s to struct ide_hw.

    There should be no functional changes caused by this patch.

    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Pass number of ports to ide_host_{alloc,add}() and then update
    all users accordingly.

    v2:
    - drop no longer needed NULL initializers in buddha.c, cmd640.c and gayle.c
    (noticed by Sergei)

    There should be no functional changes caused by this patch.

    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Convert host drivers that still use hw_regs_t's chipset field to use
    the one in struct ide_port_info instead.

    * Move special handling of ide_pci chipset type from ide_hw_configure()
    to ide_init_port().

    * Remove chipset field from hw_regs_t.

    While at it:
    - remove stale comment in delkin_cb.c

    There should be no functional changes caused by this patch.

    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

08 Apr, 2009

1 commit

  • Both of commits f94116aeec7a299640dd692128e1d22178affa8d ("ide: cleanup
    ") and 15a453a955f89f6545118770c669b52e925368bd ("ide: include
    only when needed") break falconide:

    | Uniform Multi-Platform E-IDE driver
    | ide: Falcon IDE controller
    | Probing IDE interface ide0...
    | hda: Sarge m68k, ATA DISK drive
    | ide0 at 0xfff00000 on irq 15 (serialized)
    | ide-gd driver 1.18
    | hda: max request size: 128KiB
    | hda: 2118816 sectors (1084 MB) w/256KiB Cache, CHS=2102/16/63
    | hda:hda: lost interrupt

    This happens because falconide relies on {in,out}sw() being redefined in
    , as included by , which is no longer the case.
    Use __ide_mm_{in,out}sw() from instead, just like
    ide_{in,out}put_data() do.

    The same problem seems to exist in q40ide.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Geert Uytterhoeven
     

01 Apr, 2009

2 commits


27 Mar, 2009

5 commits

  • * Add IDE_TFLAG_FS taskfile flag and set it for REQ_TYPE_FS requests.

    * Convert ->{in,out}put_data methods to take command instead of request
    as an argument. Then convert pre_task_out_intr(), task_end_request(),
    task_error(), task_in_unexpected(), ide_pio_sector(), ide_pio_multi()
    and ide_pio_datablock() in similar way.

    * Rename task_end_request() to ide_finish_cmd().

    There should be no functional changes caused by this patch.

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Add ->irq_flags field to struct ide_port_info and struct ide_host.

    * Update host drivers and IDE PCI code to use ->irq_flags field.

    * Convert init_irq() and ide_intr() to use host->irq_flags.

    This fixes handling of shared IRQs for non-PCI hosts
    and removes ugly ifdeffery from core IDE code.

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Remove superfluous include.

    * No need to re-define in/out*() macros as they are no longer used
    by m68k host drivers.

    * readl() and writel() are not used by core IDE code.

    * Use raw_*_swapw() directly in {falcon,q40}ide.c and remove
    {in,out}sw_swapw() macros.

    Cc: Geert Uytterhoeven
    Cc: Michael Schmitz
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Cc: Geert Uytterhoeven
    Cc: Michael Schmitz
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Add ->{get,release}_lock methods to struct ide_port_info
    and struct ide_host.

    * Convert core IDE code, m68k IDE code and falconide support to use
    ->{get,release}_lock methods instead of ide_{get,release}_lock().

    * Remove IDE_ARCH_LOCK.

    v2:
    * Build fix from Geert updating ide_{get,release}_lock() callers in
    falconide.c.

    Cc: Geert Uytterhoeven
    Cc: Michael Schmitz
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

19 Jan, 2009

1 commit

  • [m68k] Falcon IDE: always serialize, in order to force execution of
    ide_get_lock() and friends.

    Signed-off-By: Michael Schmitz
    Cc: Geert Uytterhoeven
    [bart: set flag in falconide_port_info instead of falconide_init()]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Michael Schmitz
     

07 Jan, 2009

1 commit

  • Move apparently misplaced read_sff_dma_status() method from 'struct ide_tp_ops'
    to 'struct ide_dma_ops', renaming it to dma_sff_read_status() and making only
    required for SFF-8038i compatible IDE controller drivers (greatly cutting down
    the number of initializers) as its only user (outside ide-dma-sff.c and such
    drivers) appears to be ide_pci_check_simplex() which is only called for such
    controllers...

    Signed-off-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Sergei Shtylyov
     

22 Oct, 2008

1 commit