04 Nov, 2011

1 commit

  • * 'upstream' of git://git.linux-mips.org/pub/scm/ralf/upstream-linus: (37 commits)
    MIPS: O32: Provide definition of registers ta0 .. ta3.
    MIPS: perf: Add Octeon support for hardware perf.
    MIPS: perf: Add support for 64-bit perf counters.
    MIPS: perf: Reorganize contents of perf support files.
    MIPS: perf: Cleanup formatting in arch/mips/kernel/perf_event.c
    MIPS: Add accessor macros for 64-bit performance counter registers.
    MIPS: Add probes for more Octeon II CPUs.
    MIPS: Add more CPU identifiers for Octeon II CPUs.
    MIPS: XLR, XLS: Add comment for smp setup
    MIPS: JZ4740: GPIO: Check correct IRQ in demux handler
    MIPS: JZ4740: GPIO: Simplify IRQ demuxer
    MIPS: JZ4740: Use generic irq chip
    MIPS: Alchemy: remove all CONFIG_SOC_AU1??? defines
    MIPS: Alchemy: kill au1xxx.h header
    MIPS: Alchemy: clean DMA code of CONFIG_SOC_AU1??? defines
    MIPS, IDE: Alchem, au1xxx-ide: Remove pb1200/db1200 header dep
    MIPS: Alchemy: Redo PCI as platform driver
    MIPS: Alchemy: more base address cleanup
    MIPS: Alchemy: rewrite USB platform setup.
    MIPS: Alchemy: abstract USB block control register access
    ...

    Fix up trivial conflicts in:
    arch/mips/alchemy/devboards/db1x00/platform.c
    drivers/ide/Kconfig
    drivers/mmc/host/au1xmmc.c
    drivers/video/Kconfig
    sound/mips/Kconfig

    Linus Torvalds
     

25 Oct, 2011

1 commit

  • Now that no driver any longer depends on the CONFIG_SOC_AU1??? symbols,
    it's time to get rid of them: Move some of the platform devices to the
    boards which can use them, Rename a few (unused) constants in the header,
    Replace them with MIPS_ALCHEMY in the various Kconfig files. Finally
    delete them altogether from the Alchemy Kconfig file.

    Signed-off-by: Manuel Lauss
    To: Linux-MIPS
    Patchwork: https://patchwork.linux-mips.org/patch/2707/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     

14 Oct, 2011

1 commit


13 Oct, 2011

1 commit

  • Fix file references in drivers/ide/

    There are a lot of file references to now moved or deleted files in the
    whole tree, especially in documentation and Kconfig files. This patch
    fixes the references in drivers/ide/.

    Signed-off-by: Johann Felix Soden
    Signed-off-by: Randy Dunlap
    Acked-by: David S. Miller
    Signed-off-by: Linus Torvalds

    Johann Felix Soden
     

11 Oct, 2011

1 commit

  • There are a lot of file references to now moved or deleted files in the
    whole tree, especially in documentation and Kconfig files. This patch
    fixes the references in drivers/ide/.

    Signed-off-by: Johann Felix Soden
    Signed-off-by: Randy Dunlap
    Acked-by: David S. Miller
    Signed-off-by: Jiri Kosina

    Johann Felix Soden
     

21 Jan, 2011

1 commit

  • The meaning of CONFIG_EMBEDDED has long since been obsoleted; the option
    is used to configure any non-standard kernel with a much larger scope than
    only small devices.

    This patch renames the option to CONFIG_EXPERT in init/Kconfig and fixes
    references to the option throughout the kernel. A new CONFIG_EMBEDDED
    option is added that automatically selects CONFIG_EXPERT when enabled and
    can be used in the future to isolate options that should only be
    considered for embedded systems (RISC architectures, SLOB, etc).

    Calling the option "EXPERT" more accurately represents its intention: only
    expert users who understand the impact of the configuration changes they
    are making should enable it.

    Reviewed-by: Ingo Molnar
    Acked-by: David Woodhouse
    Signed-off-by: David Rientjes
    Cc: Greg KH
    Cc: "David S. Miller"
    Cc: Jens Axboe
    Cc: Arnd Bergmann
    Cc: Robin Holt
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

