1. 16 Jun, 2003 6 commits
    • Margit Schubert-While's avatar
      [PATCH] I2C: Sensors patch for adm1021 · 34b8d99b
      Margit Schubert-While authored
      Patch for adm1021
      This corrects temp reporting and a major error whereby
      "alarms" and "die_code" were being put though the "TEMP" macro.
      Compiled but don't have the hardware to test.
      34b8d99b
    • Greg Kroah-Hartman's avatar
      edd5cf95
    • Martin Schlemmer's avatar
      [PATCH] I2C: ICH5 SMBus and W83627THF additions · 6ea3ec80
      Martin Schlemmer authored
      I have been trying to get the W83627THF chip working on this
      board.  It is an Asus P4C800 with Intel 875p chipset and a
      W83627THF connected via the SMBus.
      
      There are no data sheet for the W83627THF as far as I can see,
      but supposidly it is a W83627HF with advance Fan control, etc.
      
      I have applied attached patches, and tried various other things
      to get it to work, but no avail.  The SMBus on the ICH5 seems to
      work, and it seems to detect the sensor chip just fine, but it
      do not seem to read any values from the W83627THF.
      6ea3ec80
    • Mark M. Hoffman's avatar
      [PATCH] I2C: w83781d bugfix · e3c5438d
      Mark M. Hoffman authored
      My first patch was naive; the patch below solves the problem by
      letting w83781d_detach_client remove the three clients (1 * primary
      + 2 * subclients) independently.  It's a noisy patch because I had
      to change the way the subclients were kmalloc'ed - sorry.  The meat
      is around line 1422.  This patch works for me... comments?
      e3c5438d
    • Margit Schubert-While's avatar
      [PATCH] I2C: lm85 fixups · a47d6c92
      Margit Schubert-While authored
      OK Here's the patch which :
      1) Fixes the race conditions
      2) Correctly reports the temps :-)
      3) Removes a bit of gunk in the defines which I forgot
      a47d6c92
    • Mark M. Hoffman's avatar
      [PATCH] i2c: Add lm78 sensor chip support · 7adb9a28
      Mark M. Hoffman authored
      This patch vs. 2.5.70 adds support for LM78, LM78-J, and LM79 sensors
      chips based on lm_sensors project CVS.  This works on one of my boards.
      
      I want to draw attention to something I did with this driver by
      comparing it to it87.c in 2.5.70:
      
      > #define IT87_INIT_TEMP_HIGH_1 600
      > #define IT87_INIT_TEMP_LOW_1  200
      
      The hardware uses degrees C, and sysfs uses degrees C * 1000.  But
      these #defines are apparently in units of degrees C * 10.  This
      arbitrary intermediate representation bugs me.  And given the new 2.5
      sysfs standard, it's unnecessary.
      
      In this patch for lm78, I rewrote the conversion routines in terms
      of the sysfs units - getting rid of the intermediate nonsense.  If
      there are no objections, I'm going to start passing patches to do
      this to the other sensor chip drivers in 2.5 as well.  It would be
      nice to get some help with this too... especially since I don't
      have all that hardware at hand to test the results.
      7adb9a28
  2. 15 Jun, 2003 30 commits
    • Rusty Russell's avatar
      [PATCH] clean up overzealous deprecated warning · eaaaa304
      Rusty Russell authored
      1) We export __check_region, so making it __deprecated gives a spurious
         warning in kernel/ksyms.c.
      2) Other warnings refer to __check_region rather than check_region,
         which has confused some people.
      
      Make check_region an inline, not a macro, and deprecate *that*.
      eaaaa304
    • Greg Ungerer's avatar
      [PATCH] ColdFire serial driver fixups · b1705344
      Greg Ungerer authored
      A number of small ColdFire serial driver fixups:
       - use correct irq handler return type (irqreturn_t)
       - add support for mark and space parity
       - some casting to keep types clean (and remove compile warnings)
       - fix missing ";" after local tty_driver struct definition
      b1705344
    • Greg Ungerer's avatar
      [PATCH] remove 68328 arch specific irq init · f08e5e21
      Greg Ungerer authored
      We no longer use sub-architecture speicific interrupt setups
      in the m68knommu branch. Remove obsolete call to 68328 irq
      init.
      f08e5e21
    • Greg Ungerer's avatar
      [PATCH] conditional ROMfs copy for M5206eLITE board · 1b757976
      Greg Ungerer authored
      Make the ROMfs copy in the startup code for Motorola/M5206eLITE board
      conditional on actually using a ROMfs setup.
      1b757976
    • Greg Ungerer's avatar
      [PATCH] DragonEngine board name change · 9fb42cb5
      Greg Ungerer authored
      Minor board name change in m68knommu setup,
      "Dragon Engine" -> "DragonEngine".
      9fb42cb5
    • Andi Kleen's avatar
      [PATCH] Fix compilation of 32bit ioctl emulation on x86-64 · 0c6a9cbd
      Andi Kleen authored
      The NCP ioctls are declared unconditionally in compat_ioctl now, which needs this
      include to still compile on x86-64.
      0c6a9cbd
    • Andi Kleen's avatar
      [PATCH] Fix typo in timing changes + support for x86-64 · 9735860f
      Andi Kleen authored
      The us->ns conversion must be in the "tv" if branch of settimeofday,
      not in the "tz" if.
      
      Also make it compile for x86-64 again. The 32bit emulation was forgotten
      in the conversion.
      9735860f
    • Matthew Dharm's avatar
      [PATCH] unusual_devs fixups · c202927c
      Matthew Dharm authored
      This moves the initialization of the struct scsi_device fields
      use_10_for_ms and use_10_for_rw into a central place.  This allows the
      host's slave_configure() function to change them (with effect).  This
      also collapses two identical sections of code into a single one.
      
      This is needed by usb-storage, so we can resolve some Babble problems,
      some device-crashing problems, and remove a great deal of troublesome
      mode-sense-translation code.
      c202927c
    • Matthew Wilcox's avatar
      [PATCH] parisc arch update · 9ff05b1b
      Matthew Wilcox authored
      This update covers a lot of changes to arch/parisc and parisc-specific
      drivers.
      
       - irq_return_t changes
       - more work on the module loader (James Bottomley)
       - rewrite of led.c by Helge Deller
       - many miscellaneous updates
      9ff05b1b
    • Samuel Thibault's avatar
      [PATCH] Fix ma600.c compile · 20904d25
      Samuel Thibault authored
      At least gcc 3.3 complains about this incorrect token pasting thing in
      the ASSERT macro of drivers/net/irda/ma600.c
      20904d25
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk/linux-2.5-pcmcia · e1104a6f
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      e1104a6f
    • Russell King's avatar
      [PCMCIA] Prevent class_device related oops. · dfd3ad98
      Russell King authored
      Although no such oops has been reported, removing a socket driver
      while a file under /sysfs/class/pcmcia_socket/pcmcia_socket* is
      held open by user space could potentially cause an oops.
      
      Plug this by preventing pcmcia_unregister_socket from returning
      until all references by sysfs to the pcmcia socket have been dropped.
      dfd3ad98
    • Russell King's avatar
      Merge flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5 · 8ae9c851
      Russell King authored
      into flint.arm.linux.org.uk:/usr/src/linux-bk-2.5/linux-2.5-pcmcia
      8ae9c851
    • Daniel Ritz's avatar
      [PCMCIA] fix yenta unload oops · 396a847e
      Daniel Ritz authored
      Patch from Daniel Ritz
      
      rmmod yenta produces the following oops:
      Unable to handle kernel paging request at virtual address d084781e
      EIP is at yenta_config_init+0x18f/0x1e0 [yenta]
      Process pccardd (pid: 2618, threadinfo=c3236000 task=c988ae60)
      396a847e
    • Russell King's avatar
      [PCMCIA] Remove inquire_socket method from sa11xx_core.c · 227db9fa
      Russell King authored
      Update sa11xx_core.c for Dominik's previous patch.
      227db9fa
    • Dominik Brodowski's avatar
      [PCMCIA] Remove inquire_socket · b7949fda
      Dominik Brodowski authored
      Remove the inquire_socket callback by moving the (static) capability
      information to the top-level of struct pcmcia_socket.
      b7949fda
    • Dominik Brodowski's avatar
      [PCMCIA] move creation of /proc/pccard to ds.c · 34438384
      Dominik Brodowski authored
      Move the creation of /proc/pccard to ds.c so that ds.c is the only
      file that needs to include linux/proc_fs.h any longer.
      34438384
    • Dominik Brodowski's avatar
      [PCMCIA] Move socket /proc to sysfs · c6617c1d
      Dominik Brodowski authored
      Remove the proc_setup callback. The drivers can use CLASS_DEVICE_ATTR
      instead. Example: i82365.c.
      c6617c1d
    • Roman Zippel's avatar
      [PATCH] Clean up kernel parameter array declaration · c665225a
      Roman Zippel authored
      Declare the parameter array as an array, rather than a single entry.
      
      This doesn't matter for code generation, but may be less likely to cause
      problems down the line, since we're telling gcc more about the real
      situation.
      c665225a
    • Andi Kleen's avatar
      [PATCH] Fix over-alignment problem on x86-64 · 38d5b085
      Andi Kleen authored
      Thanks to Jan Hubicka who suggested this fix.
      
      The problem seems to be that gcc generates a 32byte alignment for static
      objects > 32bytes.  This causes gas to set a high alignment on the
      section, which causes the uneven (not multiple of sizeof(struct
      kernel_param)) section size.  The pointer division with a base not being
      a multiple of sizeof(*ptr) then causes the invalid result.
      
      This just forces a small alignment, which makes the section end come out
      with the correct alignment.
      
      The only mystery left is why ld chose a 16 byte padding instead of
      32byte.
      38d5b085
    • Paul Mundt's avatar
      [PATCH] Add mach-type generation for SH · aae1760a
      Paul Mundt authored
      This adds the missing arch/sh/tools directory, which includes mach-type
      generation scripts for building include/asm-sh/machtypes.h.
      aae1760a
    • Paul Mundt's avatar
      [PATCH] Fix PCI hotplug path for SH · 445ff66d
      Paul Mundt authored
      drivers/hotplug/Kconfig moved to drivers/pci/hotplug/Kconfig.
      
      This updates arch/sh/Kconfig respectively.
      445ff66d
    • Stelian Pop's avatar
      [PATCH] meye driver update · e8bae927
      Stelian Pop authored
      * replace the pci_alloc_consistent calls with dma_alloc_coherent
        because we want to do the allocations at GFP_KERNEL priority and
        not GFP_ATOMIC because we request quite a bit of memory and the
        allocation fails quite frequently.
      
        It would be better to have a pci_alloc_consistent with an extra
        parameter (priority) but since we haven't, and the meye driver is
        supposed to work only on ix86 platforms we can safely do the
        change.
      
      * fix the DMA engine stop request. The hard freezes encountered
        when using this driver and repeatedly opening/closing the device
        have been tracked down to this particular piece of code. The new
        version seems to work way better, I haven't had a single freeze
        since the change.
      
      * fix the irq handler prototype (irqreturn_t changes).
      e8bae927
    • Stelian Pop's avatar
      [PATCH] sonypi driver update · aa3432a2
      Stelian Pop authored
      * fix a hang problem when loading the driver on (at least) a
        PCG-FX105k. Thanks to Jozef Kruger for reporting the problem
        and testing different versions of this fix.
      
      * fix a .text.exit problem in the sonypi driver related to the
        recent PM changes (thanks to Adrian Bunk for the patch).
      
      * fix the irq handling reports (make sonypi always report IRQ_HANDLED)
        because there *are* events belonging to the sonypi device which
        are not (yet) recognized by the driver and we don't want those
        to pollute the logs...
      
      * test if the ACPI subsystem is not disabled before trying to
        use its ec_read/ec_write methods.
      
      * fix the hangs when enabling bluetooth (thanks to Daniel K. for
        the patch).
      
      * other miscellaneous small fixes.
      aa3432a2
    • Brian Gerst's avatar
      [PATCH] small cleanup for powernow-k7 · b6385562
      Brian Gerst authored
      Use local_irq_[disable|enable]() instead of hand-coded asm.
      b6385562
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/sparc-2.5 · 7996bc4a
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      7996bc4a
    • Linus Torvalds's avatar
      Merge bk://kernel.bkbits.net/davem/net-2.5 · 2f73086e
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      2f73086e
    • Trond Myklebust's avatar
      [PATCH] Fix rpc dentry list usage · 1f4b4edf
      Trond Myklebust authored
      This fixes the problems with NFS that got triggered by the list
      poisoning.
      
      The problem is that whereas using the dentry->d_hash list for private
      purposes was previously harmless, it is not allowed with the RCU lists,
      because we depend on the unhashed node continuing to point back to the
      original list.
      
      So keep a small vector of dentries around instead of using the d_hash
      list to keep track of them.
      1f4b4edf
    • David S. Miller's avatar
      [SPARC64]: Update defconfig. · 6d51ca2f
      David S. Miller authored
      6d51ca2f
    • David S. Miller's avatar
  3. 14 Jun, 2003 4 commits