1. 01 Jun, 2002 6 commits
    • Kai Germaschewski's avatar
      kbuild: Get rid of -DMODVERSIONS, further cleanup · 45bd64fa
      Kai Germaschewski authored
      -DMODVERSIONS isn't used anymore, so it can go. Also, after cleaning
      up include/linux/module.h, it's obvious that we don't need
      include/linux/modversions.h at all if CONFIG_MODVERSIONS not set,
      no need to generate it.
      
      Rules.make explicitly lists files which depend on modversions.h,
      since make dep cannot know about the
      "-include include/linux/modversions.h" which gets added to
      the command line. Now that we understand when it is needed, we can
      even get that list right ;-)
      
      Oh well, nice theory. .hdepend will touch module.h when modversions.h
      changes, so we still get unnecessary recompiles. We really need to
      switch to the new way of dependency generation, it gets all that
      right without even thinking about these special cases.
      
      We don't track dependencies for .ver files. In fact, we relied on that
      checksum would only change if the corresponding exporting C source
      changes. That's not true, of course, all of the included headers have
      say as well. So we better force the hash to be checked
      unconditionally every time "make dep" is run.
      45bd64fa
    • Kai Germaschewski's avatar
      kbuild: Clarify the CONFIG_MODVERSIONS logic · c6fd296c
      Kai Germaschewski authored
      Observe that 
      defined(MODVERSIONS) == defined(CONFIG_MODVERSIONS) && defined(MODULE)
      and from there I step by step simplified the logic in
      include/linux/module.h - staying logically equivalent, but it is much 
      more understandable now, IMO.
      
      Still added a huge comment trying to help other people understand
      what kind of magic happens here.
      c6fd296c
    • Kai Germaschewski's avatar
      kbuild: clean up generation of modversions.h · 9168efd2
      Kai Germaschewski authored
      There's no good reason why we would generate
      include/linux/modversions.h from the top-level Makefile when
      CONFIG_MODVERSION=y and from Rules.make otherwise.
      
      Nor is there a good reason to call the target to do so
      "update-modverfile" - "include/linux/modversions.h" makes
      much more sense.
      9168efd2
    • Kai Germaschewski's avatar
      kbuild: Use the real instead of a phony target if we have one · 57824bbb
      Kai Germaschewski authored
      o A rule which makes the include/asm symlink should have the target
        "include/asm", not "symlinks". Likewise for ".hdepend". 
        (include/linux/modversions.h yet to follow)
      
        Apart from being cleaner, this additionally gives us protection
        when a command fails or the user interrupts execution:
       
        E.g. for the case of "make dep", if the user interrupts at
        some point, make will delete the target (now ".hdepend") for us,
        so that at the next run, make knows that it needs to make the
        dependencies again, while otherwise it would just use the
        half-finished file.
      
      o We don't need the include/asm symlink for the configuration targets,
        we only need it before generating dependencies.
      
        (The setup of having /usr/include/{linux,asm} symlinked to your
        current kernel source is already broken in 2.5, so this change
        doesn't break anything which wasn't broken before.)
      
      o Add .hdepend to "prepare", i.e. what needs to be done before
        we can start the recursive build. That means we can get rid of
        the gross (and not always working) hack which made "make"
        run "make dep" when .hdepend didn't exist yet.
      
      o Mark the *config targets phony and improve some comments.
      57824bbb
    • Kai Germaschewski's avatar
      kbuild: Add (internal) prepare target · be814a4f
      Kai Germaschewski authored
      Be explicit about what we need to do before we can start the recursive 
      build, it's now listed in the "prepare" rule.
      be814a4f
    • Kai Germaschewski's avatar
      kbuild: Don't rebuild if vmlinux if nothing changed - fix · 44186e30
      Kai Germaschewski authored
      We would rebuild vmlinux if the command line to do so changed since
      the last build. Unfortunately, we forgot to read the old command line,
      so we always rebuilt it.
      44186e30
  2. 31 May, 2002 16 commits
    • Martin Dalecki's avatar
      [PATCH] 2.5.19 IDE 77 · 77da0c5c
      Martin Dalecki authored
       - Get rid of SELECT_DRIVE macro. Start to move all direct hardware access
         functions in to one place.
      
       - Get rid of SELECT_MASK macro. Realize that the mask is always equal 0.
         Simplify the maskproc therefore.
      
       - Get rid of GET_STAT and OK_STAT macros as well.
      
       - hpt366 cleanups by Andrej Panin.
      
       - Artop driver update by Franz Sirl.
      77da0c5c
    • Linus Torvalds's avatar
      Merge bk://linuxusb.bkbits.net/linus-2.5 · c2a84d00
      Linus Torvalds authored
      into home.transmeta.com:/home/torvalds/v2.5/linux
      c2a84d00
    • Linus Torvalds's avatar
      Simplify tlb_flush_mmu() for exit case: makes it easier on the ia64 · 6188af0c
      Linus Torvalds authored
      folks, and the ARM people didn't mind.
      6188af0c
    • Linus Torvalds's avatar
      8334b2cd
    • Linus Torvalds's avatar
      Merge http://gkernel.bkbits.net/net-drivers-2.5 · 3f102da8
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      3f102da8
    • Javier Achirica's avatar
      airo wireless net driver updates: · 3ec5b5ab
      Javier Achirica authored
      * support latest wireless extensions
      * update locking to use semaphores
      3ec5b5ab
    • Jeff Garzik's avatar
      Merge mandrakesoft.com:/home/jgarzik/vanilla/linus-2.5 · 997ae224
      Jeff Garzik authored
      into mandrakesoft.com:/home/jgarzik/repo/net-drivers-2.5
      997ae224
    • David Nelson's avatar
      [PATCH] PATCH: USB Scanner Driver 0.4.8 and new maintainer · 27f49742
      David Nelson authored
      Here's my last and final patch to the maintainer of USB Scanner Driver.  Brian
      Beattie <beattie@beattie-home.net> is now going to assume this role (thanks
      Brian!).  Brian brings some kernel level programming so I'm sure he'll be able
      to conttribute to this list w/o any problems.  I want to thank you all for your
      support and help.  A couple of you sent some personal msgs regarding my
      departure - thank you.
      
      * 0.4.8  5/30/2002
       *    - Added Mustek BearPaw 2400 TA.  Thanks to Sergey
       *      Vlasov <vsu@mivlgu.murom.ru>.
       *    - Added Mustek 1200UB Plus and Mustek BearPaw 1200 CU ID's.  These use
       *      the Grandtech GT-6801 chip. Thanks to Henning
       *      Meier-Geinitz <henning@meier-geinitz.de>.
       *    - Increased Epson timeout to 60 secs as requested from
       *      Karl Heinz Kremer <khk@khk.net>.
       *    - Changed maintainership from David E. Nelson to Brian
       *      Beattie <beattie@beattie-home.net>.
      27f49742
    • David Brownell's avatar
      [PATCH] ehci remove warning if no CONFIG_USB_DEBUG · f6d68b3b
      David Brownell authored
      I just noticed a debug message will generate a needless warning
      when debugging is disabled.
      f6d68b3b
    • Greg Kroah-Hartman's avatar
      [PATCH] USB kernel-api documentation fix · e004e79e
      Greg Kroah-Hartman authored
      updated the kernel-api documentation USB files due to file reorg.
      e004e79e
    • David Mosberger's avatar
      [PATCH] agp support for i460 and zx1 cleanup · 7c165ccf
      David Mosberger authored
      The patch below adds first round of AGP support for the Intel 460
      chipset
      
      This won't actually build at the moment, but I think you prefer to
      merge things piecemeal, and this portion of the patch is almost
      guaranteed to be safe (affects only ia64).
      7c165ccf
    • Rusty Russell's avatar
      [PATCH] softirq.c per_cpu fix · e4086edc
      Rusty Russell authored
      GCC3.1 apparently gets confused about uninitialized sections
      e4086edc
    • David Mosberger's avatar
      [PATCH] pass "page" pointer to clear_user_page()/copy_user_page() · c583dc59
      David Mosberger authored
      Hi Linus,
      
      Are you willing to change the interfaces of clear_user_page() and
      copy_user_page() so that they can receive the relevant page pointer as
      a separate argument?  I need this on ia64 to implement the lazy-cache
      flushing scheme.
      
      I believe PPC would also benefit from this.
      
      	--david
      c583dc59
    • David Mosberger's avatar
      [PATCH] time-offset patch · 9d64273c
      David Mosberger authored
      On ia64 MP machines, we use the cycle counter register of each CPU to
      obtain fine-grained time-stamps.  At boot-time, we synchronize the
      counters as close as possible (similar to x86, though with a different
      algorithm).  But even with this synchronization, there is still a
      small (really: tiny) chance that a process bouncing from one CPU to
      another could observe time going backwards.  To guard against this, I
      maintain a global variable called "last_time_offset" which keeps track
      of the largest time-interpolation value returned so far.  Most of this
      is in platform-specific code (arch/ia64/kernel/time.c), but there are
      a handful of places in platform-independent code where this variable
      needs to be cleared to zero.  This is what the patch below does.  I
      didn't put it inside CONFIG_IA64 because I think this can be useful
      for other platforms, too.  I suppose I could put it inside CONFIG_SMP
      though this would make the code uglier.  If you think it's OK, please
      apply, otherwise, I'd appreciate your feedback.
      9d64273c
    • David Mosberger's avatar
      [PATCH] trivial keyboard driver patch · 5d29ce55
      David Mosberger authored
      This makes it possible to run the ia64 kernel both on platforms with the
      legacy keyboard controller and those without (as is the case for the hp
      zx1 platform, for example).  The new code is inside #ifdef CONFIG_IA64,
      though it would probably be a good idea to enable it unconditionally.
      The patch is by Alex Williamson.
      5d29ce55
    • Linus Torvalds's avatar
      Merge bk://ppc.bkbits.net/for-linus-ppc64 · cde6bc97
      Linus Torvalds authored
      into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
      cde6bc97
  3. 01 Jun, 2002 6 commits
  4. 31 May, 2002 12 commits