08 Dec, 2011

2 commits

  • Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2867/
    Patchwork: https://patchwork.linux-mips.org/patch/2919/
    Patchwork: https://patchwork.linux-mips.org/patch/2928/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • Noone seems to have test hardware or care anymore. Drop PB1000 support
    and along with it the old Alchemy PCMCIA socket driver.

    Signed-off-by: Manuel Lauss
    To: linux-mips@linux-mips.org
    Cc: netdev@vger.kernel.org
    Cc: linux-pcmcia@lists.infradead.org
    Patchwork: https://patchwork.linux-mips.org/patch/2881/
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     

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
     

20 Dec, 2010

2 commits


07 Aug, 2010

1 commit


05 Aug, 2010

2 commits


21 May, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (29 commits)
    pcmcia: disable PCMCIA ioctl also for ARM
    drivers/staging/comedi: dev_node removal (quatech_daqp_cs)
    drivers/staging/comedi: dev_node removal (ni_mio_cs)
    drivers/staging/comedi: dev_node removal (ni_labpc_cs)
    drivers/staging/comedi: dev_node removal (ni_daq_dio24)
    drivers/staging/comedi: dev_node removal (ni_daq_700)
    drivers/staging/comedi: dev_node removal (das08_cs)
    drivers/staging/comedi: dev_node removal (cb_das16_cs)
    pata_pcmcia: get rid of extra indirection
    pcmcia: remove suspend-related comment from yenta_socket.c
    pcmcia: call pcmcia_{read,write}_cis_mem with ops_mutex held
    pcmcia: remove pcmcia_add_device_lock
    pcmcia: update gfp/slab.h includes
    pcmcia: remove unused mem_op.h
    pcmcia: do not autoadd root PCI bus resources
    pcmcia: clarify alloc_io_space, move it to resource handlers
    pcmcia: move all pcmcia_resource_ops providers into one module
    pcmcia: move high level CIS access code to separate file
    pcmcia: dev_node removal (core)
    pcmcia: dev_node removal (remaining drivers)
    ...

    Linus Torvalds
     

17 May, 2010

1 commit


11 May, 2010

1 commit


10 May, 2010

1 commit


03 Mar, 2010

1 commit

  • The PCMCIA ioctl -- deprecated for years -- suffers from insufficient
    locking. As it already has been deprecated for years, with its removal
    long overdue, limit it to !SMP and !PREEMPT.

    Furthermore, the last legitimate use of the ioctl to be reported
    relates to the ARM architecture in 2008.[1] Attempts to resolve
    this issue turned out unsuccessful so far.[2] Other usages have only
    been reported as hear-say. If there are any legitiate and necessary
    use-cases remaining, please speak out before the end of the grace
    period until 2.6.3{5,6}(-rc1).

    [1] http://lists.infradead.org/pipermail/linux-pcmcia/2008-April/005440.html
    see also: http://lkml.org/lkml/2008/2/27/291
    [2] http://lists.infradead.org/pipermail/linux-pcmcia/2008-April/005450.html
    http://lists.infradead.org/pipermail/linux-pcmcia/2010-January/006740.html
    see also: http://lists.infradead.org/pipermail/linux-pcmcia/2008-April/005453.html

    CC: Russell King
    CC: Alan Cox
    CC: Robert P. J. Day
    CC: Jaswinder Singh Rajput
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

28 Feb, 2010

1 commit

  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (141 commits)
    MIPS: Alchemy: defconfig updates
    MIPS: Alchemy: Fix Au1100 ethernet build failure
    MIPS: Alchemy: Repair db1500/bosporus builds
    MIPS: ARC: Cleanup unused definitions from sgialib.h
    MIPS: Cobalt: convert legacy port addresses to GT-64111 bus addresses
    MIPS: Alchemy: use 36bit addresses for PCMCIA resources.
    MIPS: Cobalt: Fix theoretical port aliasing issue
    MIPS: Use ALIGN(x, bytes) instead of __ALIGN_MASK(x, bytes - 1)
    MIPS: Crazy spinlock speed test.
    MIPS: Optimize spinlocks.
    MIPS: Alchemy: devboard PM needs to save CPLD registers.
    MIPS: PowerTV: Eliminate duplicate opcode definition macros
    MIPS: Lemote 2F: Move printks out of port_access_lock.
    MIPS: PNX833x: Convert IRQ controller locks to raw spinlocks.
    MIPS: Octeon: Replace spinlock with raw_spinlocks in dma-octeon.c.
    MIPS: Octeon: Replace rwlocks in irq_chip handlers with raw_spinlocks.
    MIPS: Octeon: Convert octeon_irq_msi_lock to raw spinlock.
    MIPS: Loongson: Remove pointless sample_lock from oprofile code.
    MIPS: SNI: Convert sni_rm200_i8259A_lock to raw spinlock.
    MIPS: i8259: Convert IRQ controller lock to raw spinlock.
    ...

    Linus Torvalds
     

