1. 16 Jun, 2003 12 commits
    • David T. Hollis's avatar
      [PATCH] USB: AX8817X Driver for 2.5 · 72805f2a
      David T. Hollis authored
      72805f2a
    • Matthew Dharm's avatar
      [PATCH] USB storage: more cleanups · c29296ae
      Matthew Dharm authored
      This patch (a) removes dead code, (b) renames some static functions with
      names that are more apropriate for static functions, and (c) implements a
      slave_configure() function.
      
      With the patch I just sent to Linus (et al.) to fix the SCSI core to allow
      slave_configure() to tweak (meaningfully) the two variables I need to set,
      we'll be able to remove US_FL_MODE_XLATE.
      
      (Well, actually, we also need to fix sr.c to respect the use_10_for_ms
      flag, but that should be easy once the rest is done.)
      c29296ae
    • Matthew Dharm's avatar
      [PATCH] USB storage: unusual_devs fixups · 7344f494
      Matthew Dharm authored
      This patch implements US_PR_DEVICE and US_SC_DEVICE, which have the meaning
      'use the device's value -- no override'.  This should make maintance
      easier, and also allow for those few devices that change their descriptors
      depending on what they are connected to.
      
      This will also print a message to help us identify entries that can be
      pruned.
      
      Finally, it removes a couple of dead flags.
      7344f494
    • Matthew Dharm's avatar
      [PATCH] USB storage: cleanups · 169671a9
      Matthew Dharm authored
      Some minor cleanups.  First, some locking in the bus-reset.  Next, we move
      current_sg into struct us_data (why make more memory allocation issues for
      ourselves?).  Next, we change sm_state into a normal variable, since it
      shouldn't require atomic_t anytmore.  Finally, we remove some references to
      a couple of flags that don't do anything anymore.
      
      # Fix device locking during the bus-reset routine.
      #
      # Embed current_sg in struct us_data.
      #
      # Make us->sm_state a regular int instead of an atomic_t.
      #
      # Remove a couple of references to the START_STOP and IGNORE_SER
      # flag bits.
      169671a9
    • Greg Kroah-Hartman's avatar
    • Greg Kroah-Hartman's avatar
      Merge kroah.com:/home/greg/linux/BK/bleed-2.5 · 5bcd0bb6
      Greg Kroah-Hartman authored
      into kroah.com:/home/greg/linux/BK/gregkh-2.5
      5bcd0bb6
    • Duncan Sands's avatar
      6332c743
    • Stefan Becker's avatar
    • Randy Dunlap's avatar
      [PATCH] USB: handle USB printer error bits independently · effb49b4
      Randy Dunlap authored
      Some printers report errors (like out of paper or offline) without
      setting the main "I have an error" bit.  I see this on my home
      printer and someone else has confirmed it for me, suggesting that
      we check the printer error status bits independently, ordering
      them as we see fit, so here's a patch that does that.
      effb49b4
    • David Brownell's avatar
      [PATCH] USB: ehci, fix qh re-activation problem · b47b914e
      David Brownell authored
      This resolves a problem that appears when relinking
      a bulk or control QH that has a partially completed
      multi-packet qTD.  Some I/O could be repeated.
      
      Such cases can happen when an empty QH starts to unlink,
      but gets re-activated (by queueing the multi-packet qTD)
      before the HC saw the unlink.  It's rarely an issue with
      control traffic (transfers are so small) or when bulk
      queues are active (the QH won't empty).
      b47b914e
    • Andi Kleen's avatar
      [PATCH] x86-64 merge · 4fb416f4
      Andi Kleen authored
      Lots of small fixes and I merged the PCI subsystem with i386 again
      because it was mostly identical. This makes the patch quite big,
      but it only removes files.
      
       - Merge PCI subsystem with i386.
      
         This changes the initialization order of PCI and IOMMU slightly.  It
         didn't see any problems yet, but it could cause some in theory.  It
         re-adds some code that used to be removed, but it's only small stuff
         and it should hopefully cause less mainteance overhead longer term.
      
       - Fix warnings
       - Merge cpuid.c with i386.c
       - Sync msr.c with i386
       - Consolidate externs in asm/proto.h
       - sysfs/sysdev fixes for apic/nmi (Bryan O'Sullivan)
       - Fix /proc/kcore access
       - Add real kern_addr_valid (used for above).
       - Support consistent dma_mask in IOMMU
       - Fix double print of AMD for CPU model.
       - Remove unused wakeup.S file.
       - Remove obsolete CONFIG_SIMNOW ifdef.
       - Support ptrace access for 32bit vsyscalls.
       - Fix warnings in 32bit boot code compilation.
      4fb416f4
    • Andi Kleen's avatar
      [PATCH] Minor 32bit compatibility fix for /dev/rtc · 571d4a87
      Andi Kleen authored
      Handle both unsigned int and unsigned long in rtc_read. This helps
      when running 32bit userland under an 64bit kernel.
      571d4a87
  2. 15 Jun, 2003 28 commits
    • Alexey Kuznetsov's avatar
      [IPV4]: More sane rtcache behavior. · 7197ce26
      Alexey Kuznetsov authored
      1) More reasonable ip_rt_gc_min_interval default
      2) Trim less valuable entries in hash chain during
         rt_intern_hash when such chains grow too long.
      7197ce26
    • Ville Nuorvala's avatar
      3eef54d7
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/network-2.5 · 431aa1db
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      431aa1db
    • 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
    • David S. Miller's avatar
      Merge nuts.ninka.net:/home/davem/src/BK/network-2.5 · dccb8861
      David S. Miller authored
      into nuts.ninka.net:/home/davem/src/BK/net-2.5
      dccb8861
    • Christoph Hellwig's avatar
      39ba9a4b
    • 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