1. 27 Dec, 2002 4 commits
    • Greg Kroah-Hartman's avatar
      [PATCH] USB: remove private_data pointer from struct usb_interface, as it shouldn't be used anymore · 9e314023
      Greg Kroah-Hartman authored
      Also added usb_get_intfdata() and usb_set_intfdata() functions to set the
      struct usb_interface private pointer easier.
      9e314023
    • Pablo Menichini's avatar
      [PATCH] Handle kmalloc fails: drivers/usb/input/pid.c · e95cd247
      Pablo Menichini authored
      This patch tries to check the return value of kmalloc taking the necesary
      action to solve the problem.
      e95cd247
    • dmitri@users.sourceforge.net's avatar
      [PATCH] Extra parameters removed from the ultracam driver · ab7d78b4
      dmitri@users.sourceforge.net authored
      > > Ultracam was derived from ibmcam and probably copied the list of
      > > parameters too. IBM cameras have this parameter, and use it.
      >
      > This means that it says "MODULE_PARM(lighting, "i");" and there is no
      > variable called lightening.  The new module code is stricter about
      > this.  Someone please fix.
      
      Here is the patch for 2.5.53. It removes parameters that have no use
      in the ultracam driver (and they were broken anyway).
      ab7d78b4
    • David Brownell's avatar
      [PATCH] usbcore dma updates (and doc) · 61426cf2
      David Brownell authored
      Attached is a patch leveraging some of the new generic dma stuff:
      
      - Replaces dma mapping calls in usbcore with generic equivalents.
         This is a minor code shrink (which we'd hoped could happen).
      
      - Pass dma mask along, so net drivers can notice it'd be good to
         set NETIF_F_HIGHDMA; or scsi ones can set highmem_io.  (Some
         Intel EHCI setups are able to support this kind of DMA.)
      
      - Updates one net driver (usbnet) to set NETIF_F_HIGHDMA when
         appropriate, mostly as an example (since I can't test this).
      
      - Provides Documentation/usb/dma.txt, describing current APIs.
         (Unchanged by this patch, except dma mask visibility.)
      
      - Converted another info() to dev_info(), and likewise a couple
         dbg() to dev_dbg() conversions in the modified routine.
      
      The number of FIXMEs was conserved: the generic API doesn't yet
      fix the error reporting bugs in the PCI-specific mapping API.
      61426cf2
  2. 26 Dec, 2002 13 commits
  3. 24 Dec, 2002 1 commit
    • Ganesh Varadarajan's avatar
      [PATCH] USB ipaq driver update · 5a8e410f
      Ganesh Varadarajan authored
      The ActiveSync USB "protocol" seems to be the same for all WinCE
      devices seen so far. So it seems reasonable to pre-emptively support
      all devices which work with ActiveSync.
      5a8e410f
  4. 23 Dec, 2002 3 commits
  5. 22 Dec, 2002 9 commits
    • Linus Torvalds's avatar
      Handle single-stepping over fast system calls without polluting · 52a150d8
      Linus Torvalds authored
      the fast case with a pushf/popf, by having the kernel debug trap
      set the TIF_SINGLESTEP flag and causing the return path to dtrt.
      52a150d8
    • Manfred Spraul's avatar
      [PATCH] Avoid overwriting boot_cpu_data from trampoline code · dd0f2bdf
      Manfred Spraul authored
      boot_cpu_data should contain the common capabilities of all cpus in the
      system. identify_cpu [arch/i386/kernel/cpu/common.c] tries to enforce
      that. But right now, the SMP trampoline code [arch/i386/kernel/head.S]
      overwrites boot_cpu_data when the secondary cpus are started, i.e.
      boot_cpu_data contains the capabilities from the last cpu that booted :-(
      
      The attached patch adds a new, __initdata variable for the asm code.
      dd0f2bdf
    • Rusty Russell's avatar
      [PATCH] honour init= bootparm · 576d92d6
      Rusty Russell authored
      Restore the accidentally dropped code to handle "init=xxx"
      576d92d6
    • Andi Kleen's avatar
      [PATCH] Fix pageattr with mem=nopentium · 4d59f610
      Andi Kleen authored
      This fixes a hang in change_page_attr() that occured with mem=nopentium.
      
      Make sure a non large page kernel mapping is handled correctly.
      Previously the page reference counter was handled incorrectly in this
      case.
      
      Also hardens change_page_attr against bogus addresses.  You get an
      EINVAL now.
      4d59f610
    • Andi Kleen's avatar
      [PATCH] Make mem=nopentium clear cpu_has_pse · 0b9e43dc
      Andi Kleen authored
      "mem=nopentium" would clear the PSE bit in boot_cpu_data, but the CPU
      detection later would overwrite it again from CPUID.
      
      The large pages would be correctly disabled, but cpu_has_pse was lying.
      
      This patch makes sure it stays clear when the option is given.
      
      I also took the liberty to remove these obnoxious cpu capability
      printks who give no use information (the data can be either gotten
      from CPUID in user space in raw form or from /proc/cpuinfo processed)
      0b9e43dc
    • Manfred Spraul's avatar
      [PATCH] reorder 'rep;nop;' in the spinlock macro · 5e163a89
      Manfred Spraul authored
      According to Intel's recommendation, 'rep;nop; should be called before
      testing if the lock variable was modified (i.e. rep nop;cmp;jcc). The
      current implementation does it the wrong way around: first test, then
      wait, then branch. I've asked Asit Mallik from Intel, and he recommended
      to change it.
      
      It should be at least consistent: Right now, spinlock uses
      'cmp;rep nop;jcc', rwlock uses 'rep nop;cmp;jcc'
      5e163a89
    • Linus Torvalds's avatar
      Merge http://linux-voyager.bkbits.net/dma-generic-mapping-2.5 · d21918b6
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      d21918b6
    • James Bottomley's avatar
      remove PCI_NEW_DMA_COMPAT_API · e6241a27
      James Bottomley authored
      use a #include mechanism for generic implementations of the pci_
      API in terms of the dma_ one
      e6241a27
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · b163be65
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      b163be65
  6. 21 Dec, 2002 10 commits