1. 11 Oct, 2002 16 commits
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/irda-2.5 · 2d1a3871
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      2d1a3871
    • Jean Tourrilhes's avatar
      irda update 6/6: · d1230b63
      Jean Tourrilhes authored
              o [CORRECT] Start timer before sending event to fix race condition
              o [FEATURE] Improve the IrLMP event debugging messages.
      d1230b63
    • Jean Tourrilhes's avatar
      irda update 5/6: · 38fea30d
      Jean Tourrilhes authored
              o [FEATURE] Fix some comments
              o [FEATURE] printk warning when we detect buggy QoS from peer
              o [CORRECT] Workaround NULL QoS bitfields
              o [CORRECT] Workaround oversized QoS bitfields
              o [FEATURE] Add sysctl "max_tx_window" to limit IrLAP Tx Window
      38fea30d
    • Jean Tourrilhes's avatar
      irda update 4/6: · d2dfa7d9
      Jean Tourrilhes authored
              o [FEATURE] Fix spelling UNITIALISED => UNINITIALISED
              o [CORRECT] Accept data from TTY before link initialisation
                      This seems necessary to avoid chat (via pppd) dropping chars
              o [CRITICA] Remember allocated skb size to avoid to over-write it
              o [FEATURE] Remove  LM-IAS object once connected
              o [CORRECT] Avoid declaring link ready when it's not true
      d2dfa7d9
    • Jean Tourrilhes's avatar
      irda update 3/6: · d06f2a68
      Jean Tourrilhes authored
              o [FEATURE] Export CRC16 helper so that drivers can use it
      d06f2a68
    • Jean Tourrilhes's avatar
      irda update 2/6: · c8dc801d
      Jean Tourrilhes authored
                      <Following patch from Martin Lucina & Christian Gennerat>
              o [FEATURE] Rewrite of the toshoboe driver using documentation
              o [FEATURE] Support Donau oboe chipsets.
              o [FEATURE] FIR support
              o [CORRECT] Probe chip before opening
              o [FEATURE] suspend/resume support
              o [FEATURE] Numerous other improvements/cleanups
              o [CORRECT] (me) Remove save_flags()/cli() for spinlock
                      <Currently, we keep the old toshoboe driver around>
              o [FEATURE] Config.help for ma600 driver (unrelated ;-)
      c8dc801d
    • Jean Tourrilhes's avatar
      irda update 1/6, big vlsi_ir driver update: · 644f894a
      Jean Tourrilhes authored
                      <Following patch from Martin Diehl>
              * merge+sync with changes from recent kernels: pci_[sg]et_drvdata,
                __devexit_p, netdev->last_rx, irda header cleanup
              * add netdev tx_timeout which re-initializes the whole thing
              * add power management support consistent with pci driver api
              * major rework of the ring descriptor operations
              * make correct usage of consistent and streaming pci dma api
              * nuke last virt_to_bus() and friends
              * support MIR/FIR highspeed interaction pulse (SIP)
              * review all paths for packet-size issues (rx and tx)
              * fix an old issue requiring hw powercycle caused by a race
                between IrLAP and hardware when switching _back_ to default
                speed at LAP disconnect. This was opened by the complete async
                behaviour of netdev->xmit but didn't happen before your latency
                improvements went into the stack.
              * add driver status readout under /proc/driver/vlsi_ir/irda%
                For 2.5, this will probably go into driverfs once things have
                stabilized.
              * fix potential deadlock in speed changing code
              * make identical driver working for both 2.4 and 2.5
              * add __attribute__((packed)) to hardware-exposed struct
              * add suggested pci_dma_prep_single() to flush cpu cache before
                streaming dma buffer gets reused for busmastering
      644f894a
    • Linus Torvalds's avatar
      Merge bk://linux-input.bkbits.net/linux-input · 9959faa8
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      9959faa8
    • Vojtech Pavlik's avatar
    • Andries E. Brouwer's avatar
      Since 2.5.32 the keyboard repeat code was broken. · 723a2459
      Andries E. Brouwer authored
      The reason Vojtech broke it was the stupid name of a field
      in struct kbd_repeat, namely "rate".  Every sane person
      expects that a rate has dimension [1/sec], but here the
      "rate" is a time period measured in msec.
      
      So, the patch below first of all fixes the code,
      and secondly changes the name.
      Since Vojtech used PERIOD as index, I also used period
      as field name in the struct.
      
      Half of the stuff below is actually from Alan Stern.
      
      Andries
      723a2459
    • Vojtech Pavlik's avatar
      Merge · 0c5daf6e
      Vojtech Pavlik authored
      0c5daf6e
    • Zach Welch's avatar
      Several fixes in the uinput.c userspace input driver. Size of fifo, · 3d29bf44
      Zach Welch authored
      handling of flag bits, etc.
      3d29bf44
    • Vojtech Pavlik's avatar
      84a42532
    • Vojtech Pavlik's avatar
    • Ingo Molnar's avatar
      [PATCH] sched-2.5.41-A0 · 31989cba
      Ingo Molnar authored
      This fixes the scheduler's migration code to not disable preemption.  It
      also fixes the bug that was hidden by the broken disable-preempt change:
      the migration thread did not kick idle CPUs if a task is migrated to
      them, which causes a hung boot when ksoftirqds are started.  It was pure
      luck it worked until now, it was broken pretty much from day 1 on.
      31989cba
    • Anton Blanchard's avatar
      [PATCH] fix NLS config.in · c0c7e476
      Anton Blanchard authored
      Quick fix for CONFIG_NLS, add a missing space.
      c0c7e476
  2. 10 Oct, 2002 24 commits
    • Vojtech Pavlik's avatar
      Merge · 37c434dd
      Vojtech Pavlik authored
      37c434dd
    • Vojtech Pavlik's avatar
    • Richard Henderson's avatar
      9e8626bd
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/bcrl/aio-2.5 · 5b3e7241
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      5b3e7241
    • Benjamin LaHaise's avatar
      fix symbol export in fs/read_write.c · 6bd31c21
      Benjamin LaHaise authored
      6bd31c21
    • Benjamin LaHaise's avatar
    • Linus Torvalds's avatar
      Merge bk://cifs.bkbits.net/linux-2.5-with-cifs · d92ff5df
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      d92ff5df
    • Steve French's avatar
    • Doug Ledford's avatar
      [PATCH] atp870 driver · d632a316
      Doug Ledford authored
      This is a minimal patch to allow me to load/use the atp module so I can do
      further testing work on it.
      d632a316
    • Greg Kroah-Hartman's avatar
      [PATCH] minor i386 timer changes for 2.5.41 · 1d447cb6
      Greg Kroah-Hartman authored
      Here's an additional patch that contains the cleanups I did to John's
      timer patches.  It does the following:
      
      	- uses C99 initializers
      	- makes the timer list static
      	- adds better documentation to the timer function structure
      	- makes the timer init function return 0 on success
      	- NULL terminates the list of timers to make further patches
      	  easier.
      1d447cb6
    • Trond Myklebust's avatar
      [PATCH] Fix NFS locking over TCP · 23288376
      Trond Myklebust authored
      The 2.5.x RPC code is currently broken in that it demands that all
      tasks that call xprt_create_proto() in order to open a TCP socket must
      have CAP_NET_BIND_SERVICE capabilities, and must bind to a privileged
      port.
      
      This breaks the NLM locking code and its use of the call_bind() RPC
      portmapper lookup feature.
      
      This patch allows the built-in portmapper client to use unbound TCP
      sockets if the user does not have the necessary capabilities.
      23288376
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 63a5ba42
      Trond Myklebust authored
      This is a nontrivial change to the NFS client.
      
      In this patch, we finish modifying the async READ path so that it is
      version-agnostic.  We define a new nfs_rpc_op ->setup_read(), and move
      the v2- and v3-specific code in nfs_read_rpcsetup() there.  We also
      have to change nfs_readpage() result so that the 'count' of bytes
      read is a parameter.  The extra parameter means that it can no longer
      be ->tk_exit().  Instead, it is called from a version-specific ->tk_exit()
      routine which is set in ->read_setup().
      
      The upshot of all this is that the version-specific part of the
      async READ path has been encapsulated in a new nfs_rpc_op
      ->read_setup(), and NFSv4 can share the logic for asynchronous
      READ's with NFSv2 and v3.
      63a5ba42
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · aa1e1176
      Trond Myklebust authored
      This is a nontrivial change to the NFS client.
      
      Synchronous READ operations are currently done via the ->read() nfs_rpc_op.
      Therefore, the synchronous READ path can easily be adapted for NFSv4.  On
      the other hand, the asynchronous READ path contains several NFSv3-specific
      features, which make it difficult to adapt for NFSv4.
      
      In this patch and the next, we modify the async READ path to be
      version-agnostic.  This patch just changes the 'struct nfs_read_data'
      so that the v2- and v3-specific parts are moved into a private area,
      with room for a v4-specific part in parallel.  None of the logic is
      changed.
      aa1e1176
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 42394298
      Trond Myklebust authored
      If the NFS_ATTR_FATTR_V4 flag is set, use the NFSv3 convention for
      the 'space_used' part of the fattr.
      42394298
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 3aeba064
      Trond Myklebust authored
      This is a nontrivial change to the NFS client.
      
      NFSv4 defines a new file attribute, change_attr.  This is a per-file
      opaque quantity returned by the server, whose value is required to
      change whenever the file is modified.  If it exists, we want to use
      it for all cache consistency checks in nfs_refresh_inode().  Some
      operations also return a "pre-operation" value of the change_attr;
      we want to take this into account too.
      
      First, define flags
        NFS_ATTR_FATTR_V4 - indicates that the 'struct nfs_fattr' is an
                            NFSv4 fattr, so the change_attr field is valid
        NFS_ATTR_PRE_CHANGE - indicates that the server returned a pre-operation
                            change_attr, so the pre_change_attr field is valid
      
      Second, change nfs_refresh_inode() so that the caches are invalidated
      if there is a change_attr mismatch.  Exception: If the pre_change_attr
      tells us that the mismatch was caused by our operation, then do not
      invalidate the caches.
      
      This patch should leave the logic in nfs_refresh_inode() unchanged
      if neither of the new flags are set.
      3aeba064
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 61e6f975
      Trond Myklebust authored
      In NFSv4, an fsid is a 64-bit major number together with a 64-bit
      minor number.  In previous versions, an fsid is a single number.
      This patch changes 'struct nfs_fattr' accordingly.
      61e6f975
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · c22994ae
      Trond Myklebust authored
      In NFSv4, there is no hard limit on the length of symlink text.
      This patch changes the -ENAMETOOLONG test in nfs_symlink() accordingly.
      c22994ae
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 62d86355
      Trond Myklebust authored
      This patch changes the interface of the ->setattr() nfs_rpc_op
      so that its first argument is a dentry instead of an inode.
      
      [Explanation: The dentry is required because in NFSv4, we may
       need to OPEN the file before doing the SETATTR.  (This is
       required if the file size is changed as part of the setattr.)
       Opening the file requires making use of the containing
       directory's inode.]
      62d86355
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 40a4b2a4
      Trond Myklebust authored
      This patch changes the interface of the ->readdir() nfs_rpc_op
      so that its first argument is a dentry instead of an inode.
      
      [Explanation: The dentry is required because in NFSv4, we need
       to make use of the _parent_ directory's inode.  This is because
       NFSv4 servers no longer return an entry for ".." in the READDIR
       response, so the client kernel needs to fake this entry, inode
       number and all.]
      40a4b2a4
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 944b2a7c
      Trond Myklebust authored
      In a number of places in the NFS client, I had to change
      
        #ifdef CONFIG_NFS_V3
           /* ... */
        #endif
      
      to
      
        #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4)
           /* ... */
        #endif
      944b2a7c
    • Trond Myklebust's avatar
      [PATCH] A basic NFSv4 client for 2.5.x · 4e956d0f
      Trond Myklebust authored
      Instantiate a new file, include/linux/nfs4.h, which contains
      constants and typedef's for the NFSv4 protocol (by analogy with
      include/linux/nfs2.h and include/linux/nfs3.h).
      
      Also #include this file in a few places where it will be needed
      later.
      4e956d0f
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · e2960359
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      e2960359
    • Andries E. Brouwer's avatar
      [PATCH] isofs fix · 568bb765
      Andries E. Brouwer authored
      The patch below removes some dead code and nonsense code.
      The part that changes behaviour is
      
       -       if (sbi->s_cruft == 'n' &&
       -           (volume_seq_no != 0) && (volume_seq_no != 1)) {
       -               printk(KERN_WARNING "Warning: defective CD-ROM "
       -                      "(volume sequence number %d). "
       -                      "Enabling \"cruft\" mount option.\n", volume_seq_no);
       -               sbi->s_cruft = 'y';
       -       }
      
      that has already bitten lots of people.
      
      Nothing is wrong with a volume sequence number different from 0 or 1.
      (Cf. Ecma-119.pdf, Sections 4.17, 4.18, 6.6.)
      568bb765
    • Paul Mackerras's avatar
      [PATCH] adjust PPC sysctls · 7daebc2a
      Paul Mackerras authored
      This patch takes out the unused KERN_PPC_ZEROPAGED sysctl, and
      restricts the KERN_PPC_POWERSAVE_NAP and KERN_PPC_L2CR sysctls to be
      present only on those PPC processors where they are useful.  This
      patch only affects PPC.
      7daebc2a