1. 13 Mar, 2002 3 commits
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/misc-2.5 · d079f580
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      d079f580
    • Vojtech Pavlik's avatar
      [PATCH] Re: [PATCH] IDE 21 · 78ca4010
      Vojtech Pavlik authored
      In the FIT macro in ide-timing.h the argument got swapped because of a
      typo. All timings generated for VIA and AMD chips are wrong because of
      that. Safe, though, but slow.
      
      This fixes it.
      78ca4010
    • Martin Dalecki's avatar
      [PATCH] IDE 21 · 10cea35a
      Martin Dalecki authored
      If I was to give this patch a name it would be:
      
      "Vojtech Pavlik unleashed from the chains".
      
      So credit where credit is due :-).
      
      Anyway here follows the change log:
      
      Mon Mar 11 23:48:28 CET 2002 ide-clean-21
      
      - Swallow rewritten amd74xx host chip setup code from Vojtech Pavlik.  We can
         revert it easly if it turns out to be a bad thing. However the code looks
         quite sane to me. In esp. it doesn't containg that many magic numbers.
      
      - Clean stale white spaces in ide-timing.h tirvial fix.
      
      - Make ide_release_dma return void. It's value is never used anyway.
      
      - Swallow more timing setup code cleanup by Vojtech Pavlik. Apply some
         cosmetics to it. Port opti621 to the new setup code.
      
      - Kill abuse of ide_do_reset() on error return paths for atapi floppy tape and
         cd-rom devices. Just stop them. This gives better changes that defect
         removable media will not cause suddenly broken timings on hard discs
         containing system data! Even then comments in ide_do_reset() admit, that
         resetting the whole channel can have adverse effects on the second interface
         on this channel. And I have too frequently observed linux struggling on
         defect cd-rom for a far too long time to wish it to continue.
      
         Oh did I forget to say that the corresponding "how can I break my system fast
         and reliable" ioctl is gone as well?
      
         Removing it recovered the fact that the CONFIG_BLK_DEV_IDEDMA_TIMEOUT is
         completely bogous. I have removed this option therefore as well, because it's
         playing the same wrack havoc on the devices if enabled. This cat has been in
         an unfinished and *unfunctional* state anyway.
      
      - Actually add physical suspend code to the power handling code.  Still the
         resume code isn't finished just jet. This is all subject to change at the
         point in time when we get to proper command queueing.
         I think however that Pavel will be interrested in tidding this bit up...
      
      - Resync with 2.5.7-pre1.
      10cea35a
  2. 12 Mar, 2002 37 commits
    • Jeff Garzik's avatar
      73e567ed
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - efs · a8723f35
      Brian Gerst authored
      Separates efs_sb_info from struct super_block.
      a8723f35
    • Alexander Viro's avatar
      [PATCH] removal of ->u.romfs_i · f8534f75
      Alexander Viro authored
      f8534f75
    • Alexander Viro's avatar
      [PATCH] (4/4) smarter nfs_get_sb() · 886fdc3a
      Alexander Viro authored
      Add nfs_compare_super() and teaches nfs_get_sb() to look for existing
      superblocks.
      886fdc3a
    • Alexander Viro's avatar
      [PATCH] (3/4) smarter nfs_get_sb() · 8e9d64d9
      Alexander Viro authored
      Switch NFS to separate allocation of private part of superblock,
      uss explicit sget() instead of get_sb_nodev()
      8e9d64d9
    • Alexander Viro's avatar
      [PATCH] (2/4) smarter nfs_get_sb() · 594ece65
      Alexander Viro authored
      Export sget(9), deactivate_super(9) and set_anon_sb(9)
      594ece65
    • Alexander Viro's avatar
      [PATCH] (1/4) smarter nfs_get_sb() · d5e9d67b
      Alexander Viro authored
      Switch NFS to use of NFS_SB(sb) instead of sb->u.nfs_sb.s_server
      d5e9d67b
    • Brian Gerst's avatar
      [PATCH] correction to super_block cleanups · 4630bcaf
      Brian Gerst authored
      I forgot to zero out the newly allocated memory in the previous patches
      for ext2 and ncpfs.
      4630bcaf
    • Brian Gerst's avatar
      [PATCH] correction to super_block cleanups · f0f23f09
      Brian Gerst authored
      I forgot to zero out the newly allocated memory in the previous patches
      for cramfs and minixfs.
      f0f23f09
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - ext2 · f7d5152e
      Brian Gerst authored
      Complete the ext2 superblock seperation.
      f7d5152e
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - ext2 · 1b156290
      Brian Gerst authored
      Abstract access to ext2_sb_info.
      1b156290
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - ncpfs · bc846ba4
      Brian Gerst authored
      Seperates ncp_sb_info from struct super_block.
      bc846ba4
    • Trond Myklebust's avatar
      [PATCH] 2.5.6 correct NFS client handling of EJUKEBOX error... · dbd6e343
      Trond Myklebust authored
        The following patch resyncs 2.5.6 with the 2.4.x series w.r.t. the
      handling of the EJUKEBOX error. The latter is an NFS-specific error
      that is returned by servers that support hierarchical storage: it
      notifies the client that the request cannot be completed in a timely
      fashion (Imagine for instance a situation where you have a cdrom
      jukebox system, and the user has just requested a file on another cd).
      
      Under these circumstances, the RFC specifies that the request should
      be retried after suitable timeout during which the server will attempt
      to perform whatever action is required to make the file available
      again.
      dbd6e343
    • Trond Myklebust's avatar
      [PATCH] 2.5.6 Fix NFS file creation · 36b319a6
      Trond Myklebust authored
        The following patch fixes a bug in NFS file creation. Recently (not
      sure exactly when), open_namei() was changed so that it expects
      vfs_create() to always return a fully instantiated dentry for the new
      file.
      
      The following patch ensures this is done in the cases where the RPC
      CREATE call does not return valid attributes/filehandles. This is
      always the case for NFSv2, and can sometimes be the case for v3...
      36b319a6
    • Trond Myklebust's avatar
      [PATCH] 2.5.6 Fix RPC credentials when coalescing NFS reads/writes... · 3d1504c6
      Trond Myklebust authored
        The following fixes up a couple of bugs that resulted from the fix
      in 2.5.4 for ETXTBSY: Since the READ requests now only store RPC
      credentials and not the struct file, we need to be careful when
      deciding to coalesce requests on different pages into 1 RPC call that
      we compare the credentials instead of the struct file.
      3d1504c6
    • Linus Torvalds's avatar
      Update defconfig for VLAN and IDE changes · 76ec9f1c
      Linus Torvalds authored
      76ec9f1c
    • Linus Torvalds's avatar
      Update kernel version · a9efbc0e
      Linus Torvalds authored
      a9efbc0e
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · d875eba0
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      d875eba0
    • David S. Miller's avatar
      33edc294
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sched-2.5 · 044996c2
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      044996c2
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/misc-2.5 · eb86b60f
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      eb86b60f
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/net-2.5 · d9f2d50e
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      d9f2d50e
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/davem/BK/sparc-2.5 · 06029544
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      06029544
    • Gerd Knorr's avatar
      [PATCH] es1370 virt_to_bus fix · 62620d98
      Gerd Knorr authored
      This patch fixes the es1370 build problems due to virt_to_bus()
      being gone.
      62620d98
    • Gerd Knorr's avatar
      [PATCH] videodev redesign · 154feaef
      Gerd Knorr authored
      This patch is a redesign for videodev.[ch].  Changes:
      
      - drop the function pointers (read/write/mmap/poll/...) from struct
        video_device, use struct file_operations directly instead.
        Dispatching to different drivers by minor number is done the same way
        soundcore.o handles this: swap file->f_fops at open() time.
      
      - also drop the now obsolete video_red/write/mmap/poll/...  functions
        from videodev.c
      
      - Stop using the BKL, use a mutex to protect open,register+unregister
        calls against races.
      
      - provide a video_generic_ioctl() function which can (and should) be
        used by v4l drivers to handle copying from and to userspace.
      
      - provide video_exclusive_open/release functions which can be used by
        v4l drivers to make sure only one process at a time opens the
        device.  They can be hooked directly into struct file_operations if
        some driver has nothing to initialize at open time (which is true
        for many drivers in drivers/media/radio/).
      
      The move from function pointers in struct video_device to struct
      file_operations does break all existing v4l drivers.  Thus I have a
      large number of patches for the drivers in the kernel tree.  Most of it
      is just the adoption to the videodev.[ch] changes, but I've also fixed a
      small bug there and there while walking througth the source files.
      154feaef
    • Gerd Knorr's avatar
      [PATCH] miropcm20 build fix · ca715f04
      Gerd Knorr authored
      This patch fixes the build failure of the miro radio driver due to
      the new location of the sound drivers in the tree (alsa merge).
      ca715f04
    • Gerd Knorr's avatar
      [PATCH] video4linux doc fix · b0db8236
      Gerd Knorr authored
      This patch updates/fixes the video4linux API documantation.  The current
      description for mmap() based capture is unclear and somewhat misleading.
      b0db8236
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/dwmw2/BK/jffs2-for-linus-2.5 · 6d5ad99f
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      6d5ad99f
    • David Woodhouse's avatar
      Update to 2002-03-12 JFFS2 development tree. Main features: · 79023d0e
      David Woodhouse authored
       - Preliminary version of NAND flash support.
       - Locking documentation and fixes (including BKL removal because it's superfluous).
       - Performance improvements - especially for mount time. 
       - Annoying stuff like i_nlink on directories fixed.
       - Portability cleanups.
      79023d0e
    • Brian Gerst's avatar
      [PATCH] struct super_block cleanup - cramfs · fa5a4901
      Brian Gerst authored
      Seperates cramfs_sb_info from struct super_block.
      fa5a4901
    • Stephen Rothwell's avatar
      [PATCH] APM patch: apm_cpu_idle cleanups · 10caf7bf
      Stephen Rothwell authored
      Number 7.
      
      This patch contains four cleanup changes whose aim
      is better code self-documentation (the best way to
      document IMHO).  They are sent together because they
      overlap.
      
      1. Rename the variable "sys_idle" to 'original_pm_idle'.
      This is where we store the value that we find in pm_idle before
      we substitute the address of our own apm_cpu_idle() function.
      In principle we have no idea whose address this is, so
      the variable name shouldn't imply that we know that this is
      the address of a system idle function; it should simply
      indicate that it is the original value of pm_idle.
      
      2. Variable "apm_is_idle" is renamed 'apm_idle_done'.
      This flag indicates when apm_do_idle() has been called.
      It is a premise of apm_cpu_idle()'s operation that it is
      not known whether the apm_do_idle() function really idles
      the CPU.  The name of the flag should not lead one to
      believe otherwise.
      
      3. Variable "t1" is renamed 'bucket'.  The variable is not
      a time but a countdown ("bucket"), so the variable name
      should not lead one to believe it is some sort of time
      value.
      
      4. A default: case is added to the switch in order to
      remind the reader that there is a third possible return
      value from apm_do_idle().
      10caf7bf
    • Stephen Rothwell's avatar
      [PATCH] APM patch: change implementation of ALWAYS_CALL_BUSY · 2aa149db
      Stephen Rothwell authored
      Number 6
      
      This patch cleans up the way the ALWAYS_CALL_BUSY macro
      forces calling of the APM BIOS busy routine.  Instead
      of storing a false value in clock_slowed, we disjoin
      clock_slowed with the value of ALWAYS_CALL_BUSY.  This
      simplifies the code.
      2aa149db
    • Stephen Rothwell's avatar
      [PATCH] Trivial APM patch: set_system_power_state · 790322ee
      Stephen Rothwell authored
      Number 5 from Thomas Hood
      
      This patch renames the static function "apm_set_power_state"
      to 'set_system_power_state'.
      
      Generally, the prefix 'apm_' is required to prevent external
      name collisions on exported functions.  This is a static function,
      so the prefix isn't required for that purpose.  The prefix might
      also indicate that this function has something particularly
      to do with the apm subsystem; but that's not the case here.  This
      function is simply a wrapper for set_power_state(), inserting the
      argument which sets the power state for the whole system.
      My main motivation for wanting to change this name is clearly
      to indicate the difference between this function and
      set_power_state().  Also, I would like to export set_power_state()
      someday in the future, but this is a separate issue.
      790322ee
    • Stephen Rothwell's avatar
      [PATCH] APM: move 'ignore_normal_resume = 1' · 7efc9a0f
      Stephen Rothwell authored
      This is number four and actually fixes a bug.
      
      This patch moves the setting of the ignore_normal_resume flag
      prior to the sti(); otherwise BIOS-generated normal resume
      events slip through unignored.
      7efc9a0f
    • Stephen Rothwell's avatar
      [PATCH] Trivial apm patch: move apm_error up · 76949446
      Stephen Rothwell authored
      Here is the third one.
      
      This patch moves the apm_error() function higher
      in the file so that it is adjacent to the error_table
      that it uses.  This makes the code easier to read.
      The beginning of the file is an appropriate place
      for "utility" functions of this kind.  This is a pure
      move, with no changes made to the function.
      76949446
    • Stephen Rothwell's avatar
      [PATCH] Trivial apm update: eliminate 0 initializers · df7ceeb4
      Stephen Rothwell authored
      Second in a series of patches from Thomas Hood.
      
      This patch eliminates the 0 initializers on three
      static variables inside the apm_cpu_idle function.
      These initializers are superfluous.
      
      The initializers are replaced with comments whose
      purpose is to indicate that the code relies upon the
      fact that these variables are initialized to zero
      at load time.
      df7ceeb4
    • Stephen Rothwell's avatar
      [PATCH] Trivial APM update part 1 · e10542c9
      Stephen Rothwell authored
      This is the first of a series of patches I have got from Thomas Hood
      that modify the apm code mainly for better self documentation.
      
      This one does:
      
      Variable "waiting_for_resume" is renamed 'ignore_sys_suspend'.
      The reason for the change is that this flag variable is
      employed in a manner analogous to that of other flag variables
      named 'ignore ...'.  When the flag is set, the driver needs to
      ignore further system suspends.  The driver does not "wait"
      in the usual sense of that word.  The only sense in which the
      driver waits is the sense in which it needs to continue to
      ignore system suspends until certain events occur.  One such
      event is a resume.  However, another such event is the vetoing
      of the suspend request by a driver.  So it would be more
      accurate to call the flag 'waiting_for_resume_or_suspend_reject'
      or something like that.  But for the reason mentioned first,
      an even better name is 'ignore_sys_suspend'.
      e10542c9