29 Nov, 2011

1 commit


08 Aug, 2011

1 commit


19 Jan, 2010

1 commit


16 Aug, 2009

1 commit

  • This driver requires only static memory controller definitions and macroses
    contained in generic header at91sam9_smc.h.

    Those extra headers are misleading since this driver also works fine for
    at91sam9260 SoC: tests were performed on afeb9260 board.

    Signed-off-by: Sergey Matyukevich
    Acked-by: Stanislaw Gruszka
    Signed-off-by: David S. Miller

    Sergey Matyukevich
     

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

4 commits


01 Apr, 2009

7 commits


27 Mar, 2009

4 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
     
  • While at it:
    - rename struct ide_task_s to struct ide_cmd
    - remove stale comments from idedisk_{read_native,set}_max_address()
    - drop unused 'cmd' argument from ide_{cmd,task}_ioctl()
    - drop unused 'task' argument from tx4939ide_tf_load_fixup()
    - rename ide_complete_task() to ide_complete_cmd()
    - use consistent naming for struct ide_cmd variables

    There should be no functional changes caused by this patch.

    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • * Add ->ftf_flags field to struct ide_taskfile
    and convert flags for TASKFILE ioctl to use it.

    * Rename "flagged" taskfile flags:
    - IDE_TFLAG_FLAGGED -> IDE_FTFLAG_FLAGGED
    - IDE_TFLAG_FLAGGED_SET_IN_FLAGS -> IDE_FTFLAG_SET_IN_FLAGS
    - IDE_TFLAG_{OUT,IN}_DATA -> IDE_FTFLAG_{OUT,IN}_DATA

    v2:
    * Remember to fully update ide-h8300.c, scc_pata.c and tx493{8,9}ide.c
    (thanks to Stephen Rothwell for noticing).

    There should be no functional changes caused by this patch.

    Cc: Stephen Rothwell
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     
  • Use readsw()/writesw() directly intead of __ide_mm_{in,out}sw() macros.

    Cc: Stanislaw Gruszka
    Cc: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

05 Mar, 2009

1 commit

  • This is IDE host driver for AT91 (SAM9, CAP9, AT572D940HF) Static Memory
    Controller with Compact Flash True IDE Mode logic.

    Driver have to switch 8/16 bit bus width when accessing Task Tile or Data
    Register. Moreover some extra things need to be done when setting PIO mode.
    Only PIO mode is used, hardware have no DMA support. If interrupt line is
    connected through GPIO extra quirk is needed to cope with fake interrupts.

    Signed-off-by: Stanislaw Gruszka
    Cc: Andrew Victor
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Stanislaw Gruszka