29 Oct, 2009

1 commit

  • The current Kconfig text for CONFIG_IDE doesn't give a hint to users that this
    subsystem is currently in maintenance mode and isn't actively developed.
    Let's correct this by marking it as deprecated, and also get rid of a bunch of
    unnecessary text that doesn't really have anything to do with what the option is
    for.

    Signed-off-by: Robert Hancock
    Signed-off-by: David S. Miller

    Robert Hancock
     

13 Jun, 2009

1 commit


01 Apr, 2009

3 commits


25 Mar, 2009

1 commit

  • * Move xfer mode tuning code to ide-xfer-mode.c.

    * Add CONFIG_IDE_XFER_MODE config option to be selected by host drivers
    that support xfer mode tuning.

    * Add CONFIG_IDE_XFER_MODE=n static inline versions of ide_set_pio()
    and ide_set_xfer_rate().

    * Make IDE_TIMINGS and BLK_DEV_IDEDMA config options select IDE_XFER_MODE,
    also add explicit selects for few host drivers that need it.

    * Build/link ide-xfer-mode.o and ide-pio-blacklist.o (it is needed only
    by ide-xfer-mode.o) only if CONFIG_IDE_XFER_MODE=y.

    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
     

26 Feb, 2009

1 commit

  • Documentation/kernel-parameters.txt
    - ide=nodma is no longer valid.

    drivers/ide/Kconfig
    - The module is ide-core.ko not ide.

    drivers/ide/ide.c
    - It took me a while to figure out what the arguments %d.%d:%d to nodma
    module parameter ment, so I added a comment to each.
    - Added a comment to each of the sscanf lines.
    - There is a bug, if j is 0 it would previously clear all the other bits
    except the current device, changed in three different places.
    mask &= (1 << i) should be mask &= ~(1 << i).

    Signed-off-by: David Fries
    [bart: s/disk/device/ in ide.c, beautify patch description]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    David Fries
     

03 Feb, 2009

1 commit

  • This is a port of libata's pata_cs5536.c (written by Martin K. Petersen)
    to IDE subsystem.

    Changes done while at it:

    * Reprogram PIO/MWDMA timings if needed before and after DMA transfer
    (chipset uses shared PIO/MWDMA timings).

    * Fix cable detection to report 80-wires cable if BIOS set it for any
    device on a port (IDE core will do drive-side cable detection later).

    * Don't disable UDMA while programming PIO timings.

    * Simplify PCI/MSR support.

    Pros of having IDE host driver in addition to libata's one:

    * IDE is much lighter than SCSI+libata, the host driver itself is also
    a bit smaller:

    text data bss dec hex filename
    1261 496 4 1761 6e1 drivers/ata/pata_cs5536.o
    1242 128 4 1374 55e drivers/ide/cs5536.o

    * This allows use of IDE features which are unavailable under libata.

    v2:
    * Fixes per review from Sergei:
    - simplify dependency check in Kconfig
    - use IDE_DRV_MASK also for ->drive_data
    - disable UDMA when programming MWDMA
    - program new DTC timings only when necessary
    - fix printk() level in cs5536_init_one()

    * Fix patch description according to comments from Alan and Sergei.

    v3:
    * Smarter masking of UDMA bits per Sergei's suggestion.

    Cc: Martin K. Petersen
    Cc: Karl Auerbach
    Cc: Alan Cox
    Acked-by: Sergei Shtylyov
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

15 Jan, 2009

1 commit


07 Jan, 2009

1 commit

  • Support for the IT8172 IDE controller was removed from the kernel
    sometime after 2.6.18. Support for the only boards that used the IT8172
    was removed from the kernel after 2.6.18, as they had never compiled
    since 2.6.0. However, there are a couple of platforms that use this
    chip: the PMC-Sierra Xiao Hu thin-client computer, which is no longer
    in production, and the Linksys NSS4000 Network Attached Storage box,
    which is based on the Xiao Hu board. I am attempting to add support
    for the Xiao Hu to the kernel, and this IT8172 IDE controller is the
    first bit of code in this effort.

    This patch resurrects the IT8172 IDE controller code. I began with
    the 2.6.18 version of the it8172.c file, and have moved it forward so
    that it works with the latest version of the kernel. I have run this
    driver on a PMC-Sierra Xiao Hu board with the 2.6.28 kernel, and
    I have had no problems with it in my configuration. The attached patch
    applies cleanly against 2.6.28.

    Signed-off-by: Shane McDonald
    Acked-by: Sergei Shtylyov
    Cc: alan@lxorguk.ukuu.org.uk
    [bart: s/HWIF(drive)/drive->hwif/]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Shane McDonald
     

