29 Jun, 2006

27 commits

  • Signed-off-by: Alan Cox
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Sergei Shtylyov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Also sets the new fifo flag so that we don't hang on some errors with this
    chipset.

    Signed-off-by: Alan Cox
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Sergei Shtylyov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Move auto arrays to static (const). Clean up using PCI_DEVICE in places,
    remove unreachable junk and dead code.

    Fix the serverworks cable detect logic (if ordering is wrong). Backport
    from libata. Plenty of scope for more cleanup left.

    Signed-off-by: Alan Cox
    Cc: Bartlomiej Zolnierkiewicz
    Cc: Sergei Shtylyov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • If the controller FIFO cleared automatically on error we must not try
    and drain it as this will hang some chips.

    Based in concept on a broken patch from -mm some while back

    Signed-off-by: Alan Cox
    Cc: Sergei Shtylyov
    Cc: Bartlomiej Zolnierkiewicz
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Kill a pair of long escaped debug printk calls

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Remove all the ifdef preparation for enhanced features that never occcurred
    and is only in libata. For the SATA chips (but not yet PATA ones) politely
    suggest to the user that libata may offer more features.

    Signed-off-by: Alan Cox
    Cc: Sergei Shtylylov
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • This is based on the proposed patches flying around but also checks that
    the device in question is new enough to have word 93 rather thanb blindly
    assuming word 93 == 0 means SATA (see ATA-5, ATA-7)

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Make a 1-bit field unsigned like all of the others near it.
    sound/oss/via82cxxx_audio.c:311:21: error: dubious one-bit signed bitfield

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Make a 1-bit bitfield unsigned (no space for sign bit).
    Removes 24 sparse warnings from this one file:
    include/linux/ac97_codec.h:262:13: error: dubious one-bit signed bitfield

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Fix section mismatch: adds __init to probe function,
    frees some init memory, not critical.
    WARNING: sound/oss/cs4232.o - Section mismatch: reference to .init.text: from .text after 'cs4232_pnp_probe' (at offset 0x152)

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     
  • Fix a erroneous calculation of the legacy brightness values as reported by
    Paul Collins. Additionally, it moves the calculation of the negative value
    in the radeonfb driver after the value check.

    Signed-off-by: Michael Hanselmann
    Acked-by: Benjamin Herrenschmidt
    Acked-by: Paul Collins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Michael Hanselmann
     
  • Modify the watchdog timeout in IPMI to only do things at panic/reboot time if
    the watchdog timer was already running. Some BIOSes do not disable the
    watchdog timer at startup, and this led to a reboot a while later if the new
    OS running didn't start monitoring the watchdog, even if the watchdog was not
    running before.

    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • There was some old high-res-timer code in the IPMI driver that is dead.
    Remove it.

    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • Tidy up the timer usage in the IPMI driver.

    Signed-off-by: Corey Minyard
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Corey Minyard
     
  • Turned out to be rather a monster

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Works better on SMP if...

    Signed-off-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alan Cox
     
  • Fix an incorrect check whether a fid was allocated in v9fs_create and if it
    should be freed on error.

    Signed-off-by: Latchesar Ionkov
    Cc: Eric Van Hensbergen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Latchesar Ionkov
     
  • If a signal interrupts the user process, v9fs sends a flush request to the
    file server and waits for its response. It error code is incorrectly set
    to the error code of the flush message instead of ERESTARTSYS. The patch
    sets the error code to the correct value.

    Signed-off-by: Latchesar Ionkov
    Cc: Eric Van Hensbergen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Latchesar Ionkov
     
  • Remove 'active' field from tty buffer structure. This was added in 2.6.16
    as part of a patch to make the new tty buffering SMP safe. This field is
    unnecessary with the more intelligently written flush_to_ldisc that adds
    receive_room handling.

    Removing this field reverts to simpler logic where the tail buffer is
    always the 'active' buffer, which should not be freed by flush_to_ldisc.
    (active == buffer being filled with new data)

    The result is simpler, smaller, and faster tty buffer code.

    Signed-off-by: Paul Fulghum
    Cc: Alan Cox
    Cc: Theodore Ts'o
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     
  • Flush data serially to line discipline in blocks no larger than
    tty->receive_room to avoid losing data if line discipline is busy (such as
    N_TTY operating at high speed on heavily loaded system) or does not accept
    data in large blocks (such as N_MOUSE).

    Signed-off-by: Paul Fulghum
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     
  • Remove TTY_DONT_FLIP tty flag. This flag was introduced in 2.1.X kernels
    to prevent the N_TTY line discipline functions read_chan() and
    n_tty_receive_buf() from running at the same time. 2.2.15 introduced
    tty->read_lock to protect access to the N_TTY read buffer, which is the
    only state requiring protection between these two functions.

    The current TTY_DONT_FLIP implementation is broken for SMP, and is not
    universally honored by drivers that send data directly to the line
    discipline receive_buf function.

    Because TTY_DONT_FLIP is not necessary, is broken in implementation, and is
    not universally honored, it is removed.

    Signed-off-by: Paul Fulghum
    Cc: Alan Cox
    Cc: Theodore Ts'o
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Paul Fulghum
     
  • Add an SPI driver for the Ricoh RS5C348 RTC chip.

    Signed-off-by: Atsushi Nemoto
    Acked-by: Alessandro Zummo
    Cc: David Brownell
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Atsushi Nemoto
     
  • Undo bizarre declaration in load_module().

    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • Temporarily add EXPORT_UNUSED_SYMBOL and EXPORT_UNUSED_SYMBOL_GPL. These
    will be used as a transition measure for symbols that aren't used in the
    kernel and are on the way out. When a module uses such a symbol, a warning
    is printk'd at modprobe time.

    The main reason for removing unused exports is size: eacho export takes
    roughly between 100 and 150 bytes of kernel space in the binary. This
    patch gives users the option to immediately get this size gain via a config
    option.

    Signed-off-by: Arjan van de Ven
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arjan van de Ven
     
  • Same as with already do with the file operations: keep them in .rodata and
    prevents people from doing runtime patching.

    Signed-off-by: Christoph Hellwig
    Cc: Steven French
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Hellwig
     
  • We recently changed x86 to handle more than 256 IRQs. Add a check in do_IRQ()
    just to make sure that nothing went wrong with that implementation.

    [chrisw@sous-sol.org: do x86_64 too]
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: Rusty Russell
    Cc: Andi Kleen
    Cc: Chris Wright
    Cc: "Protasevich, Natalie"
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • the VDSO randomization code on i386 fails to release the mmap semaphore
    if insert_vm_struct() fails.

    [ Made the conditional unlikely. -- Linus ]

    Signed-off-by: Linus Torvalds

    pageexec@freemail.hu
     