27 Feb, 2010

2 commits

  • Rewritten XXS1500 PCMCIA socket driver, standalone (doesn't depend on
    au1000_generic.c) and added carddetect IRQ support.

    Signed-off-by: Manuel Lauss
    Cc: Florian Fainelli
    Cc: Linux-PCMCIA
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     
  • New PCMCIA socket driver for all Db/Pb1xxx boards (except Pb1000),
    which replaces au1000_db1x00.c and (most of) au1000_pb1x00.c.
    Notable improvements:
    - supports Db1000, DB/PB1100/1500/1550/1200.
    - support for carddetect and statuschange IRQs.
    - pcmcia socket mem/io/attr areas and irqs passed through
    platform resource information.
    - doesn't freeze system during card insertion/ejection like
    the one it replaces.
    - boardtype is automatically detected using BCSR ID register.

    Run-tested on the DB1200.

    Cc: Linux-PCMCIA
    Signed-off-by: Manuel Lauss
    Signed-off-by: Ralf Baechle

    Manuel Lauss
     

18 Feb, 2010

3 commits

  • With CONFIG_PCMCIA=m and CONFIG_YENTA=y, we get

    drivers/built-in.o: In function `yenta_probe':
    yenta_socket.c:(.devinit.text+0x1e582): undefined reference to
    `pccard_nonstatic_ops'

    This is because

    select PCCARD_NONSTATIC if PCMCIA

    sets PCCARD_NONSTATIC = min(YENTA, PCMCIA). Change it to 'if PCMCIA!=n'
    to remove the upper limit.

    [linux@dominikbrodowski.net: propagate change to PCMICA_M8XX]
    Reported-by: Randy Dunlap
    Signed-off-by: Michal Marek
    Acked-by: Randy Dunlap
    Signed-off-by: Dominik Brodowski

    Michal Marek
     
  • If only CardBus cards are used, but not PCMCIA cards, we do not need
    the extensive resource management functions provided for by
    rsrc_nonstatic.c (~240K).

    Tested-by: Wolfram Sang
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     
  • The socket driver m8xx_pcmcia.c uses a static memory assignment,
    but io_offset is set to 0. Therefore, it seems proper to use the
    iodyn resource manager for this driver, as was previously the
    case (before commit 80128ff79d282cf71b1819dbca9b8dd47d8ed3e8).

    CC: Vitaly Bordug
    CC: Arnd Bergmann
    CC: Olof Johansson
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

25 Jan, 2010

1 commit

  • m32r_cfc sets the socket capabilities to SS_CAP_STATIC_MAP and
    also sets io_offset != 0. This means no calls to
    &pccard_nonstatic_ops went through. Therfore, replace it with
    &pccard_static_ops which is exactly for this case.

    CC: Mamoru Sakugawa
    CC: Hirokazu Takata
    Tested-by: Wolfram Sang
    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

15 Dec, 2009

1 commit


13 Dec, 2009

1 commit


08 Dec, 2009

1 commit

  • Fix several CodingStyle issues in drivers/pcmcia/ . checkpatch.pl no longer
    reports errors in the PCMCIA core. The remaining warnings mostly relate to
    wrong indent -- PCMCIA historically used 4 spaces --, to lines over 80
    characters and to hundreds of typedefs. The cleanup of those will follow
    in the future.

    Signed-off-by: Dominik Brodowski

    Dominik Brodowski
     

07 Dec, 2009

