1. 06 Aug, 2002 5 commits
    • Paul Mackerras's avatar
      [PATCH] USB root hub polling and suspend · 7cbe5bbe
      Paul Mackerras authored
      Currently with 2.5, when I suspend and resume my powerbook, I find
      that the USB subsystem no longer sees root hub events, i.e. it doesn't
      notice when I plug in a new USB device (it doesn't notice when I
      unplug a device either but of course the driver for the device sees
      that it is no longer responding).
      
      It turns out that what happens is that the root hub timer goes off
      after the OHCI driver has done its suspend stuff.  The timer routine
      sees that the HCD is not running at the moment and doesn't schedule
      another timeout.  Hence the series of timeouts stops.
      7cbe5bbe
    • Greg Kroah-Hartman's avatar
      USB: Makefile fix for previous patch · 89c43fb6
      Greg Kroah-Hartman authored
      89c43fb6
    • David Brownell's avatar
      [PATCH] expose dma_addr_t in urbs · 70b34cbd
      David Brownell authored
      This patch exposes DMA addresses in URBs.  It exposes new APIs that
      let drivers be a bit smarter in terms of DMA, reducing USB overhead
      on some platforms (but not commodity pcs).  As discussed with DaveM,
      and on the usb-devel list.
      
      Supporting patches are still needed.  Of course, there's teaching HCDs
      to use _these_ addresses when they're provided (easy).  There's also
      teaching drivers (like hid) to use the new usb_buffer_alloc() support,;
      can happen incrementally.  And adding scatterlist support, which will
      be desirable for usb-storage and hpusbscanner.  But this is the start
      needed to get all of that going.
      70b34cbd
    • David Brownell's avatar
      [PATCH] ehci does interrupt queuing · 0f9becac
      David Brownell authored
      This patch makes EHCI
      
        - Share the same TD queueing code for control, bulk,
          and interrupt traffic;
        - Queue interrupt transfers, modifying the code for
          urb submit/unlink/complete;
        - Thinner, by removing lots of nasty fatty special case
          logic for interrupt transfers (size, no queueing, etc);
        - Grow some "automagic resubmit" logic, ready to be
          ripped out soonish;
        - Package its interrupt scheduling so it can be called
          from more places.
      0f9becac
    • David Brownell's avatar
      [PATCH] ehci, debug info in driverfs · b2ade7ec
      David Brownell authored
      This patch teaches the ehci driver how to dump its schedule
      through two driverfs files:
      
        "sched-async" shows the control/bulk queue.  usually has
           no tds, often the idle queue head is showing.
        "sched-periodic" shows the iso/interrupt schedule.
      
      Since this is for debugging, the files aren't normally
      configured into the driver.
      b2ade7ec
  2. 05 Aug, 2002 4 commits
    • Andries E. Brouwer's avatar
      [PATCH] usb_string fix · 5b1e5be8
      Andries E. Brouwer authored
      Things are indeed as conjectured, and I can reproduce the situation
      where usb_string() returns -EPIPE. Now that this is an internal
      error code for the USB subsystem, and not meant to get out to the
      user, I made these driverfs files empty in case of error.
      (While if there is no error but the string has length 0,
      the file will consist of a single '\n'.)
      
      One fewer random memory corruption. Unfortunately, there are more.
      
      Andries
      5b1e5be8
    • David Brownell's avatar
      [PATCH] ohci, rm sparc64 oops · 188482b7
      David Brownell authored
      The recent "unlink cleanups" patch had a problem
      with bitmask byteswapping.
      188482b7
    • David Brownell's avatar
      [PATCH] ehci updates · 39c5c63d
      David Brownell authored
      This patch is the first part of fixing the EHCI driver to queue
      interrupt transactions, handle larger requests, and basically treat
      interrupt as just "bulk that lives on the periodic schedule".  One
      more patch should wrap that up.
      
           qh processing cleanup
      	- split "append tds to qh" logic out of "put on async schedule",
      	  so it can be used with "put on periodic schedule" too
           interrupt transfer cleanup
      	- save rest of scheduling params in the qh
      	- calculate scheduling params only once
           other cleanup
      	- use new container_of()
      	- minor code shrinkage (avoid pipe bitops, conditionals, etc)
      	- rename variable (will track endpoints, not urbs)
      	- free_config() logic
      39c5c63d
    • Greg Kroah-Hartman's avatar
      USB storage: split up BUG_ON for easier debugging. · 4344c76c
      Greg Kroah-Hartman authored
      As requested by Adam Richter.
      4344c76c
  3. 03 Aug, 2002 13 commits
    • Linus Torvalds's avatar
      Undo "stringify()" changes, since they don't work with · 35aa61ec
      Linus Torvalds authored
      various compilers
      35aa61ec
    • Brian Gerst's avatar
      [PATCH] Dead code in i386/kernel/process.c · bd8feaa6
      Brian Gerst authored
      This patch removes an artifact of code left over from the 2.0 days when
      the kernel didn't use flat segments.
      
      The preceding memcpy() already takes care of the NULL ptr mapping.
      bd8feaa6
    • Russell King's avatar
      [PATCH] 11: 2.5.29-8390 · 09188a07
      Russell King authored
      Unfortunately, someone changed the inb and friends definitions and
      broke ARM.  This patch allows ARM to build NE2000 based drivers
      again.
      09188a07
    • Russell King's avatar
      [PATCH] 1: 2.5.29-dma · a4d43929
      Russell King authored
      The following patch adds support for CONFIG_GENERIC_ISA_DMA, which went
      into the 2.4-ac kernel series prior to 2.5 happening.
      
      The following patch allows architectures to decide whether they want
      the generic ISA DMA functionality provided by kernel/dma.c and other
      supporting files.
      
      In addition, we move the procfs "/proc/dma" support code out of fs/proc
      into kernel/dma.c, and adapt it to use the new seq_file code.
      a4d43929
    • Russell King's avatar
      [PATCH] 7: 2.5.29-mmap · 3a6ecd1b
      Russell King authored
      The following patch is required so that munmap(0x8000, *) does not cause
      ARM kernels to crash.  The problem is that the machine vectors are at
      virtual address 0.  Unfortunately, when free_pgtables() is called, it
      clears first level page tables starting at 0 in this case, and takes
      out the machine vectors.  This then results in an unrecoverable hang.
      
      We already have FIRST_USER_PGD_NR to define the first entry in the pgd
      which may be cleared, so we use this to clamp "start_index"
      appropriately.  The following patch does this.  Tested on ARM.
      3a6ecd1b
    • Russell King's avatar
      [PATCH] 10: 2.5.29-wdt977 · 913ccfaa
      Russell King authored
      Bitops are used with on the timer_alive variable.  Therefore, timer_alive
      needs to be "unsigned long" not "int".
      913ccfaa
    • Russell King's avatar
      [PATCH] 6: 2.5.29-memory · 52ca501b
      Russell King authored
      Trivial patch; removes cruft that got left over from the TLB shootdown
      changes.  "dir" is never used in zap_page_range
      52ca501b
    • Russell King's avatar
      [PATCH] 3: 2.5.29-exports · fdcf2df1
      Russell King authored
      Various modules (eg, rd.c) use simple_strtol.  This patch exports the
      symbol so these modules can be loaded.
      fdcf2df1
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/janitor-2.5 · 17449f60
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      17449f60
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · 7a38263c
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      7a38263c
    • Jeff Dike's avatar
      [PATCH] UML preparation - infrastructure · 8f103851
      Jeff Dike authored
      This patch (against 2.5.30) contains all of the changes to generic code
      needed by UML.
      
      CREDITS -
      	Changes my address and adds a UML credit for Lars Brinkoff.
      
      MAINTAINERS -
      	Adds a UML entry.
      
      Makefile -
      	When ARCH=um is on the command line to do a UML build, the old value
      	of ARCH is saved in $(SUBARCH) for the later use of the UML build.
      
      drivers/char/Makefile -
      	Sets KEYMAP, KEYBD, CONSOLE empty to prevent hardware drivers from
      	being compiled in.
      
      drivers/net/setup.c -
      	Backs out a UML hook which leaked into your tree which UML no
      	longer uses.
      8f103851
    • Jeff Dike's avatar
      [PATCH] UML preparation - linkage.h · 7d45b60a
      Jeff Dike authored
      This a preparatory patch which allows UML to avoid changing linux/linkage.h.
      
      It restructures linkage.h so that all of the arch-specific stuff is in
      asm-*/linkage.h.  linux/linkage.h is now arch independent.  It should be
      functionally unchanged.
      
      Five arches, i386, ia64, sh, m68k, and arm, have non-empty linkage.h files.
      The other arch linkage.h files are all empty.
      
      Also, __ALIGN_STR is no longer defined independently of __ALIGN.  It is now
      derived by stringizing __ALIGN.
      
      Following a suggestion by Keith Owens, stringify.h was generalized to allow
      commas in its argument, linkage.h now includes it, and no longer defines its
      own stringify macros.
      7d45b60a
    • Linus Torvalds's avatar
      Merge bk://bk.arm.linux.org.uk · cbf3b4c9
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      cbf3b4c9
  4. 04 Aug, 2002 1 commit
  5. 03 Aug, 2002 17 commits
    • Russell King's avatar
      [TRIVIAL] acorn & arm designated initializer rework · ab0680db
      Russell King authored
      From Rusty.
      The old form of designated initializers are obsolete: we need to
      replace them with the ISO C forms before 2.6.  Gcc has always supported
      both forms anyway.
      
      (rmk - cleaned up spacing to be more reasonable)
      ab0680db
    • Russell King's avatar
      [TRIVIAL] designated initialize patches for fs_adfs · 2f50d507
      Russell King authored
      From: (via Rusty) Art Haas <ahaas@neosoft.com>
      Here are patches for files in fs/adfs. Patches are against 2.5.26.
      
      (rmk - updated for 2.5.30, cleaned up spacing to be more reasonable)
      2f50d507
    • Rusty Russell's avatar
      [TRIVIAL] Typos in linux_arch_arm_kernel_entry-armo.S · a6cb3a52
      Rusty Russell authored
      From: (via Rusty) James Mayer <james@cobaltmountain.com>
      a6cb3a52
    • Jeff Garzik's avatar
      Fix C99 initializer merge conflicts. · 36dec0f4
      Jeff Garzik authored
      36dec0f4
    • Rusty Russell's avatar
      5ea2e1ba
    • Rusty Russell's avatar
      a5b702f9
    • Martin Brulisauer's avatar
      97c9538a
    • Alan Cox's avatar
      Fix endiannes problems in ISA net drivers: · f66aa001
      Alan Cox authored
      3c503, hp-plus, smc-ultra, smc-ultra32, wd
      f66aa001
    • Scott Feldman's avatar
      Update e1000 gige net driver: · 67c5f644
      Scott Feldman authored
      Feedback from review by Arjan @ Redhat:
      o Cleanup: Removed unneccesary #ifdef/#endif wrappers for features 
        already part of kernel.
      o Bug fix: Use kernel funcs pci_[clear|set]_mwi rather than using direct
        calls to pci_write_config_word.
      o Bug fix: Added read-behind-write calls to post writes before delays.
      o Bug fix: removed calls to mdelay in interrupt context.
      o Clean up: removed calls to memset followed by mb() and replaced with
        direct clearing of descriptor bits.
      
      67c5f644
    • Scott Feldman's avatar
      Update e1000 gige net driver: · 9beae32e
      Scott Feldman authored
      o Bug fix: fixed jumbo frames sized from 1514 to 2048.
      o ASF support: disable ARP when driver is loaded or resumed; enable when 
        driver is removed or suspended.
      o Bug fix: changed default setting for RxIntDelay to 0 for 82542/3/4
        controllers to workaround h/w errata where controller will hang when
        RxIntDelay <> 0 under certian network conditions.
      o Bug fix: perform controller reset using I/O rather than mmio because
        some chipsets try to perform a 64-bit write, but the controller ignores
        the upper 32-bit write once the reset is intiated by the lower 32-bit
        write, causing a master abort.
      o Clean up: removed unused and undocumented user-settable settings for
        PHY.
      o Bug fix: ethtool GEEPROM was using byte address rather than word
        addressing.
      o Feature: added support for ethtool SEEPROM.
      o Feature: added support for entropy pool.
      
      9beae32e
    • Scott Feldman's avatar
      Update e100 net driver: · 7dbdd525
      Scott Feldman authored
      Feedback from review by Arjan @ Redhat:
      o Cleanup: Removed unneccesary #ifdef/#endif wrappers for features 
        already part of kernel.
      o Bug fix: Added read-behind-write calls to post writes before delays.
      o Cleanup: added "e100" prefix to all driver messages.
      o Cleanup: removed unnecessary barrier() call because spin_unlock
        already implies a barrier.
      o Cleanup: removed __NO_VERSION__
      o Cleanup: fixed some spelling mistakes.
      o Cleanup: removed some proprietary /proc entries.
      
      7dbdd525
    • Scott Feldman's avatar
      Update e100 net driver: · c0e1c9e4
      Scott Feldman authored
      o Added device ID support for Dell LOM.
      o Added device ID support for 82511QM mobile nics.
      o Bug fix: ethtool get/set EEPROM routines modified to use byte
        addressing rather than word addressing.
      o Feature: added MDIX mode support for 82550 and up.
      o Bug fix: added reboot notifier to setup WOL settings when
        shutting system down.
      o Cleanup: removed yield() redefinition (Andrew Morton,
        akpm@zip.com.au).
      o Bug fix: flow control now working when link partner is
        autoneg capable but not flow control capable.
      o Bug fix: added check for corrupted EEPROM
      o Bug fix: don't report checksum offloading for the older
        controllers that don't support the feature.
      o Bug fix: calculate cable diagnostics when link goes down
        rather than when queuering /proc file.
      o Cleanup: move mdi_access_lock to local get/set mdi routines.
      c0e1c9e4
    • David Mosberger's avatar
      Update eepro100 net drvr to enable rx DMA without causing · f54cb1a1
      David Mosberger authored
      unaligned accesses.
      f54cb1a1
    • Felipe Damasio's avatar
      36838bad
    • Felipe Damasio's avatar
      Update 8139cp net driver to move legacy Rx/Tx command register enable · b12034e1
      Felipe Damasio authored
      to after C+ command register Rx/Tx enable.
      b12034e1
    • Linus Torvalds's avatar
      Fix up problem with Alan's pnpbios fixes for per-cpu GDT's. · 757a6bee
      Linus Torvalds authored
      Verified by Nathaniel <wfilardo@fuse.net>
      757a6bee
    • Hirofumi Ogawa's avatar
      [PATCH] possible of memory leak of driverfs_mknod() · cdca8d0c
      Hirofumi Ogawa authored
      This patch fixes memory leak of driverfs_mknod(), and changes odd
      error code.
      cdca8d0c