28 Jun, 2006

13 commits

  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6:
    [netdrvr] Remove long-unused bits from Becker template drivers
    [netdrvr] natsemi: minor cleanups
    [netdrvr] natsemi: Separate out media initialization code
    [PATCH] WAN: update info page for a bunch of my drivers
    [PATCH] drivers/net/hamradio/dmascc.c: fix section mismatch
    [PATCH] Fix phy id for LXT971A/LXT972A
    [PATCH] DM9000 - minor code cleanups
    [PATCH] DM9000 - do no re-init spin lock
    [PATCH] DM9000 - check for MAC left in by bootloader
    [PATCH] DM9000 - better checks for platform resources

    Linus Torvalds
     
  • * git://git.infradead.org/mtd-2.6:
    [MTD] NAND: Select chip before checking write protect status
    [MTD] CORE mtdchar.c: fix off-by-one error in lseek()
    [MTD] NAND: Fix typo in mtd/nand/ts7250.c
    [JFFS2][XATTR] coexistence between xattr and write buffering support.
    [JFFS2][XATTR] Fix wrong copyright
    [JFFS2][XATTR] Re-define xd->refcnt as atomic_t
    [JFFS2][XATTR] Fix memory leak with jffs2_xattr_ref
    [JFFS2][XATTR] rid unnecessary writing of delete marker.
    [JFFS2][XATTR] Fix ACL bug when updating null xattr by null ACL.
    [JFFS2][XATTR] using 'delete marker' for xdatum/xref deletion
    [MTD] Fix off-by-one error in physmap.c
    [MTD] Remove unused 'nr_banks' variable from ixp2000 map driver
    [MTD NAND] s3c2412 support in s3c2410.c
    [MTD] Initialize 'writesize'
    [MTD] NAND: ndfc fix address offset thinko
    [MTD] NAND: S3C2410 convert prinks to dev_*()s
    [MTD] NAND: Missing fixups

    Linus Torvalds
     
  • * git://oss.sgi.com:8090/nathans/xfs-2.6:
    [XFS] Fixup whitespace damage in log_write, remove final warning.
    [XFS] Rework code snippets slightly to remove remaining recent-gcc
    [XFS] Fix realtime subvolume expansion, a porting bug b0rked it. Coverity
    [XFS] Remove a race condition where a linked inode could BUG_ON in
    [XFS] Remove redundant directory checks from inode link operation.
    [XFS] Remove a couple of no-longer-used macros.
    [XFS] Reduce size of xfs_trans_t structure. * remove ->t_forw, ->t_back --
    [XFS] remove unused behaviour lock - shrink XFS vnode as a side effect.
    [XFS] * There is trivial "inode => vnode => inode" conversion, but only
    [XFS] link(2) on directory is banned in VFS.

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    [PATCH] ata_piix: add ICH6/7/8 to Kconfig
    [PATCH] sata_sil: disable hotplug interrupts on two ATI IXPs
    [PATCH] libata: cosmetic updates
    [PATCH] ata: add some NVIDIA chipset IDs
    [PATCH] libata reduce timeouts
    [PATCH] libata: implement ata_port_max_devices()
    [PATCH] libata: make two functions global
    [PATCH] libata: update ata_do_simple_cmd()
    [PATCH] libata: move ata_do_simple_cmd() below ata_exec_internal()
    [PATCH] libata: clear EH action on device detach
    [PATCH] libata: implement and use ata_deh_dev_action()
    [PATCH] libata: move ata_eh_clear_action() upward
    [PATCH] libata.h needs scatterlist.h
    [libata] sata_vsc: partially revert a PCI ID-related commit
    [libata] Bump versions

    Linus Torvalds
     
  • The previous "delete" had actually just truncated it to a zero
    size, something that can easily happen if you just apply a patch.

    Signed-off-by: Linus Torvalds

    Linus Torvalds
     
  • Commit 02dd7ae2892e5ceff111d032769c78d3377df970 ("[PATCH] i2c-i801:
    Merge setup function") has a missing return 0 in the _probe() function.
    This means the error path is always executed and pci_disable_device() is
    called even when the device just got successfully enabled.

    Having the SMBus device disabled makes some systems (eg.
    Fujitsu-Siemens Lifebook E8010) hang hard during power-off.

    Intead of reverting the whole commit this patch fixes it up:
    - don't ever call pci_disable_device(), also not in the _remove() function
    to avoid hangs
    - fix missing pci_release_region() in error path

    Signed-off-by: Daniel Ritz
    Signed-off-by: Linus Torvalds

    Daniel Ritz
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sfrench/cifs-2.6: (25 commits)
    [CIFS] Fix authentication choice so we do not force NTLMv2 unless the
    [CIFS] Fix alignment of unicode strings in previous patch
    [CIFS] Fix allocation of buffers for new session setup routine to allow
    [CIFS] Remove calls to to take f_owner.lock
    [CIFS] remove some redundant null pointer checks
    [CIFS] Fix compile warning when CONFIG_CIFS_EXPERIMENTAL is off
    [CIFS] Enable sec flags on mount for cifs (part one)
    [CIFS] Fix suspend/resume problem which causes EIO on subsequent access to
    [CIFS] fix minor compile warning when config_cifs_weak_security is off
    [CIFS] NTLMv2 support part 5
    [CIFS] Add support for readdir to legacy servers
    [CIFS] NTLMv2 support part 4
    [CIFS] NTLMv2 support part 3
    [CIFS] NTLMv2 support part 2
    [CIFS] Fix mask so can set new cifs security flags properly
    CIFS] Support for older servers which require plaintext passwords - part 2
    [CIFS] Support for older servers which require plaintext passwords
    [CIFS] Fix mapping of old SMB return code Invalid Net Name so it is
    [CIFS] Missing brace
    [CIFS] Do not overwrite aops
    ...

    Linus Torvalds
     
  • Switch to using the new RAM Kconfig settings, instead of linker defined
    regions in ROM specific 68328 startup code.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Switch to using the new RAM Kconfig settings, instead of linker defined
    regions in ROM specific 68360 startup code.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Switch to using the new RAM Kconfig settings, instead of linker defined
    regions in RAM specific 68360 startup code.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Remove NO_FORMAT_VEC conditional check. It is not used or defined anywhere.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Collection of fixes for the ColdFire FEC ethernet driver:

    . reworked event setting so that it occurs after the MII setup.
    roucaries bastien
    . Do not read cbd_sc in memory for each bit we test. Once per buffer is enough.
    . Overrun errors must increase `rx_fifo_errors', not `rx_crc_errors'
    . No need for a special value to activate rx or tx. Only write access matters.
    . Simplify parameter of eth_copy_and_sum : `data' has already the right value.
    . Some spelling fixes.

    Signed-off-by: Philippe De Muyter
    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Greg Ungerer
     
  • Set different irq priority levels for each IRQ requested.
    According to the Freescale ColdFire documentation each separate IRQ
    must have its own unique priority/level combination.

    Signed-off-by: Greg Ungerer
    Signed-off-by: Linus Torvalds

    Willson Callan