07 Aug, 2008

1 commit


05 Aug, 2008

3 commits


04 Aug, 2008

1 commit

  • from include/asm-powerpc. This is the result of a

    mkdir arch/powerpc/include/asm
    git mv include/asm-powerpc/* arch/powerpc/include/asm

    Followed by a few documentation/comment fixups and a couple of places
    where was being used explicitly. Of the latter only
    one was outside the arch code and it is a driver only built for powerpc.

    Signed-off-by: Stephen Rothwell
    Signed-off-by: Paul Mackerras

    Stephen Rothwell
     

02 Aug, 2008

1 commit

  • Currently function tty_ldisc_get() tries to load an ldisc driver module
    only when tty_ldisc_try_get() returns -EAGAIN. This happens only if
    module is being unloaded. If ldisc module is not loaded
    tty_ldisc_try_get() returns -EINVAL and this case is not handled in
    tty_ldisc_get(), so request_module() is not called.

    Attached patch fixes this by calling request_module() if
    tty_ldisc_try_get() returned any error code.

    I discovered this when my UMTS modem stopped working with 2.6.27-rc1
    because module ppp_async was not loaded.

    Signed-off-by: Eugeniy Meshcheryakov
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Eugeniy Meshcheryakov
     

31 Jul, 2008

2 commits

  • * 'merge' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc:
    powerpc/mm: Lockless get_user_pages_fast() for 64-bit (v3)
    powerpc: Don't use the wrong thread_struct for ptrace get/set VSX regs
    powerpc: Fix ptrace buffer size for VSX
    powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
    ide/powermac: Fix use of uninitialized pointer on media-bay
    powerpc: Allow non-hcall return values for lparcfg writes
    ipmi/powerpc: Use linux/of_{device,platform}.h instead of asm
    powerpc/fsl: proliferate simple-bus compatibility to soc nodes
    Documentation: remove old sbc8260 board specific information
    cpm2: Rework baud rate generators configuration to support external clocks.
    powerpc: rtc_cmos_setup: assign interrupts only if there is i8259 PIC
    cpm_uart: Add generic clock API support to set baudrates
    cpm_uart: Modem control lines support
    powerpc: implement GPIO LIB API on CPM1 Freescale SoC.
    cpm2: Implement GPIO LIB API on CPM2 Freescale SoC.
    powerpc: Fix 8xx build failure
    powerpc: clean up the Book-E HW watchpoint support

    Linus Torvalds
     
  • The GET_MAJOR ioctl prints out a warning, make it ratelimited.

    Signed-off-by: Jiri Slaby
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     

30 Jul, 2008

1 commit


29 Jul, 2008

1 commit

  • There's a brown paper bag compile failure introduced by this patch

    commit a01386924874c4d6d67f8a34e66f04452c2abb69
    Author: David Sterba
    Date: Mon Jul 28 16:53:32 2008 +0200

    ipwireless: Preallocate received packet buffers with MRU size

    Really, it can't ever have been even compile tested. It looks like the
    closing bracket is in the wrong place, so this is the fix.

    Signed-off-by: James Bottomley
    Signed-off-by: Linus Torvalds

    James Bottomley
     

28 Jul, 2008

15 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus:
    stop_machine: fix up ftrace.c
    stop_machine: Wean existing callers off stop_machine_run()
    stop_machine(): stop_machine_run() changed to use cpu mask
    Hotplug CPU: don't check cpu_online after take_cpu_down
    Simplify stop_machine
    stop_machine: add ALL_CPUS option
    module: fix build warning with !CONFIG_KALLSYMS

    Linus Torvalds
     
  • ipwireless: Preallocate received packet buffers with MRU size

    Packets are assembled from link size (~300 bytes) up to PPP MRU
    (1500 by default). Try to preallocate full size rather than
    repeatedly advance buffer size by 256 bytes.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Put packets to pool start

    Put packets to pool start, try to reuse cached memory.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Increase PPP outgoing queue size

    Increase default size of PPP outgoing queue. Currently set to 1, which
    means that a packet quickly following another pushed by PPP must wait
    until hardware actually sends the previous and PPP has to be waken up
    by ppp_wakeup(). This slows down upstream.

    Now PPP can push more packets at once which get buffered inside driver
    and pushed immediatelly to hardware when previous packet is out.

    Experiments show that size = 10 is quite good for all connection types
    (GPRS/EDGE/UMTS) and gains 4 KB/sec of upload for UMTS for batch uploads.
    Need for higher queue size than 10 occures in only < 0.1 % of cases.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Explicitly request io and mem regions

    Documentation/pcmcia/driver-changes.txt says, that driver should call request_region
    for used memory/io regions since PCMCIA does not do this (since 2.6.8).

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Constify buffer variables

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Do not return value from sending funcs

    Do not return value from do_send_fragment and do_send_packet, it's not used.
    The packet size checks are not useful too:

    * zero length packet will never be sent, caller always passes packet_header
    size which is either 1 or 3
    * MTU check is done in caller, no need to repeat

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Remove endian-dependent bitfields

    Remove endian-dependent bitfields and use bitmasks to transform
    packet header bitfields from/to machine order.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Glue splitted printk strings back

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Remove pt_regs from interrupt handler

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Rename spinlock variables to lock

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Remove unused defines

    Remove unused defines, defines hiding variables, defines hiding 0.

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • ipwireless: Misc cleanups

    - remove likely() and some extra () in ifs
    - use unsigned in for loops
    - remove useless typecasts
    - remove obvious comments
    - add () around ?:

    Signed-off-by: David Sterba
    Signed-off-by: Jiri Kosina
    Signed-off-by: Linus Torvalds

    David Sterba
     
  • Signed-off-by: Rusty Russell

    Rusty Russell
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] Fix shared mmap when more than two maps of the same file exist
    [ARM] fix VIPT/VIVT macro optimisations, add comments
    [ARM] 5179/1: Replace obsolete IRQT_* and __IRQT_* values with IRQ_TYPE_*
    [ARM] update defconfig for eseries.
    [ARM] PXA: squash warning in pxafb
    [ARM] pxa: PXA25x UDC - Fix warning during build
    [ARM] fix nwflash.c: 6ee8928d94841aa764aeaf645ad16daff811dc26
    [ARM] fix IOP32x, IOP33x, MXC and Samsung builds
    [ARM] pci: provide dummy pci_get_legacy_ide_irq()
    [ARM] fix fls() for 64-bit arguments
    [ARM] fix mode for board-yl-9200.c
    [ARM] 5176/1: arm/Makefile: fix: ARM946T -> ARM946E

    Linus Torvalds
     

27 Jul, 2008

8 commits


26 Jul, 2008

7 commits

  • drivers/char/nwflash.c: In function 'flash_read':
    drivers/char/nwflash.c:129: error: 'p' undeclared (first use in this function)
    drivers/char/nwflash.c:129: error: (Each undeclared identifier is reported only once
    drivers/char/nwflash.c:129: error: for each function it appears in.)
    drivers/char/nwflash.c:129: error: 'count' undeclared (first use in this function)
    drivers/char/nwflash.c:136: warning: passing argument 4 of 'simple_read_from_buffer' discards qualifiers from pointer target type

    Signed-off-by: Russell King

    Russell King
     
  • * git://git.infradead.org/embedded-2.6:
    Make console charset translation optional

    Linus Torvalds
     
  • With the removal of the Solaris binary emulation the export of
    proc_clear_tty became unused.

    Signed-off-by: Adrian Bunk
    Acked-by: David S. Miller
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Adrian Bunk
     
  • - remove unused macro
    - some whitespace cleanup
    - useless debug prints removal

    Signed-off-by: Jiri Slaby
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     
  • Remove a support of ISA addresses predefined at compile time. It is
    unused (filled by zeroes) and prolongs the code. Don't initialize global
    array and add `ioaddr' module param description.

    Signed-off-by: Jiri Slaby
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     
  • - use dev_* for printing in pci probe function
    - move ISA p[rints directly into isa find function, do not postpone it.
    Remove macros bound to it then.
    - prepend some prints by "mxser: " to know what it belongs to

    Signed-off-by: Jiri Slaby
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby
     
  • - remove unused mxvar_diagflag
    - move mxser_msr into the only user/function
    - GMStatus, hmm, fix race-prone access to it. We need only one instance for
    real, not MXSER_PORTS. Move it to MOXA_GETMSTATUS ioctl.
    - mxser_mon_ext, almost the same, but alloc it on heap, since it has more than
    2 kilos.
    - fix indexing, `i' is not the index value, `i * MXSER_PORTS_PER_BOARD + j' is

    Signed-off-by: Jiri Slaby
    Acked-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jiri Slaby