1. 18 Apr, 2002 15 commits
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 7/13 · 468c1a4a
      François Romieu authored
      - dscc4_do_action() now looks like the others event waiting loops (may be
        called from interrupt context however);
      - dscc4_start_xmit(): cosmetic before LxDA changes + mb() parano;
      - dscc4_clock_setting(): only one return point, thanks;
      - dscc4_priv() invocation removed from dscc4_xxx_settings;
      - minor cleanups.
      468c1a4a
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 6/13 · 757ea6b3
      François Romieu authored
      - code removal;
      - turn old cruft into definitely modern cruft.
      757ea6b3
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 5/13 · d55a1d35
      François Romieu authored
      - DEBUG_PARANOIA was bad. "if (debug > x) {" is nice;
      - state_check() now has only one return point;
      - try_get_rx_skb() cosmetic;
      - dscc4_rx_update() belongs to HOLD mode to LxDA changes;
      - dscc4_wait_ack_cec() behaves like dscc4_xpr_ack();
      - dscc4_rx_skb() refill logic is ready for LxDA mode and does everything
        to fulfill what its name suggests.
      - document some errata voodoo in dscc4_init_one();
      - dscc4_init_ring() should handle try_get_rx_skb() failure.
      d55a1d35
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 4/13 · aefad917
      François Romieu authored
      - dscc4_xpr_ack() busy waiting loop is modified so as to allow long
        delay without chewing too much cycles;
      - more errata sheet magic;
      - dscc4_set_clock() now has only one return point.
      aefad917
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 3/13 · 3f32c8a9
      François Romieu authored
      - space after "if"'s and "while"'s were missing here and there. Now it's easier to read
        after some hours in front of a computer.
      3f32c8a9
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 2/13 · 5884f98b
      François Romieu authored
      - dscc4_patch_register() turns into scc_patchl() and should now avoid an
        hardware bug quoted in errata sheet;
      - dscc4_init_registers() interface changes as any caller doesn't really need
        to poke into dscc4_dev_priv internal;
      - scc_{writel/readl}() are added to access some buggy behaving registers;
      - {read/write}l conversion to the previous functions
      - dscc4_do_tx() sneaks, sorry. Belongs to HOLD -> LxDA changes.
      5884f98b
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 1/13 · 279b570d
      François Romieu authored
      - extra argument for dscc4_set_iface() (will be used in following patches).
      279b570d
    • François Romieu's avatar
      [PATCH] 2.4.8 - dscc4 update 0/13 · 126dbe74
      François Romieu authored
      - description update;
      - more #defines;
      - SCC_REG_START() change (shorter code);
      - some noise.
      126dbe74
    • Martin J. Bligh's avatar
      [PATCH] stop NULL pointer dereference in __alloc_pages · 0cf094f4
      Martin J. Bligh authored
      This trivial patch will apply to both 2.4.19-pre7 and 2.5.8 with just line
      offsets. It stops us from following a NULL pointer in classzone in the case
      where there is a pgdat without a fully populated zone list (ie a node with
      no ZONE_NORMAL on an ia32 NUMA machine). Without this patch, ia32
      NUMA machines won't even boot - we dereference the classzone ptr
      a few lines further down (or try to ;-) ).
      0cf094f4
    • Linus Torvalds's avatar
      392fe36b
    • Andrew Morton's avatar
      [PATCH] pagecache locking bugfix · cff6ab5e
      Andrew Morton authored
      The bug which Anton found.  On the
      find_or_create_page->__find_lock_page path we're performing
      a read_unlock of an rwlock which is held for writing.
      
      The patch converts that to using a write_lock throughout.
      
      Which penalises find_lock_page() a bit.  If it shows up
      on profiles then we can clone __find_lock_page() and
      use read_lock()s, but for now I'd opt for saving the
      cache footprint.
      cff6ab5e
    • Linus Torvalds's avatar
      Merge master.kernel.org:/home/mingo/BK/linux-2.5 · 0d9bef55
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      0d9bef55
    • Linus Torvalds's avatar
      Add missing include for "memset()". · 1a495cba
      Linus Torvalds authored
      1a495cba
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 39 · d8bffa93
      Martin Dalecki authored
      Synchronize with Jens Axobe:
      
      - Congruent ATA_AR_POOL fix to the ATA_AR_STATIC memmory corruption fix.
      
      - Multi sector write handling fix.
      
      - Fix drive capability deduction.
      
      - Various other minor fixes.
      d8bffa93
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 38 · 43c1ab59
      Martin Dalecki authored
      - Fix typo in ide_cmd_ioctl().
      
      - Fix typo in cris driver.
      
      - Don't retry operations on medium errors. (pointed out by Eric Andersen).
      
      - Attach the no_io_32bit, io_32bit, no_unmask, unmask and slow fields to the
         ata_channel instead of the ata_device structure. They are a property of the
         channel and not just the devices attached to it. This allowed us to fix the
         set_io_32bit function by removing the CONFIG_BLK_DEV_DTC2278 conditional. In
         fact initialization shows that this is fixing many other host chipsets as
         well since all of them did expect sometimes particular values for those
         parameters in paralell on both drives attached to a channel but we where
         allowed to apply different values on a per drive basis.
      
      - The keep_settings flag is now unconditional and we don't mess with any
         channel parameters before drive reset. Some chipsets really really expect
         unconditionally that the tweaks they apply are always present and this wasn't
         honoured thus far! We are expecting the user to have good reasons for
         manually tweaking the settings.
      
      - Don't reset io_32bit in ata_pre_reset() unconditionally. There are chipsets
         out there which expect io_32bit to be *allways* enabled!
      
      - Remove many obsolete and nawadays just confusing documentation from ide.txt
      43c1ab59
  2. 17 Apr, 2002 4 commits
  3. 16 Apr, 2002 21 commits
    • Ingo Molnar's avatar
      migration init cleanups from wli. · e5eeec2e
      Ingo Molnar authored
      e5eeec2e
    • Linus Torvalds's avatar
      Kernel version update · 91813920
      Linus Torvalds authored
      91813920
    • Linus Torvalds's avatar
      6bc79455
    • Dave Hansen's avatar
      [PATCH] fix ips driver compile problems · a5297c70
      Dave Hansen authored
         This patch has been floating inside IBM for a bit, but it appears
      that no one passed it back up to you, yet.  I don't know who wrote it,
      but it applies to 2.5.8 and the ServeRAID driver works just fine with it
      applied.  Without it, the driver fails to compile.
      a5297c70
    • David Mosberger's avatar
      [PATCH] arch_consoles_callable() macro · 139ca9be
      David Mosberger authored
      Here is the patch to add the arch_consoles_callable() macro as was done
      in the 2.4 tree.
      139ca9be
    • David Mosberger's avatar
      [PATCH] prctl() patch · feef9b8a
      David Mosberger authored
      This is the patch to add support for PR_SET_FPEMU/PR_GET_FPEMU to give
      per-process control over fp-emulation handling.  It also cleans up the
      way PR_SET_UNALIGN_CTL/PR_GET_UNALIGN_CTL are implemented.
      feef9b8a
    • Hugh Dickins's avatar
      [PATCH] swapinfo accounting · c6df0ff4
      Hugh Dickins authored
      Randy observed that 2.5 /proc/meminfo SwapFree holds steady
      while SwapTotal goes up and down: wrong way round!
      
      Andrew pointed to wrong conditional in si_swapinfo(): 2.5.4
      updated it incorrectly when new flags bit was briefly added.
      And pointed out that it also makes si_swapinfo much too slow.
      c6df0ff4
    • Linus Torvalds's avatar
      Merge http://linux-isdn.bkbits.net/linux-2.5.make · d1ff5024
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      d1ff5024
    • Tigran Aivazian's avatar
      [PATCH] fix compiler warning in microcode driver · 9eacb89f
      Tigran Aivazian authored
      The obvious patch to fix compiler warning when compiled with RH gcc 2.96
      (and probably others too).
      9eacb89f
    • Rusty Russell's avatar
      [PATCH] set_bit takes a long · 917b3bd7
      Rusty Russell authored
      Finally, this changes set_bit et al. to take a "unsigned long *" on
      ppc and i386.  This will make the world a better place.
      
      Please forward patches for any warnings which crop up in random code
      to trivial@rustcorp.com.au.
      917b3bd7
    • Hirofumi Ogawa's avatar
      [PATCH] #include <asm/bitops.h> -> #include <linux/bitops.h> · 86a94161
      Hirofumi Ogawa authored
      We have to include linux/bitops.h for arch using generic_xxx().
      
      The following patch changes <asm/bitops.h> of include/linux/* to
      <linux/bitops.h>.
      86a94161
    • Anton Altaparmakov's avatar
      [PATCH] nbd compile fix · d4806dab
      Anton Altaparmakov authored
      Note patch compiles but is otherwise untested as no kernel after 2.5.7
      boots on my 2.5 box due to IDE hanging the box hard during device
      discovery. )-:
      d4806dab
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 37 · 0c0a9d38
      Martin Dalecki authored
      - Don't abuse the sense field for passing failed packet_commands in struct
         packet_command use a new field instead.
      
      - Apply minor bits forwarded by Dave Jones to me.
      
      - Fix ide_raw_taskfile() to flag the ar used there to be no subject of free_req
         list management. This solvs the "hang after /proc/ide read" problem, which
         was in fact a memory corruption problem.
      0c0a9d38
    • Martin Dalecki's avatar
      [PATCH] 2.5.8 IDE 36 · 87689e36
      Martin Dalecki authored
      - Consolidate ide_choose_drive() and choose_drive() in to one function.
      
      - Remove sector data byteswpapping support. Byte-swapping the data is supported
         on the file-system level where applicable.  Byte-swapped interfaces are
         supported on a lower level anyway. And finally it was used inconsistently.
      
      - Eliminate taskfile_input_data() and taskfile_output_data(). This allowed us
         to split up ideproc and eliminate the ugly action switch as well as the
         corresponding defines.
      
      - Remove tons of unnecessary typedefs from ide.h
      
      - Prepate the PIO read write code for soon overhaul.
      
      - Misc small bits here and there :-).
      87689e36
    • Kai Germaschewski's avatar
      cleanup drivers/char/Makefile · 5b1e4c98
      Kai Germaschewski authored
      very minor cleanup only (I want all references to list-multi gone ;-)
      5b1e4c98
    • Kai Germaschewski's avatar
      Cleanup drivers/message/fusion/Makefile · f790061c
      Kai Germaschewski authored
      remove some long obsolete boilerplate code.
      f790061c
    • Kai Germaschewski's avatar
      Merge tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make-export · d2a57552
      Kai Germaschewski authored
      into tp1.ruhr-uni-bochum.de:/home/kai/kernel/v2.5/linux-2.5.make
      d2a57552
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · 5202f40d
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      5202f40d
    • Kai Germaschewski's avatar
      Handle $(export-objs) ambiguity · e13a5e16
      Kai Germaschewski authored
      We use the makefile variable $(foo-objs) to list the objects
      a composed module foo.o is supposed to be composed of.
      
      We use the special varible $(export-objs) to list the object files which
      export symbols.
      
      This oviously clashes in the case of foo == export. There's basically
      two ways to handle it: (1) rename one of these options, like 
      foo-objs to foo-parts or something, or (2) simply disallow a composite
      object called export.o, so you never need $(export-objs) to list its
      parts.
      
      As (1) would affect basically all Makefiles in the tree and (2) doesn't
      seem much of a limitation, I went for (2).
      e13a5e16
    • Oliver Neukum's avatar
      [PATCH] kaweth usb driver updates · 5266e52c
      Oliver Neukum authored
      USB kaweth driver updates
      
      	- fixed race between close and disconnect
      	- disconnect bug
      	- add link state reporting
      	- fix an urb reference counting bug
      	- fix probe oopsability on oom
      	- groundwork for atomic pool depletion
      	- cosmetic changes
      5266e52c
    • Rusty Russell's avatar
      [PATCH] USB set-bit takes a long tweaks · b1d0f8a2
      Rusty Russell authored
      This removes gratuitous & operators in front of USB's
      dev->bus->devmap.devicemap and state->unitbitmap, for bitops.
      
      This just makes it so it doesn't warn when set_bit et. al take a
      long...
      
      No object code changes,
      Rusty.
      b1d0f8a2