02 Jan, 2009

2 commits

  • ... by factoring it out of ide_cd_do_request() into a helper, as suggested by
    Bart.

    There should be no functionality change resulting from this patch.

    Signed-off-by: Borislav Petkov
    [bart: BLK_DEV_IDECD needs to select IDE_ATAPI now]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Borislav Petkov
     
  • As planed, this removes ide-scsi.

    The 2.6 kernel supports direct writing to ide CD drives, which
    eliminates the need for ide-scsi. ide-scsi has been unmaintained and
    marked as deprecated.

    Signed-off-by: FUJITA Tomonori
    Cc: James.Bottomley@HansenPartnership.com
    Signed-off-by: Bartlomiej Zolnierkiewicz

    FUJITA Tomonori
     

31 Dec, 2008

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (407 commits)
    [ARM] pxafb: add support for overlay1 and overlay2 as framebuffer devices
    [ARM] pxafb: cleanup of the timing checking code
    [ARM] pxafb: cleanup of the color format manipulation code
    [ARM] pxafb: add palette format support for LCCR4_PAL_FOR_3
    [ARM] pxafb: add support for FBIOPAN_DISPLAY by dma braching
    [ARM] pxafb: allow pxafb_set_par() to start from arbitrary yoffset
    [ARM] pxafb: allow video memory size to be configurable
    [ARM] pxa: add document on the MFP design and how to use it
    [ARM] sa1100_wdt: don't assume CLOCK_TICK_RATE to be a constant
    [ARM] rtc-sa1100: don't assume CLOCK_TICK_RATE to be a constant
    [ARM] pxa/tavorevb: update board support (smartpanel LCD + keypad)
    [ARM] pxa: Update eseries defconfig
    [ARM] 5352/1: add w90p910-plat config file
    [ARM] s3c: S3C options should depend on PLAT_S3C
    [ARM] mv78xx0: implement GPIO and GPIO interrupt support
    [ARM] Kirkwood: implement GPIO and GPIO interrupt support
    [ARM] Orion: share GPIO IRQ handling code
    [ARM] Orion: share GPIO handling code
    [ARM] s3c: define __io using the typesafe version
    [ARM] S3C64XX: Ensure CPU_V6 is selected
    ...

    Linus Torvalds
     

30 Dec, 2008

1 commit


16 Dec, 2008

1 commit


09 Dec, 2008

1 commit

  • IDE pmac host driver build fails with CONFIG_BLK_DEV_IDEDMA_PMAC=n
    as reported by Kamalesh:

    > drivers/ide/pmac.c: In function 'pmac_ide_set_pio_mode':
    > drivers/ide/pmac.c:527: error: implicit declaration of function 'kauai_lookup_timing'
    > drivers/ide/pmac.c:527: error: 'shasta_pio_timings' undeclared (first use in this function)
    > drivers/ide/pmac.c:527: error: (Each undeclared identifier is reported only once
    > drivers/ide/pmac.c:527: error: for each function it appears in.)
    > drivers/ide/pmac.c:534: error: 'kauai_pio_timings' undeclared (first use in this function)
    > drivers/ide/pmac.c: In function 'pmac_ide_do_resume':
    > drivers/ide/pmac.c:914: error: 'IDE_WAKEUP_DELAY' undeclared (first use in this function)
    > drivers/ide/pmac.c: At top level:
    > drivers/ide/pmac.c:1007: error: 'pmac_ide_init_dma' undeclared here (not in a function)
    > drivers/ide/pmac.c: In function 'pmac_ide_setup_device':
    > drivers/ide/pmac.c:1107: error: 'IDE_WAKEUP_DELAY' undeclared (first use in this function)
    > drivers/ide/pmac.c: In function 'pmac_ide_macio_attach':
    > drivers/ide/pmac.c:1209: error: 'pmac_ide_hwif_t' has no member named 'dma_regs'
    > drivers/ide/pmac.c:1210: error: 'pmac_ide_hwif_t' has no member named 'dma_regs'
    > make[2]: *** [drivers/ide/pmac.o] Error 1

    Fix it by removing the superfluous config option.

    Reported-and-tested-by: Kamalesh Babulal
    Cc: Benjamin Herrenschmidt
    Cc: Sergei Shtylyov
    Cc: Stephen Rothwell
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Bartlomiej Zolnierkiewicz
     

