1. 12 Mar, 2002 10 commits
    • 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
    • Alexander Viro's avatar
      [PATCH] (2/2) fs/super.c cleanups · f16fe773
      Alexander Viro authored
      kill_super() and deactivate_super() merged.
      
      Next step will be to export these suckers - after that we will be finally
      done with infrastructure for filesystems with nontrivial ->get_sb().
      f16fe773
    • Alexander Viro's avatar
      [PATCH] (1/2) fs/super.c cleanups · 09162fbb
      Alexander Viro authored
      New helper - sget().  get_sb_bdev() and get_anon_super()
      switched to using it.  Basically, it's get_anon_super()
      done right (and get_anon_super() itself will probably
      die).
      09162fbb
    • John Clemens's avatar
      [PATCH] pci=usepirqmask option. · 6e8f7982
      John Clemens authored
      Last week I sent you a patch adding a config option to honor the pirq mask
      in the PCI routing table.  On your suggestion, Cory Bell made it a command
      line option using the pci= interface and we both agree with you, it's
      -much- cleaner this way.
      
      Patch against 2.5.6 (Cory's submitting for 2.4, I've tested and submitting
      towards 2.5).  All credit goes to Cory Bell, with only minor input and
      testing from myself.
      6e8f7982
    • Stephen Rothwell's avatar
      [PATCH] DMI patch for broken Dell laptop · 4414172f
      Stephen Rothwell authored
      This adds DMI recognition for anohter broken Dell laptop BIOS (BIOS
      version A12 on the Insiron 2500).
      
      Reported by Mihnea-Costin Grigore <mgc8@totalnet.ro>.
      4414172f
    • Brian Gerst's avatar
      [PATCH] struct superblock cleanup - minixfs · 1b23ec30
      Brian Gerst authored
      Switch to using kmalloc to allocate the minix superblock structure.
      1b23ec30
    • Brian Gerst's avatar
      [PATCH] struct superblock cleanup - minixfs · ddd7dce9
      Brian Gerst authored
      Start of cleaning up the union of filesystem-specific structures in
      struct super_block.  The goal is to remove dependence on filesystem
      headers in fs.h. 
      
      This patch abstracts the access to the minix_sb_info structure through
      the function minix_sb(). 
      ddd7dce9
    • Stephen Rothwell's avatar
      [PATCH] dnotify · d7d3ae66
      Stephen Rothwell authored
      The following patch makes directory notifications per thread group instead
      of per process tree as they are now.  This means, in particular, that if
      a child closes a file descriptor that has a directory open with notifies
      enabled, the notification will not be removed.
      
      Thanks to Andrea for the push in the right direction.
      d7d3ae66
    • Neil Brown's avatar
      [PATCH] PATCH - knfsd in 2.5.6 - fsid= export option · cbada281
      Neil Brown authored
      Support fsid=<number> export option to be device number independent
      
      This patch was largely supplied by Steven Whitehouse <steve@gw.chygwyn.com>
      
      A new export option "NFSEXP_FSID" indicates that the ex_dev passed down
      is a user specified number, not a device number.
      It should be used in fsid_type==1 filehandles to identify the
      the exportpoint rather than the devid and inode (as in fsid_type == 0).
      This allows filehandles to be device-number independent so that when Linux
      changes device numbers on you (after reboot), your filesystems wont go stale.
      
      User-space support for this is in the nfs-utils CVS and will be in
      the next release (any release > 1.0).
      cbada281
  2. 11 Mar, 2002 1 commit
  3. 12 Mar, 2002 2 commits
  4. 11 Mar, 2002 21 commits
    • Russell King's avatar
      Update Acorn serial drivers. · 36dcfaba
      Russell King authored
      36dcfaba
    • Russell King's avatar
      Bug fixes for Acorn network drivers. · 1a4457da
      Russell King authored
      1a4457da
    • Russell King's avatar
    • Linus Torvalds's avatar
      Merge penguin:v2.5/linux · 007427b9
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      007427b9
    • Alexander Viro's avatar
      [PATCH] fix for get_sb_bdev() bug · ace5d474
      Alexander Viro authored
      	Grr...  When loop in get_sb_bdev() had been switched from
      global list of superblock to per-type one, we should have switched
      from sb_entry(p) (aka. list_entry(p, struct super_block, s_list)) to
      list_entry(p, struct super_block, s_instances).
      
      	As it is, we end up with false negatives all the time.  I.e.
      second mount from the same block device with the same type gices
      a new superblock.  With obvious nasty results...
      
      	This fixes that.
      ace5d474
    • Alexander Viro's avatar
      [PATCH] (4/4) ->kill_sb() switchover · 2f96736a
      Alexander Viro authored
      bdev filesystems switched.  Changes documented in Locking and porting.
      2f96736a
    • Alexander Viro's avatar
      [PATCH] (3/4) ->kill_sb() switchover · d18f45e6
      Alexander Viro authored
      The rest of nodev filesystems switched.
      d18f45e6
    • Alexander Viro's avatar
      [PATCH] (2/4) ->kill_sb() switchover · 128b7d66
      Alexander Viro authored
      FS_LITTER filesystems (ramfs-like) switched to use of ->kill_sb().
      FS_LITTER is gone.
      128b7d66
    • Alexander Viro's avatar
      [PATCH] (1/4) ->kill_sb() switchover · dcb1bcb7
      Alexander Viro authored
      New method - ->kill_sb().  It will eventually replace current
      fs/super.c::shutdown_super() - i.e. it's called when fs driver
      must shut the superblock down, remove it from all lists, etc.
      dcb1bcb7
    • Neil Brown's avatar
      [PATCH] PATCH - knfsd fixes for 2.5.6 · 2db7312d
      Neil Brown authored
      Fix a few kNFSd problems.
      
      1/ export svc_reserve which was introduced for NFS/TCP support.
          Without this we cannot load nfsd.o as a module
      2/ the hash chain of clients was being changed (to put the found
         entry at the top of the list) while we only had a read-lock.
         This could corrupt the list and cause big problems.
         For now, just disable this code.  Might add a lock later...
      3/ lockd was calling exp_getclient without getting a readlock
         on the export table first.
      4/ Add Config.help entry for CONFIG_NFSD_TCP
      2db7312d
    • Andrew Morton's avatar
      [PATCH] fix layout of mapped files · 6e18087f
      Andrew Morton authored
      If you create a shared mapping of a sparse file, dirty it
      and then run msync, all the file's blocks are laid out
      backwards.
      
      This is because filemap_sync puts the lowest-index page at
      mapping->dirty_pages.prev and the highest at mapping->dirty_pages.next.
      
      I think that by walking the dirty pages list in ascending file
      offset order as we instantiate their disk mappings we will generally
      get better layout.
      6e18087f
    • Linus Torvalds's avatar
      Merge bk://lia64.bkbits.net/to-linus-2.5 · 71dbc87d
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      71dbc87d
    • Alan Cox's avatar
      [PATCH] 2.5.6-pre3 Fix BSD accounting rlimit · d82d83bb
      Alan Cox authored
      Fix rlimit on accounting file.
      d82d83bb
    • Bob Miller's avatar
      [PATCH] 2.5.6-pre3 Fix small race in BSD accounting · 1c7efed1
      Bob Miller authored
      While looking at the bug fix for part 1 I coded up this patch
      to change the BSD accounting code to use a spinlock instead
      of the BKL.
      1c7efed1
    • Bob Miller's avatar
      [PATCH] 2.5.6-pre3 Fix small race in BSD accounting · fd98b342
      Bob Miller authored
      Below is a patch to remove a small race in kernel/acct.c.
      fd98b342
    • Vojtech Pavlik's avatar
      [PATCH] My AMD IDE driver, v2.7 · ef0de34d
      Vojtech Pavlik authored
      This patch replaces the current AMD IDE driver (by Andre Hedrick) by
      mine. Myself I think my implementation is much cleaner, but I'll leave
      upon others to judge that. My driver also additionally supports the
      AMD-8111 IDE.
      
      It's well tested, and I'd like to have this in the kernel instead of
      what's there now.
      ef0de34d
    • Linus Torvalds's avatar
      Merge bk://bcrlbits.bkbits.net/linux-2.5 · 806f337f
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      806f337f
    • Benjamin LaHaise's avatar
      Avoid looping in write_inode_now since the sync_one changes now ensure __sync_one · dd5b16b9
      Benjamin LaHaise authored
      is called once the inode is unlocked.
      dd5b16b9
    • Jean Tourrilhes's avatar
      [PATCH] New wireless driver API part 2 · a31ea717
      Jean Tourrilhes authored
      	Quick summary : this patch build on the first part to offer
      two important new features :
      		o Wireless Events
      		o Wireless Cell Scanning
      	Wireless Events are events generated by device, driver or the
      wireless subsystem. It allows for example a device to notify user
      space when it register to a new cell (roaming) or loose contact with
      the current Access Points. Currently, the other defined events include
      some configuration changes and packet drop due to excessive retries,
      more may come in the future. All those events are useful for MobileIP,
      V-Handoff and Ad-Hoc routing.
      	Wireless Cell Scanning is a generic API to allow device/drive
      to report Wireless Cells discovered (including ESSID, frequency and
      QoS). This is similar to what is available in WindowsXP (except that
      it's compliant to Wireless Extensions).
      
      	This patch has been submitted for review on this list a couple
      of time in January, has been on my web page since and used intensively
      by other people. It was rediffed to 2.5.6. Driver patches have been
      submitted to maintainers.
      a31ea717
    • Martin Dalecki's avatar
      [PATCH] 2.5.6 IDE 19 · 9fbca834
      Martin Dalecki authored
       - Fix oversight in replacement of sti() cli() pairs for data structure
         access protection.  This finally resolvs my problems with the 2.5.6
         kernel series.  Now I'm in fact quite puzzled how it was even possible
         for the system to get into the init stage without this fix..
      
       - Fix usage of CONFIG_BLK_DEV_IDE_MODULES instead of
         CONFIG_BLK_DEV_IDE_MODULE.
      
       - Make idescsi_init global for usage in systems without module support
         enabled.
      
       - Apply Pavels Macheks patch for suspend support.  Whatever some persons
         argue that it's not fully implemented, I think that we are in
         development series right now.  I don't buy the mock-up examples for
         problems with either outdated or broken hardware.  Micro Drives are
         for example expected to be drop in replacements for CF cards in
         digital cameras and I would rather expect them to be very tolerant
         about the driver in front of them.  And then the WB caches of IDE
         devices are not caches in the sense of a MESI cache, they are more
         like buffer caches and should therefore flush them self after s short
         period of inactivity without the application of any special flush
         command.  The upcoming explicit flushing commands in the ATA standard
         are about data integrity guarantees in high reliability systems, like
         DB servers for example, and not about simple cache validity.
      
       - Apply Vojtech Pavliks fix to the VIA host chip initialization code.
      
       - Add missing if-defs around PIO timing tables.
      
       - Fix max() min() related compile warnings in IDE-scsi.
      9fbca834
    • Martin Dalecki's avatar
      [PATCH] 2.5.6 IDE 18 · 4dabe948
      Martin Dalecki authored
      No fixes for new problems which occured since today, just syncup.
      
       - Remove help text about suitable compiler versions, which is obsoleted
         by the overall kernel reality.
      
       - Remove traces of not progressing work in progress code for the
         CONFIG_BLK_DEV_ADMA option as well as the empty ide-adma.c file as
         well as CONFIG_BLK_DEV_IDEDMA_TCQ.
      
       - Remove redundant CONFIG_BLK_DEV_IDE != n check in ide/Config.in. Hugh,
         this is a tricky one...
      
       - Add EXPORT_SYMBOL(ide_fops) again, since it's used in ide-cd.c add a
         note there that this is actually possibly adding the same device twice
         to the devfs stuff.
      
       - Finally change the MAINTAINER entry. Just too many persons bogged me
         about it and it doesn't take me too much time apparently.
      
       - Apply sis.patch.20020304_1.
      
       - Don't call ide_release_dma twice in cleanup_ata, since ide_unregister
         is already calling it for us. Change prototype of ide_unregister to
         take a hwif as parameter and disable an ioctl for removing/scanning
         hwif from the list of handled interfaces. I see no reasons for having
         it and doing it is the fastest DOS attack on my home system I know
         about it. Contrary to the comments found here and there, hdparm
         doesn't use it. There are better hot plugging interfaces coming to the
         kernel right now anyway.
      
       - Wrap invalidate_drives in ide_unregister under the ide_lock instead of
         disabling and enabling interrupts during this operation. There are
         plenty of other places where the IDE drivers are enabling and
         disabling interrupts just to protect some data structures.
      
       - Don't call destroy_proc_ide_drives(hwif) for every single drive out
         there.This routine takes a hwif as a parameter.
      
       - Resync with the instable 2.5.6...
      4dabe948
  5. 10 Mar, 2002 6 commits