1 commit

  • Jonathan Cameron reports that building PCMCIA as modules doesn't work:

    As module get a load of undefined symbols:
    ERROR: "soc_pcmcia_request_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
    ERROR: "soc_pcmcia_free_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
    ERROR: "soc_pcmcia_enable_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
    ERROR: "soc_pcmcia_disable_irqs" [drivers/pcmcia/pxa2xx_stargate2.ko] undefined!
    ERROR: "soc_pcmcia_add_one" [drivers/pcmcia/pxa2xx_base.ko] undefined!
    ERROR: "soc_common_pcmcia_get_timing" [drivers/pcmcia/pxa2xx_base.ko] undefined!
    ERROR: "soc_pcmcia_remove_one" [drivers/pcmcia/pxa2xx_base.ko] undefined!
    make[1]: *** [__modpost] Error 1
    make: *** [modules] Error 2

    This is because soc_common tries to be built-in, but it should be a module.
    Allow soc_common to be a module.

    Reported-by: Jonathan Cameron
    Signed-off-by: Russell King

    Russell King
     

09 Nov, 2009

2 commits


01 Oct, 2009

1 commit


05 Jun, 2009

1 commit


15 Dec, 2008

1 commit


28 Oct, 2008

1 commit

  • This code has been dead for many years. The last update it received
    was in 2003 in order to update it for the driver model changes, though
    it had already been in disarray and unused before that point. The only
    boards that ever used this chip have not had users in many years either,
    so it is finally safe to just kill it off and move on with life.

    Signed-off-by: Paul Mundt

    Paul Mundt
     

08 Oct, 2008

1 commit


07 Oct, 2008

1 commit


09 Sep, 2008

1 commit

  • The Arcom/Eurotech Viper needs some extra care to run. On this board,
    the PC104 connector is actually wired to the second PCMCIA slot.
    Therefore, this second socket needs to be enabled, despite not being
    managed by the PCMCIA code.

    I'd rather have the MECR setup in the platform support code so I could,
    for example, use the PC104 bus without having the PCMCIA module loaded.

    Signed-off-by: Marc Zyngier

    Marc Zyngier
     

24 Jul, 2008

1 commit

  • * 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm: (85 commits)
    [ARM] pxa: add base support for PXA930 Handheld Platform (aka SAAR)
    [ARM] pxa: add base support for PXA930 Evaluation Board (aka TavorEVB)
    [ARM] pxa: add base support for PXA930 (aka Tavor-P)
    [ARM] Update mach-types
    [ARM] pxa: make littleton to use the new smc91x platform data
    [ARM] pxa: make zylonite to use the new smc91x platform data
    [ARM] pxa: make mainstone to use the new smc91x platform data
    [ARM] pxa: make lubbock to use new smc91x platform data
    [NET] smc91x: prepare SMC_USE_PXA_DMA to be specified in platform data
    [NET] smc91x: prepare for SMC_IO_SHIFT to be a platform configurable variable
    [NET] smc91x: add SMC91X_NOWAIT flag to platform data
    [NET] smc91x: favor the use of SMC91X_USE_* instead of SMC_CAN_USE_*
    [NET] smc91x: remove "irq_flags" from "struct smc91x_platdata"
    [ARM] 5146/1: pxa2xx: convert all boards to call pxa2xx_transceiver_mode helper
    Support for LCD on e740 e750 e400 and e800 e-series PDAs
    E-series UDC support
    PXA UDC - allow use of inverted GPIO for pullup
    Add e350 support
    Fix broken e-series build
    E-series GPIO / IRQ definitions.
    ...

    Linus Torvalds
     

10 Jul, 2008

1 commit

  • This patch adds PCMCIA support for PalmTX handheld computer.
    There is one chip hard-soldered to slot0, another slot is
    not in use and not accessible.

    Signed-off-by: Marek Vasut
    Signed-off-by: Russell King

    Marek Vašut
     

24 Jun, 2008

1 commit


29 Apr, 2008

1 commit

  • It's plain wrong for PCMCIA to select HAVE_IDE that implies e.g. the
    availability of an asm/ide.h

    It turns out this was done for ARM, and we can simply always select
    HAVE_IDE on ARM instead of manually tracking which platforms might
    possible have an IDE controller directly or indirectly.

    Signed-off-by: Adrian Bunk
    Cc: Russell King
    Cc: Sam Ravnborg
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Adrian Bunk
     

21 Apr, 2008

1 commit


19 Apr, 2008

1 commit


09 Feb, 2008

1 commit

  • To allow flexible configuration of IDE introduce HAVE_IDE.
    All archs except arm, um and s390 unconditionally select it.
    For arm the actual configuration determine if IDE is supported.

    This is a step towards introducing drivers/Kconfig for arm.

    Signed-off-by: Sam Ravnborg
    Acked-by: Russell King - ARM Linux
    Acked-by: Bartlomiej Zolnierkiewicz

    Sam Ravnborg