1. 18 Sep, 2002 30 commits
    • Russell King's avatar
      This patch fixes a bug in handling the timeout in pcnet_cs.c, where · baa9f9dc
      Russell King authored
      it uses the following test to determine whether the timeout has
      expired:
      
              if (jiffies - dma_start > PCNET_RDC_TIMEOUT) {
      
      Unfortunately, PCNET_RDC_TIMEOUT is defined to be "0x02", so the
      length of the timeout is only two jiffy ticks, rather than being
      the expected 20ms.  This patch fixes this.
      
      Also, the above (and one other place) should be converted to
      time_after().
      baa9f9dc
    • Jeff Garzik's avatar
      abe0c94c
    • Jean Tourrilhes's avatar
      This add spinlock protection to the Netwave wireless driver and gets · 13f4b95d
      Jean Tourrilhes authored
      rid of save_flags();cli();. I was pleasantly surprised that the driver
      was working fine on my SMP system with those obvious fixes. Tested on
      2.5.32 SMP.
      13f4b95d
    • Jean Tourrilhes's avatar
      Cleanups for the wavelan pcmcia wireless driver: · 22ef997f
      Jean Tourrilhes authored
      - Set dev->trans_start to avoid filling the logs
      	(and generating useless abort commands)
      - Avoid deadlocks in mmc_out()/mmc_in()
      22ef997f
    • Jean Tourrilhes's avatar
      A few cleanups for the old ISA wavelen wireless driver: · 9da6d375
      Jean Tourrilhes authored
      - Set dev->trans_start to avoid filling the logs
      - Handle better spurious/bogus interrupt
      - Avoid deadlocks in mmc_out()/mmc_in()
      9da6d375
    • Jean Tourrilhes's avatar
      This is Wireless Extension v15. Mostly enhanced iwpriv support · 54515c56
      Jean Tourrilhes authored
      for the HostAP driver, with few cleanups and new unused
      definitions. The most contention change is that this version now
      requires user space to provide the buffer size when making a GET (to
      check buffer overrun), which will break very old version of Wireless
      Tools (v22 and earlier).
      54515c56
    • Jeff Garzik's avatar
      Add two NETIF_MSG_xxx constants to linux/netdevice.h, · f102df2e
      Jeff Garzik authored
      that are used in natsemi net driver
      f102df2e
    • Jeff Garzik's avatar
      Merge mandrakesoft.com:/home/jgarzik/repo/linus-2.5 · a52c5800
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      a52c5800
    • Jeff Garzik's avatar
      Merge http://suncobalt.bkbits.net/net-drivers-2.5 · 8d139952
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      8d139952
    • Jeff Garzik's avatar
      Merge up to version 1.04 of sundance net driver: · 05fd0be9
      Jeff Garzik authored
      * New Rx polling scheme to prevent congestion
      * Tx timeout recovery
      * Enhanced ethtool support
      * Fix problems with multiport sundance boards
      (contributed by Edward Peng @ D-Link)
      05fd0be9
    • Jeff Garzik's avatar
      Add netif_carrier_xxx support to 3c59x net driver · 6f5c8595
      Jeff Garzik authored
      (based on patch from Nelson Tan Gin Hwa, via Andrew Morton)
      6f5c8595
    • Keith Owens's avatar
      [PATCH] Remove Keith Owens from MAINTAINERS · 343da22d
      Keith Owens authored
      343da22d
    • Jens Axboe's avatar
      [PATCH] Update md to new i/o completions · 3babc504
      Jens Axboe authored
      3babc504
    • Christoph Hellwig's avatar
      [PATCH] remove scsi_queue.c · 5f761bd3
      Christoph Hellwig authored
      it has just one function nowdays, and that one would be much better
      static in scsi.c
      5f761bd3
    • Jens Axboe's avatar
      [PATCH] umem and DAC960 bio_endio() · 8e4f4255
      Jens Axboe authored
      update DAC960 and umem to new bio_endio() completions
      8e4f4255
    • Jens Axboe's avatar
      [PATCH] bio_endio() cleanups · fad5529e
      Jens Axboe authored
      Make BIO_UPTODATE a sticky good flag, only clearing it on error.
      
      I pondered leaving the BIO_UPTODATE clearing up to the bi_end_io()
      functions, but decided against that and left it in bio_endio() as
      before.
      
      I also added a bit of debug in bio_endio() to detect callers specifying
      more than bi_size i/o complete.  And to top it all of, bio_endio()
      documentation.  This is mainly to clear my back when people bitch about
      using bio_endio(), I can say RTFM without worry :-)
      fad5529e
    • Chuck Lever's avatar
      [PATCH] rename svc_get/putlong as svc_get/putu32 · ee5e0cb4
      Chuck Lever authored
      This renames the svc_getlong and svc_putlong macros as svc_getu32 and
      svc_putu32.  this is simple clean up and is obviously correct.  it was
      part of the patch that implements stricter type checking for rpc auth
      flavors.
      ee5e0cb4
    • Chuck Lever's avatar
      [PATCH] stricter type checking for rpc auth flavors · b9239fb2
      Chuck Lever authored
      This implements stricter type checking for rpc auth flavors.  it is a
      prerequisite for RPC GSSAPI and its authentication pseudoflavors.
      please apply it.
      b9239fb2
    • Chuck Lever's avatar
      [PATCH] (2/2) clean up RPC over TCP transport socket connect · 1e04f496
      Chuck Lever authored
      This renames *reconn* to *conn* since the same code now handles both
      initial TCP connect, and TCP reconnection, and corrects some comments.
      against 2.5.36, requires earlier patch (1/1).
      1e04f496
    • Chuck Lever's avatar
      [PATCH] (1/2) clean up RPC over TCP transport socket connect · be83269e
      Chuck Lever authored
      This provides clean up and bug fixes for the RPC layer's TCP socket
      connection management logic.  Trond, Alexey, and DaveM have seen this
      patch.  i've been running it for several weeks here and feel it is ready
      for wider testing.  these two patches are prerequisites for further
      clean-ups and fixes for RPC over TCP.
      
      bugs fixed:
      +  TCP connection establishment now times out after 60 seconds instead of
         hanging for ten minutes.  60 seconds is more in line with how long a
         server takes to reboot.
      +  on a soft-mounted file system, TCP reconnections now time out and fail
         the RPC request, like most other NFS clients, instead of hanging the
         NFS client until the server comes back.
      +  on hard-mounted file systems, the RPC layer now delays 15 seconds
         before retrying after a failed connection attempt instead of retrying
         as soon as it can.
      +  TCP connection error recovery is now more verbose so users can see why
         their NFS sessions are hung.  this can be tuned with future patches if
         it is unreasonably noisy.
      +  the TCP connect logic is cleaned up so adding checks for new errnos
         is easier.
      +  the same code now handles both initial connection and reconnection.
         the original initial connection code did not have comprehensive error
         handling.
      +  some obscure design elements are now documented in comments.
      +  kfree was used by mistake in xprt_destroy.
      be83269e
    • Daniel Jacobowitz's avatar
      [PATCH] Fix for ptrace breakage · c13e8f03
      Daniel Jacobowitz authored
      This patch consolidates zap_thread into reparent_thread, and fixes
      __will_become_orphaned_pgrp to check p->real_parent instead of
      p->parent.
      c13e8f03
    • Linus Torvalds's avatar
      Make pid_max grow dynamically as needed. · ffb726cd
      Linus Torvalds authored
      ffb726cd
    • Linus Torvalds's avatar
      Missing EOL noticed by Chuck Lever · e06818fb
      Linus Torvalds authored
      e06818fb
    • Jens Axboe's avatar
      [PATCH] xfs, use bio_add_page() · 1e09d11c
      Jens Axboe authored
      XFS now needs to use bio_add_page() as not to build bio's of the wrong
      size. Also makes the bio build nicer.
      1e09d11c
    • Jens Axboe's avatar
      [PATCH] scsi doesn't need locking around end_that_request_first() · 08435553
      Jens Axboe authored
      Seems James introduced this one, it's not needed though. Will take a
      look at eh thread now...
      08435553
    • Jens Axboe's avatar
      [PATCH] jfs and xfs update · 5937c67e
      Jens Axboe authored
      missed updating xfs and jfs to new bi_end_io handling
      5937c67e
    • Jens Axboe's avatar
      [PATCH] partial bio completion notification · 392aaa18
      Jens Axboe authored
      Make bio->bi_end_io() take bytes_done and actual error as argument. This
      enables partial completion of bio's, which is important for latency
      reasons (bio can be huge, for slow media we want page-by-page
      completions).
      
      I think I got most of the bi_end_io() functions out there, but I might
      have missed a few. For the record, if you don't care about partial
      completions and just want to be notified when the entire bio completes,
      add a
      
      	if (bio->bi_size)
      		return 1;
      
      to the top of your bi_end_io(). It should return 0 on completion.
      bio_endio() will decrement bio->bi_size appropriately, it's recommended
      for people to go through that. Otherwise they will have to control
      BIO_UPTODATE and bi_size decrement themselves, there's really no reason
      to do that. I've deliberately avoided doing any functional changes to
      any of the end_io functions, as I think that would only make the patch
      more complex. It's simple right now, but this being i/o paths I prefer
      (as usual) to be careful and take small steps. The mpage_end_io_read()
      do-vecs-at-the-time change can come right after this, for instance.
      392aaa18
    • Jens Axboe's avatar
      [PATCH] make mpage use bio_add_page() · cf780a87
      Jens Axboe authored
      This makes mpage use bio_add_page().  It has the added advantage that
      users don't need to have deep knowledge about what the different bio
      fields mean, nor does it have to abuse some of them while building the
      bio.
      cf780a87
    • Jens Axboe's avatar
      [PATCH] bio_add_page() · f8b46092
      Jens Axboe authored
      This is bio_add_page(), 100% identical to the version I sent out for
      comments earlier this week.  With the previous queue restriction patch,
      this guarentees that we can always add a page worth of data to the bio.
      bio_add_page() returns 0 on success, and 1 on failure.  Either the page
      is added completely, or the attempt is aborted.
      
      bio_add_page() uses the normal queue restrictions to determine whether
      we an add the page or not. if a queue has further restrictions, it can
      define a q->merge_bvec_fn() to further impose limits.
      
      Patch also includes changes to ll_rw_kio(), if for nothing else to
      demonstrate how to use this piece of instrastructure.
      f8b46092
    • Jens Axboe's avatar
      [PATCH] impose sane queue restrictions · efbb72f9
      Jens Axboe authored
      Impose sane limits on queue restrictions. that means:
      
       - q->max_sectors must be able to at least span a page
       - q->max_phys_segments and q->max_hw_segments must be at least 1
       - q->max_segment_size must be at least page sized
       - q->seg_boundary_mask must be at least PAGE_CACHE_SIZE-1
      efbb72f9
  2. 17 Sep, 2002 10 commits