27 Nov, 2008

1 commit


24 Oct, 2008

2 commits

  • This is the driver for the Toshiba TX4938 SoC EBUS controller ATA mode.
    It has custom set_pio_mode and some hacks for big endian.

    Signed-off-by: Atsushi Nemoto
    Cc: ralf@linux-mips.org
    Cc: sshtylyov@ru.mvista.com
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Atsushi Nemoto
     
  • This is the driver for the Toshiba TX4939 SoC ATA controller.

    This controller has standard ATA taskfile registers and DMA
    command/status registers, but the register layout is swapped on big
    endian. There are some other endian issue and some special registers
    which requires many custom dma_ops/tp_ops routines and build_dmatable.

    Signed-off-by: Atsushi Nemoto
    Acked-by: Sergei Shtylyov
    Cc: ralf@linux-mips.org
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Atsushi Nemoto
     

18 Oct, 2008

2 commits


17 Oct, 2008

1 commit

  • Using "def_bool n" is pointless, simply using bool here appears more
    appropriate.

    Further, retaining such options that don't have a prompt and aren't
    selected by anything seems also at least questionable.

    Signed-off-by: Jan Beulich
    Cc: Ingo Molnar
    Cc: Tony Luck
    Cc: Thomas Gleixner
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Sam Ravnborg
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Beulich
     

14 Oct, 2008

1 commit


11 Oct, 2008

1 commit


06 Oct, 2008

1 commit

  • The Swarm IDE driver uses a release method which is defined in the driver
    itself thus potentially oopsable. The simple fix would be to just leak
    the device but this patch goes the full length and moves the entire
    handling of the platform device in the platform code and retains only
    the platform driver code in drivers/ide/mips/swarm.c.

    Signed-off-by: Ralf Baechle
    Cc: "Maciej W. Rozycki"
    Acked-by: Sergei Shtylyov
    [bart: remove no longer needed BLK_DEV_IDE_SWARM from ide/Kconfig]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Ralf Baechle
     

28 Sep, 2008

1 commit

  • Enabling IDE generic may prevent ATA controllers located on legacy
    ports from being attached to more proper driver or can prevent other
    controllers which share the IRQ from working. Note it in the help
    message.

    Signed-off-by: Tejun Heo
    Cc: xerces8
    Cc: Jeff Garzik
    Cc: stein@hermes.si
    [bart: s/will grab/may grab/ since Borislav has fixed PCI-case for .28]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Tejun Heo
     

03 Sep, 2008

1 commit


06 Aug, 2008

1 commit

  • The benefits of a user settable CONFIG_IDE_MAX_HWIFS have become pretty
    tiny and are no longer considered worth the trouble of an own option.

    Simply always #define MAX_HWIFS to 10.

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

    Adrian Bunk
     

25 Jul, 2008

1 commit


24 Jul, 2008

2 commits


17 Jul, 2008

2 commits

  • This patch moves hd.c to drivers/block/

    Signed-off-by: Adrian Bunk
    Cc: rmk@arm.linux.org.uk
    Cc: Alan Cox
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Adrian Bunk
     
  • After commit 80aa31cb460d12c1e02327b43eceb3eebc6e7090
    (ide: remove CONFIG_BLK_DEV_HD_IDE config option (take 2))
    the indirection through BLK_DEV_HD_ONLY is no longer required.

    Signed-off-by: Adrian Bunk
    Cc: rmk@arm.linux.org.uk
    Cc: Alan Cox
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Adrian Bunk