30 Jul, 2008

1 commit


29 Jul, 2008

1 commit

  • Currently the support for each WM97xx touchscreen model is compiled out
    by default, meaning that the default configuration when the driver is
    built is for it to support no hardware. This is suboptimal and leads to
    problems like distribution kernels shipping a non-functional driver.

    Change the default to support all controllers and update the help text
    to reflect this.

    Signed-off-by: Mark Brown
    Signed-off-by: Dmitry Torokhov

    Mark Brown
     

24 Jul, 2008

6 commits


21 Jul, 2008

32 commits

  • Dmitry Torokhov
     
  • * 'for-2.6.27' of git://linux-nfs.org/~bfields/linux: (51 commits)
    nfsd: nfs4xdr.c do-while is not a compound statement
    nfsd: Use C99 initializers in fs/nfsd/nfs4xdr.c
    lockd: Pass "struct sockaddr *" to new failover-by-IP function
    lockd: get host reference in nlmsvc_create_block() instead of callers
    lockd: minor svclock.c style fixes
    lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_lock
    lockd: eliminate duplicate nlmsvc_lookup_host call from nlmsvc_testlock
    lockd: nlm_release_host() checks for NULL, caller needn't
    file lock: reorder struct file_lock to save space on 64 bit builds
    nfsd: take file and mnt write in nfs4_upgrade_open
    nfsd: document open share bit tracking
    nfsd: tabulate nfs4 xdr encoding functions
    nfsd: dprint operation names
    svcrdma: Change WR context get/put to use the kmem cache
    svcrdma: Create a kmem cache for the WR contexts
    svcrdma: Add flush_scheduled_work to module exit function
    svcrdma: Limit ORD based on client's advertised IRD
    svcrdma: Remove unused wait q from svcrdma_xprt structure
    svcrdma: Remove unneeded spin locks from __svc_rdma_free
    svcrdma: Add dma map count and WARN_ON
    ...

    Linus Torvalds
     
  • * 'drm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6:
    gpu: re-order GPU subdirectory vs char for AGP vs DRM startup.

    Linus Torvalds
     
  • Reported by Linus.

    Signed-off-by: David S. Miller
    Signed-off-by: Linus Torvalds

    David Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
    pkt_sched: Fix build with NET_SCHED disabled.

    Linus Torvalds
     
  • * 'for-linus' of git://git.o-hand.com/linux-mfd:
    mfd: let asic3 use mem resource instead of bus_shift
    mfd: remove DS1WM register definitions from asic3.h
    mfd: add ASIC3_CONFIG_GPIO templates
    mfd: fix the asic3 irq demux code
    mfd: asic3 should depend on gpiolib
    mfd: fix asic3 config array initialisation
    mfd: move asic3 probe functions into __init section
    mfd: Use uppercase only for asic3 macros and defines
    mfd: use dev_* macros for asic3 debugging
    mfd: New asic3 gpio configuration code
    mfd: asic3 children platform data removal
    mfd: asic3 gpiolib support

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (277 commits)
    V4L/DVB (8415): gspca: Infinite loop in i2c_w() of etoms.
    V4L/DVB (8414): videodev/cx18: fix get_index bug and error-handling lock-ups
    V4L/DVB (8411): videobuf-dma-contig.c: fix 64-bit build for pre-2.6.24 kernels
    V4L/DVB (8410): sh_mobile_ceu_camera: fix 64-bit compiler warnings
    V4L/DVB (8397): video: convert select VIDEO_ZORAN_ZR36060 into depends on
    V4L/DVB (8396): video: Fix Kbuild dependency for VIDEO_IR_I2C
    V4L/DVB (8395): saa7134: Fix Kbuild dependency of ir-kbd-i2c
    V4L/DVB (8394): ir-common: CodingStyle fix: move EXPORT_SYMBOL_GPL to their proper places
    V4L/DVB (8393): media/video: Fix depencencies for VIDEOBUF
    V4L/DVB (8392): media/Kconfig: Convert V4L1_COMPAT select into "depends on"
    V4L/DVB (8390): videodev: add comment and remove magic number.
    V4L/DVB (8389): videodev: simplify get_index()
    V4L/DVB (8387): Some cosmetic changes
    V4L/DVB (8381): ov7670: fix compile warnings
    V4L/DVB (8380): saa7115: use saa7115_auto instead of saa711x as the autodetect driver name.
    V4L/DVB (8379): saa7127: Make device detection optional
    V4L/DVB (8378): cx18: move cx18_av_vbi_setup to av-core.c and rename to cx18_av_std_setup
    V4L/DVB (8377): ivtv/cx18: ensure the default control values are correct
    V4L/DVB (8376): cx25840: move cx25840_vbi_setup to core.c and rename to cx25840_std_setup
    V4L/DVB (8374): gspca: No conflict of 0c45:6011 with the sn9c102 driver.
    ...

    Linus Torvalds
     
  • * 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus: (21 commits)
    [MIPS] Remove unused maltasmp.h.
    [MIPS] Remove unused saa9730_uart.h.
    [MIPS] Rename MIPS sys_pipe syscall entry point to something MIPS-specific.
    [MIPS] 32-bit compat: Delete unused sys_truncate64 and sys_ftruncate64.
    [MIPS] TXx9: Fix some sparse warnings
    [MIPS] TXx9: Add 64-bit support
    [MIPS] TXx9: Cleanups for 64-bit support
    [MIPS] Cobalt: Fix I/O port resource range
    [MIPS] don't leak setup_early_printk() in userspace header
    [MIPS] Remove include/asm-mips/mips-boards/sead{,int}.h
    [MIPS] Remove asm-mips/mips-boards/atlas{,int}.h
    [MIPS] mips/sgi-ip22/ip28-berr.c: fix the build
    [MIPS] TXx9: Miscellaneous build fixes
    [MIPS] Routerboard 532: Support for base system
    [MIPS] IP32: Use common SGI button driver
    [MIPS] IP22: Use common SGI button driver
    [MIPS] IP22, IP28: Fix merge bug
    [MIPS] Tinker with constraints in to fix build error.
    [MIPS] Add missing prototypes to asm/page.h
    [MIPS] Fix missing prototypes in asm/fpu.h
    ...

    Linus Torvalds
     
  • * 'kvm-updates-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/avi/kvm: (70 commits)
    KVM: Adjust smp_call_function_mask() callers to new requirements
    KVM: MMU: Fix potential race setting upper shadow ptes on nonpae hosts
    KVM: x86 emulator: emulate clflush
    KVM: MMU: improve invalid shadow root page handling
    KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction
    KVM: Prefix some x86 low level function with kvm_, to avoid namespace issues
    KVM: check injected pic irq within valid pic irqs
    KVM: x86 emulator: Fix HLT instruction
    KVM: Apply the kernel sigmask to vcpus blocked due to being uninitialized
    KVM: VMX: Add ept_sync_context in flush_tlb
    KVM: mmu_shrink: kvm_mmu_zap_page requires slots_lock to be held
    x86: KVM guest: make kvm_smp_prepare_boot_cpu() static
    KVM: SVM: fix suspend/resume support
    KVM: s390: rename private structures
    KVM: s390: Set guest storage limit and offset to sane values
    KVM: Fix memory leak on guest exit
    KVM: s390: dont allocate dirty bitmap
    KVM: move slots_lock acquision down to vapic_exit
    KVM: VMX: Fake emulate Intel perfctr MSRs
    KVM: VMX: Fix a wrong usage of vmcs_config
    ...

    Linus Torvalds
     
  • The stab bits can't be referenced uniless the full
    packet scheduler layer is enabled.

    Reported by Stephen Rothwell.

    Signed-off-by: David S. Miller

    David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (1232 commits)
    iucv: Fix bad merging.
    net_sched: Add size table for qdiscs
    net_sched: Add accessor function for packet length for qdiscs
    net_sched: Add qdisc_enqueue wrapper
    highmem: Export totalhigh_pages.
    ipv6 mcast: Omit redundant address family checks in ip6_mc_source().
    net: Use standard structures for generic socket address structures.
    ipv6 netns: Make several "global" sysctl variables namespace aware.
    netns: Use net_eq() to compare net-namespaces for optimization.
    ipv6: remove unused macros from net/ipv6.h
    ipv6: remove unused parameter from ip6_ra_control
    tcp: fix kernel panic with listening_get_next
    tcp: Remove redundant checks when setting eff_sacks
    tcp: options clean up
    tcp: Fix MD5 signatures for non-linear skbs
    sctp: Update sctp global memory limit allocations.
    sctp: remove unnecessary byteshifting, calculate directly in big-endian
    sctp: Allow only 1 listening socket with SO_REUSEADDR
    sctp: Do not leak memory on multiple listen() calls
    sctp: Support ipv6only AF_INET6 sockets.
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://www.jni.nu/cris:
    [CRISv10] Clean up compressed/misc.c
    [CRISv10] Correct whitespace damage.
    [CRIS] Correct definition of subdirs for install_headers.
    [CRIS] Correct image makefiles to allow using a separate OBJ-directory.
    [CRIS] Build fixes for compressed and rescue images for v10 and v32:
    It looks at least odd to apply spin_unlock to a mutex.
    cris: compile fixes for 2.6.26-rc5

    Linus Torvalds
     
  • On recent kernels, I get the following error when using an initrd:

    | initrd overwritten (0x00b78000 < 0x07668000) - disabling it.

    My Amiga 4000 has 12 MiB of RAM at physical address 0x07400000 (virtual
    0x00000000).
    The initrd is located at the end of RAM: 0x00b78000 - 0x00c00000 (virtual).
    The overwrite test compares the (virtual) initrd location to the (physical)
    first available memory location, which fails.

    This patch converts initrd_start to a page frame number, so it can safely be
    compared with min_low_pfn.

    Before the introduction of discontiguous memory support on m68k
    (12d810c1b8c2b913d48e629e2b5c01d105029839), min_low_pfn was just left
    untouched by the m68k-specific code (zero, I guess), and everything worked
    fine.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • dio_bus_match() can use dio_match_device().

    Signed-off-by: Akinobu Mita
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Akinobu Mita
     
  • As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b,
    alloc_bootmem and related functions never return NULL and always return a
    zeroed region of memory. Thus a NULL test or memset after calls to these
    functions is unnecessary.

    This was fixed using the following semantic patch.
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    expression E;
    statement S;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    (
    - BUG_ON (E == NULL);
    |
    - if (E == NULL) S
    )

    @@
    expression E,E1;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    - memset(E,0,E1);
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Julia Lawall
     
  • As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b,
    alloc_bootmem and related functions never return NULL and always return a
    zeroed region of memory. Thus a NULL test or memset after calls to these
    functions is unnecessary.

    This was fixed using the following semantic patch.
    (http://www.emn.fr/x-info/coccinelle/)

    //
    @@
    expression E;
    statement S;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    (
    - BUG_ON (E == NULL);
    |
    - if (E == NULL) S
    )

    @@
    expression E,E1;
    @@

    E = \(alloc_bootmem\|alloc_bootmem_low\|alloc_bootmem_pages\|alloc_bootmem_low_pages\)(...)
    .. when != E
    - memset(E,0,E1);
    //

    Signed-off-by: Julia Lawall
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Julia Lawall
     
  • Looking at older kernel sources the APOLLO_ELPLUS option was added
    somewhere during kernel 2.1, but even kernel 2.2.0 does not contain
    any driver that would be enabled through it...

    Reported-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • It seems the driver was removed back in kernel 2.3 but the options were
    forgotten.

    Reported-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • When the driver was removed back in 2002 the option was forgotten.

    Reported-by: Robert P. J. Day
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Add the missing call to apollo_parse_bootinfo(), which had been lost from a
    big Apollo support patch by Peter De Schrijver in 1999.

    Thanks to Adrian Bunk for noticing!

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • m68k: remove stale ARCH_SUN4 #define

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global code static:
    - config.c: sun3_bootmem_alloc()
    - config.c: sun3_sched_init()
    - dvma.c: dvma_page()
    - idprom.c: struct Sun_Machines[]
    - mmu_emu.c: struct ctx_alloc[]
    - sun3dvma.c: iommu_use[]
    - sun3ints.c: led_pattern[]
    - remove the unused sbus.c

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch makes the following needlessly global functions static:
    - q40_reset()
    - q40_halt()
    - q40_disable_irqs()
    - q40_gettimeoffset()
    - q40_hwclk()
    - q40_get_ss()
    - q40_set_clock_mmss()

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global code (always) static:
    - baboon.c: struct baboon
    - baboon.c: baboon_irq()
    - config.c: mac_orig_videoaddr
    - config.c: mac_identify()
    - config.c: mac_report_hardware()
    - config.c: mac_debug_console_write()
    - config.c: mac_sccb_console_write()
    - config.c: mac_scca_console_write()
    - config.c: mac_init_scc_port()
    - oss.c: oss_irq()
    - oss.c: oss_nubus_irq()
    - psc.c: psc_debug_dump()
    - psc.c: psc_dma_die_die_die()
    - via.c: rbv_clear
    - remove the unused bootparse.c
    - #if 0 the following unused functions:
    - config.c: mac_debugging_short()
    - config.c: mac_debugging_long()
    - remove the following unused code:
    - config.c: mac_bisize
    - config.c: mac_env
    - config.c: mac_SCC_init_done
    - config.c: mac_SCC_reset_done
    - config.c: mac_init_scca_port()
    - config.c: mac_init_sccb_port()

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - make the following needlessly global functions (always) static:
    - atari_mfp_console_write()
    - atari_scc_console_write()
    - atari_midi_console_write()
    - atari_init_mfp_port()
    - atari_init_scc_port()
    - atari_init_midi_port()
    - #if 0 the following unused functions:
    - atari_mfp_console_wait_key()
    - atari_scc_console_wait_key()
    - atari_midi_console_wait_key()
    - remove the following unused variables:
    - atari_MFP_init_done
    - atari_SCC_init_done

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch contains the following possible cleanups:
    - amiints.c: add a proper prototype for amiga_init_IRQ() in
    include/asm-m68k/amigaints.h
    - make the following needlessly global code static:
    - config.c: amiga_model
    - config.c: amiga_psfreq
    - config.c: amiga_serial_console_write()
    - #if 0 the following unused functions:
    - config.c: amiga_serial_puts()
    - config.c: amiga_serial_console_wait_key()
    - config.c: amiga_serial_gets()
    - remove the following unused variable:
    - config.c: amiga_masterclock

    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch fixes the following build error:

    ..
    Building modules, stage 2.
    MODPOST 1203 modules
    ERROR: "c2p" [drivers/video/amifb.ko] undefined!
    ..
    make[2]: *** [__modpost] Error 1

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch fixes the following build error:

    ..
    Building modules, stage 2.
    MODPOST 1203 modules
    ERROR: "amiga_vblank" [drivers/video/amifb.ko] undefined!
    ..
    make[2]: *** [__modpost] Error 1

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • This patch adds the missing MODULE_LICENSE("GPL").

    Reported-by: Adrian Bunk
    Signed-off-by: Adrian Bunk
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • Register the Atari-specific video modes with sysfs, so you can see them in
    /sys/class/graphics/fb0/modes and change the video mode by writing to
    /sys/class/graphics/fb0/mode.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • Register the Amiga-specific video modes with sysfs, so you can see them in
    /sys/class/graphics/fb0/modes and change the video mode by writing to
    /sys/class/graphics/fb0/mode.

    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • zorro: use memory_read_from_buffer

    Signed-off-by: Akinobu Mita
    Signed-off-by: Geert Uytterhoeven
    Signed-off-by: Linus Torvalds

    akinobu.mita@gmail.com