]> git.hungrycats.org Git - linux/log
linux
22 years agoClean up more x86 MM init details after splitup
Linus Torvalds [Fri, 26 Jul 2002 05:07:35 +0000 (22:07 -0700)]
Clean up more x86 MM init details after splitup

22 years agoi385 mm cleanup:
Dan Aloni [Fri, 26 Jul 2002 19:23:54 +0000 (22:23 +0300)]
i385 mm cleanup:
  + cleanup init.c and split into pgtable.c
  + split declaration of _text, _etext outside into sections.h

22 years ago[PATCH] irqlock fixes
Oleg Nesterov [Thu, 25 Jul 2002 15:52:01 +0000 (08:52 -0700)]
[PATCH] irqlock fixes

Add irq_enter/exit to smp_call_function_interrupt():
arch/i386/kernel/microcode.c:do_microcode_update() calls
smp_call_function(do_update_one).  do_update_one() does
spin_lock/unlock.

Remove unneeded GET_THREAD_INFO(%ebx) in device_not_available() trap in
entry.S

22 years agoRemove (broken) parport locking, add comment on fixing it.
Linus Torvalds [Thu, 25 Jul 2002 14:25:13 +0000 (07:25 -0700)]
Remove (broken) parport locking, add comment on fixing it.

At least it compiles now.

22 years agoRemove unnecessary (and now nonworking) "sti()" in parport
Linus Torvalds [Thu, 25 Jul 2002 14:19:22 +0000 (07:19 -0700)]
Remove unnecessary (and now nonworking) "sti()" in parport
interrupt probing

22 years agocmd640 IDE driver internal spinlocks for config etc accesses.
Linus Torvalds [Thu, 25 Jul 2002 13:38:32 +0000 (06:38 -0700)]
cmd640 IDE driver internal spinlocks for config etc accesses.

This is no better or worse than the cli/sti the cmd640 driver
used to have, but at least it compiles and works in the new
scheme of things.

Perfection can wait. Especially since that probably involves
removing the PCI-related code, and just trusting the native
Linux direct PCI accesses.

22 years agoMerge penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/tls-tree
Linus Torvalds [Thu, 25 Jul 2002 08:18:21 +0000 (01:18 -0700)]
Merge penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/tls-tree
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] Thread-Local Storage (TLS) support
Ingo Molnar [Thu, 25 Jul 2002 08:17:48 +0000 (01:17 -0700)]
[PATCH] Thread-Local Storage (TLS) support

the following patch implements proper x86 TLS support in the Linux kernel,
via a new system-call, sys_set_thread_area():

   http://redhat.com/~mingo/tls-patches/tls-2.5.28-C6

a TLS test utility can be downloaded from:

    http://redhat.com/~mingo/tls-patches/tls_test.c

what is TLS? Thread Local Storage is a concept used by threading
abstractions - fast an efficient way to store per-thread local (but not
on-stack local) data. The __thread extension is already supported by gcc.

proper TLS support in compilers (and glibc/pthreads) is a bit problematic
on the x86 platform. There's only 8 general purpose registers available,
so on x86 we have to use segments to access the TLS. The approach used by
glibc so far was to set up a per-thread LDT entry to describe the TLS.
Besides the generic unrobustness of LDTs, this also introduced a limit:
the maximum number of LDT entries is 8192, so the maximum number of
threads per application is 8192.

this patch does it differently - the kernel keeps a specific per-thread
GDT entry that can be set up and modified by each thread:

     asmlinkage int sys_set_thread_area(unsigned int base,
               unsigned int limit, unsigned int flags)

the kernel, upon context-switch, modifies this GDT entry to match that of
the thread's TLS setting. This way user-space threaded code can access
per-thread data via this descriptor - by using the same, constant %gs (or
%gs) selector. The number of TLS areas is unlimited, and there is no
additional allocation overhead associated with TLS support.

the biggest problem preventing the introduction of this concept was
Linux's global shared GDT on SMP systems. The patch fixes this by
implementing a per-CPU GDT, which is also a nice context-switch speedup,
2-task lat_ctx context-switching got faster by about 5% on a dual Celeron
testbox. [ Could it be that a shared GDT is fundamentally suboptimal on
SMP? perhaps updating the 'accessed' bit in the DS/CS descriptors causes
some sort locked memory cycle overhead? ]

the GDT layout got simplified:

 *   0 - null
 *   1 - Thread-Local Storage (TLS) segment
 *   2 - kernel code segment
 *   3 - kernel data segment
 *   4 - user code segment              <==== new cacheline
 *   5 - user data segment
 *   6 - TSS
 *   7 - LDT
 *   8 - APM BIOS support               <==== new cacheline
 *   9 - APM BIOS support
 *  10 - APM BIOS support
 *  11 - APM BIOS support
 *  12 - PNPBIOS support                <==== new cacheline
 *  13 - PNPBIOS support
 *  14 - PNPBIOS support
 *  15 - PNPBIOS support
 *  16 - PNPBIOS support                <==== new cacheline
 *  17 - not used
 *  18 - not used
 *  19 - not used

set_thread_area() currently recognizes the following flags:

  #define TLS_FLAG_LIMIT_IN_PAGES         0x00000001
  #define TLS_FLAG_WRITABLE               0x00000002
  #define TLS_FLAG_CLEAR                  0x00000004

- in theory we could avoid the 'limit in pages' bit, but i wanted to
  preserve the flexibility to potentially enable the setting of
  byte-granularity stack segments for example. And unlimited segments
  (granularity = pages, limit = 0xfffff) might have a performance
  advantage on some CPUs. We could also automatically figure out the best
  possible granularity for a given limit - but i wanted to avoid this kind
  of guesswork. Some CPUs might have a plus for page-limit segments - who
  knows.

- The 'writable' flag is straightforward and could be useful to some
  applications.

- The 'clear' flag clears the TLS. [note that a base 0 limit 0 TLS is in
  fact legal, it's a single-byte segment at address 0.]

(the system-call does not expose any other segment options to user-space,
priviledge level is 3, the segment is 32-bit, etc. - it's using safe and
sane defaults.)

NOTE: the interface does not allow the changing of the TLS of another
thread on purpose - that would just complicate the interface (and
implementation) unnecesserily. Is there any good reason to allow the
setting of another thread's TLS?

NOTE2: non-pthreads glibc applications can call set_thread_area() to set
up a GDT entry just below the end of stack. We could use some sort of
default TLS area as well, but that would hard-code a given segment.

22 years ago[PATCH] Remove docgen + gen-all-syms targets
Sam Ravnborg [Thu, 25 Jul 2002 07:47:19 +0000 (00:47 -0700)]
[PATCH] Remove docgen + gen-all-syms targets

Removed unused targets to CHMOD_FILES in scripts

This allow a fresh kernel to start the build process without
bailing about docgen.

22 years agoresolve merge of Dom's patch
Andy Grover [Thu, 25 Jul 2002 07:18:25 +0000 (00:18 -0700)]
resolve merge of Dom's patch

22 years agoLast little bit of C99 init fixes
Andy Grover [Thu, 25 Jul 2002 07:03:48 +0000 (00:03 -0700)]
Last little bit of C99 init fixes
Fix panic in EC driver (Dom B)
Add a some more sanity checking (Richard Schaal)

22 years agoUse C99 initializers (Rusty Russell)
Andy Grover [Thu, 25 Jul 2002 06:59:23 +0000 (23:59 -0700)]
Use C99 initializers (Rusty Russell)

22 years agoInterpreter update
Andy Grover [Thu, 25 Jul 2002 06:58:01 +0000 (23:58 -0700)]
Interpreter update

22 years ago[PATCH] resolve ACPI lockup
Dominik Brodowski [Thu, 25 Jul 2002 06:57:25 +0000 (23:57 -0700)]
[PATCH] resolve ACPI lockup

A much needed (and widely tested) ACPI bugfix for kernel 2.5.28:
An u8 was casted into an u32, then all 32 bits were zeroed. This can cause
other values, e.g. "unsigned long flags" to be corrupted. When these
flags==0 are "restored", the system locks hard.

22 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Thu, 25 Jul 2002 06:12:30 +0000 (23:12 -0700)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-driverfs-rewrite

22 years agofix memory leak when driverfs symlink fails.
Patrick Mochel [Thu, 25 Jul 2002 05:50:30 +0000 (22:50 -0700)]
fix memory leak when driverfs symlink fails.

22 years agodriverfs: Don't use VFS for file or directory deletion
Patrick Mochel [Thu, 25 Jul 2002 05:12:04 +0000 (22:12 -0700)]
driverfs: Don't use VFS for file or directory deletion
These are tied together a bit, so they're included in the same patch

Mainly, they move the taking of the inode's i_sem into the unlink and rmdir.

driverfs_rmdir doesn't call driverfs_unlink anymore, as it checks if the directory is empty
and conditionally does d_delete on it.

fs/namei.c implements d_unhash, which is called in vfs_rmdir. This isn't exported (yet),
so reimplement it here (at least until it's known that it's not needed or it's exported).

22 years agodriverfs: don't use vfs for creating symlinks
Patrick Mochel [Thu, 25 Jul 2002 04:24:54 +0000 (21:24 -0700)]
driverfs: don't use vfs for creating symlinks
Add check for existence of dentry in driverfs_symlink and driverfs_mknod  (which the other creation
functions use).

22 years agodriverfs: don't use VFS for directory creation
Patrick Mochel [Thu, 25 Jul 2002 04:17:45 +0000 (21:17 -0700)]
driverfs: don't use VFS for directory creation
Call driverfs_mkdir directly, instead of going through vfs.

22 years agodriverfs: stop using vfs layer for file creation
Patrick Mochel [Thu, 25 Jul 2002 04:13:01 +0000 (21:13 -0700)]
driverfs: stop using vfs layer for file creation
This is the first of a series of patches to driverfs to _not_ use the vfs layer for file creation
and deletion.
The VFS layer is allowing files and directories to be removed from userspace, which we don't want
at all.

Per Al Viro's suggesting, I am pushing the necessary checks from the vfs_* functions into the
driverfs functions, and calling them directly from the kernel interface to driverfs.

This is the first, for file creation

22 years agoMerge bk://vana.vc.cvut.cz/ncpfs
Linus Torvalds [Thu, 25 Jul 2002 03:02:05 +0000 (20:02 -0700)]
Merge bk://vana.vc.cvut.cz/ncpfs
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years ago[PATCH] docbook: Call docbook makefile with -f [9/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:34:53 +0000 (19:34 -0700)]
[PATCH] docbook: Call docbook makefile with -f [9/9]

The rewritten makefile for DocBook requires that working directory
is $(TOPDIR) therefore use -f Documentation/DocBook/Makefile to
invoke the docbook makefile.

22 years ago[PATCH] docbook: Move script target in top-level file [8/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:34:34 +0000 (19:34 -0700)]
[PATCH] docbook: Move script target in top-level file [8/9]

To support the new DocBook makefile the script target needs to be located
the block that is checked for precense of a .config file.

22 years ago[PATCH] docbook: Update documentation to reflect new docproc [7/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:34:15 +0000 (19:34 -0700)]
[PATCH] docbook: Update documentation to reflect new docproc [7/9]

kernel-doc-nano-HOWTO.txt updated to reflect new functionality
provided by docproc.
gen-all-syms and docgen description removed.
kernel-api.tmpl and parportbook.tmpl updated to specify files to search
for EXPORT-SYMBOL* to enable documentation of all relevant functions.

22 years ago[PATCH] docbook: Makefile cleanup [6/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:33:55 +0000 (19:33 -0700)]
[PATCH] docbook: Makefile cleanup [6/9]

Massive cleanup of makefile.
Comments added as well.
Enabled by the new functionality provided by docproc
When generating HTML locate a new file in DocBook dir that points to
the book in question.

22 years ago[PATCH] docbook: scripts/docproc improved [5/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:33:34 +0000 (19:33 -0700)]
[PATCH] docbook: scripts/docproc improved [5/9]

This is the first patch in a serie to clean-up the DocBook
Makefile.

docproc is extented to include the functionality previously provided by
gen-all-syms and docgen.  Furthermore the necessity to specify which
files to search for EXPORT_SYMBOL are removed, the information is now
read in the .tmpl files.

docproc is furthermore extended to generate dependency information.
gen-all-syms and docgen are deleted.

22 years ago[PATCH] kernel-doc: Fix warnings [4/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:33:15 +0000 (19:33 -0700)]
[PATCH] kernel-doc: Fix warnings [4/9]

During processing of skbuff.h three warnings were issued,
because members of an enum within a struct were nor documented.
This patch fixes kernel-doc not to spit out these non-valid warnings.
Originally by Thunder.

22 years ago[PATCH] kernel-doc: Generate valid DocBook syntax [3/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:32:55 +0000 (19:32 -0700)]
[PATCH] kernel-doc: Generate valid DocBook syntax [3/9]

Forward port from 2.4, originally by Alan Cox
 o Do not generate empty RefEntry's
 o Improved error reporting

22 years ago[PATCH] kernel-doc: Improved support for man-page generation [2/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:32:34 +0000 (19:32 -0700)]
[PATCH] kernel-doc: Improved support for man-page generation [2/9]

Forward port from 2.4, originally by Christoph Hellwig

22 years ago[PATCH] Made 'make sgmldocs' work again after serial merge [1/9]
Sam Ravnborg [Thu, 25 Jul 2002 02:32:13 +0000 (19:32 -0700)]
[PATCH] Made 'make sgmldocs' work again after serial merge [1/9]

 o Changed targets in documentation/DocBook/Makefile
 o New filenames in DocBook/kernel-api.tmpl

22 years ago[PATCH] ipx use of cli/sti
Petr Vandrovec [Thu, 25 Jul 2002 02:27:25 +0000 (19:27 -0700)]
[PATCH] ipx use of cli/sti

This removes cli/sti from SPX registration code in IPX.  I decided to
use normal rw_semaphore instead of net_family_{write,read}_{lock,unlock}
used in net/socket.c.

I left SPX code itself alone: I do not use it and last time I checked it
it was very unreliable reliable transport.

22 years ago[PATCH] fix two unwrapped uses of thread_info->cpu
Mikael Pettersson [Thu, 25 Jul 2002 02:15:54 +0000 (19:15 -0700)]
[PATCH] fix two unwrapped uses of thread_info->cpu

This patch for 2.5.28 fixes two explicit accesses to thread_info->cpu
in generic code to use the new UP-optimised macros instead.

22 years ago[PATCH] shrink check_nmi_watchdog stack frame
Mikael Pettersson [Thu, 25 Jul 2002 02:15:33 +0000 (19:15 -0700)]
[PATCH] shrink check_nmi_watchdog stack frame

This patch for 2.5.28 reduces the stack frame size of
arch/i386/kernel/nmi.c:check_nmi_watchdog() from 4096 bytes
in the worst case to 128 bytes.

The problem with the current code is that it copies the entire
irq_stat[] array, when only a single field (__nmi_count) is of
interest. The irq_stat_t element type is only 28 bytes, but it
is also ____cacheline_aligned, and that blows the array up to
4096 bytes on SMP P4 Xeons, 2048 bytes on SMP K7s, and 1024 bytes
on SMP P5/P6s. The patch reduces this to NR_CPUS*4==128 bytes.

22 years ago[PATCH] Ensure xtime_lock and timerlist_lock are on difft cachelines
Ravikiran G. Thirumalai [Thu, 25 Jul 2002 02:15:13 +0000 (19:15 -0700)]
[PATCH] Ensure xtime_lock and timerlist_lock are on difft cachelines

I've noticed that xtime_lock and timerlist_lock ends up on the same
cacheline  all the time (atleaset on x86).  Not a good thing for
loads with high xxx_timer and do_gettimeofday counts I guess (networking etc).

Here's a trivial fix.

22 years ago[PATCH] New LDM Driver (Windows Dynamic Disks)
Richard Russon [Thu, 25 Jul 2002 02:14:52 +0000 (19:14 -0700)]
[PATCH] New LDM Driver (Windows Dynamic Disks)

This is a complete rewrite of the LDM driver (support for Windows
Dynamic Disks).  It incorporates Al Viro's recent partition handling
tidy ups.

Details:
  LDM Driver rewritten.  More efficient.  Much smaller memory footprint.

  The old driver was little more than a stopgap.
  The new driver is a complete rewrite
  based on a much better understanding of the database
  based on much more reverse engineering
  more able to spot errors and inconsistancies
  it has a much smaller memory footprint
  no longer considered experimental
  accompanied by brief info: Documentation/ldm.txt

22 years ago[PATCH] Missing memory barrier in pte_chain_unlock
Anton Blanchard [Thu, 25 Jul 2002 01:54:01 +0000 (18:54 -0700)]
[PATCH] Missing memory barrier in pte_chain_unlock

On a ppc64 machine running 2.5.28 we were hitting this BUG in
__free_pages_ok:

BUG_ON(page->pte.chain != NULL);

In pte_chain_lock we use test_and_set_bit which implies a memory
barrier. In pte_chain_unlock we use clear_bit which has no memory
barriers so we need to add one.

22 years agoUse C99 initializers in driverfs
Patrick Mochel [Thu, 25 Jul 2002 01:52:42 +0000 (18:52 -0700)]
Use C99 initializers in driverfs

22 years ago[PATCH] read-write semaphore downgrade and trylock
David Howells [Thu, 25 Jul 2002 01:52:25 +0000 (18:52 -0700)]
[PATCH] read-write semaphore downgrade and trylock

Here's a patch from Christoph Hellwig and myself to supply write->read
semaphore downgrade, and also from Brian Watson to supply trylock for rwsems.

22 years agoRemove BKL from driverfs
Patrick Mochel [Thu, 25 Jul 2002 01:50:07 +0000 (18:50 -0700)]
Remove BKL from driverfs
- in mkdir: we already hold parent directory's semaphore (c.f. driverfs_create_dir)
- in create: ditto (c.f. driverfs_create_file)
- in unlink: ditto (c.f. driverfs_remove_file) and file's i_sem is taken in vfs_unlink
- un lseek: take inode's i_sem (though I think we can replace this with a common lseek function...later)

22 years ago[PATCH] cpu_online() has odd semantics
Rusty Russell [Thu, 25 Jul 2002 01:49:44 +0000 (18:49 -0700)]
[PATCH] cpu_online() has odd semantics

Make sure the cpu argument to cpu_online() is evaluated for
side effects on UP too.

22 years ago[PATCH] cli-sti-removal.txt fixup
Thunder From The Hill [Thu, 25 Jul 2002 01:47:59 +0000 (18:47 -0700)]
[PATCH] cli-sti-removal.txt fixup

Things look rather like this..

22 years agoMerge bk://linux-input.bkbits.net/linux-input
Linus Torvalds [Thu, 25 Jul 2002 01:45:02 +0000 (18:45 -0700)]
Merge bk://linux-input.bkbits.net/linux-input
into home.transmeta.com:/home/torvalds/v2.5/linux

22 years agoAdd EVIOCSABS() ioctl to change the abs* informative
Vojtech Pavlik [Thu, 25 Jul 2002 18:36:05 +0000 (20:36 +0200)]
Add EVIOCSABS() ioctl to change the abs* informative
values on input devices. This is something the X peoople
really wanted.
Rename input_devinfo to input_id, it's shorter and more
to the point.
Remove superfluous printks in uinput.c
Clean up return values in evdev.c ioctl.

22 years agoBecause the Linux Input core follows the USB HID standard where it
Vojtech Pavlik [Thu, 25 Jul 2002 18:08:56 +0000 (20:08 +0200)]
Because the Linux Input core follows the USB HID standard where it
comes to directions of movement and rotation, a mouse wheel should
be positive where it "rotates forward, away from the user". We had
the opposite in psmouse.c. Fixed this.

22 years agoAdd support for AT keyboards connected over a PS/2 to Serial
Vojtech Pavlik [Thu, 25 Jul 2002 16:23:58 +0000 (18:23 +0200)]
Add support for AT keyboards connected over a PS/2 to Serial
converter to atkbd.c - trivial. Remove ps2serkbd, because it's
not needed anymore.

22 years agoSmall cleanup in evdev.c, which copies the data directly from
Vojtech Pavlik [Thu, 25 Jul 2002 16:02:02 +0000 (18:02 +0200)]
Small cleanup in evdev.c, which copies the data directly from
input struct to userspace.

22 years agoBy popular request, and explicit method of telling which events
Vojtech Pavlik [Thu, 25 Jul 2002 15:56:28 +0000 (17:56 +0200)]
By popular request, and explicit method of telling which events
from a device belong together was implemented - input_sync() and
EV_SYN. Touches every input driver. The first to make use of it
is mousedev.c to properly merge events into PS/2 packets.

22 years agoAdd a GrIP MultiPort gamepad hub by Brian Bonnlander and Bill Soudan.
Vojtech Pavlik [Thu, 25 Jul 2002 10:33:58 +0000 (12:33 +0200)]
Add a GrIP MultiPort gamepad hub by Brian Bonnlander and Bill Soudan.

22 years agoMerge twilight.ucw.cz:/home/vojtech/bk/linus
Vojtech Pavlik [Thu, 25 Jul 2002 03:56:12 +0000 (05:56 +0200)]
Merge twilight.ucw.cz:/home/vojtech/bk/linus
into twilight.ucw.cz:/home/vojtech/bk/input

22 years agoApply Rusty's C99 initializer patch to input drivers.
Vojtech Pavlik [Thu, 25 Jul 2002 03:47:14 +0000 (05:47 +0200)]
Apply Rusty's C99 initializer patch to input drivers.
Fix cli() breakage in input (gameport) drivers.

22 years agoMerge http://linus.bkbits.net:8080/linux-2.5
Vojtech Pavlik [Thu, 25 Jul 2002 01:53:19 +0000 (03:53 +0200)]
Merge http://linus.bkbits.net:8080/linux-2.5
into twilight.ucw.cz:/home/vojtech/bk/linus

22 years ago[PATCH] i810_audio.c cli/sti fix
Greg Kroah-Hartman [Thu, 25 Jul 2002 01:41:05 +0000 (18:41 -0700)]
[PATCH] i810_audio.c cli/sti fix

Update for removed global irq lock

22 years agoMerge with Alan
Linus Torvalds [Thu, 25 Jul 2002 01:39:25 +0000 (18:39 -0700)]
Merge with Alan

22 years ago[PATCH] Remove dead i2c bits from media/video
Alan Cox [Thu, 25 Jul 2002 01:28:41 +0000 (18:28 -0700)]
[PATCH] Remove dead i2c bits from media/video

22 years ago[PATCH] Handle dunord pci decode problem
Alan Cox [Thu, 25 Jul 2002 01:28:35 +0000 (18:28 -0700)]
[PATCH] Handle dunord pci decode problem

22 years ago[PATCH] SuS/LSB compliance in readv/writev from 2.4
Alan Cox [Thu, 25 Jul 2002 01:28:30 +0000 (18:28 -0700)]
[PATCH] SuS/LSB compliance in readv/writev from 2.4

22 years ago[PATCH] atp870u scsi update
Alan Cox [Thu, 25 Jul 2002 01:28:25 +0000 (18:28 -0700)]
[PATCH] atp870u scsi update

Rediffed with the 2.5.28 biosparm change included

22 years ago[PATCH] Fix cisco aironet tristate check
Alan Cox [Thu, 25 Jul 2002 01:28:20 +0000 (18:28 -0700)]
[PATCH] Fix cisco aironet tristate check

22 years ago[PATCH] Make the tulip compile again
Alan Cox [Thu, 25 Jul 2002 01:28:15 +0000 (18:28 -0700)]
[PATCH] Make the tulip compile again

22 years ago[PATCH] Update tlan driver to new pci api
Alan Cox [Thu, 25 Jul 2002 01:28:10 +0000 (18:28 -0700)]
[PATCH] Update tlan driver to new pci api

22 years ago[PATCH] Fix multiple driver build failures due to missing include
Alan Cox [Thu, 25 Jul 2002 01:28:05 +0000 (18:28 -0700)]
[PATCH] Fix multiple driver build failures due to missing include

22 years ago[PATCH] Fix other peoples ALSA PCI fixe
Alan Cox [Thu, 25 Jul 2002 01:28:01 +0000 (18:28 -0700)]
[PATCH] Fix other peoples ALSA PCI fixe

irq can be -1 if the card errors during config. synchronize_irq(-1) looks
bad

22 years ago[PATCH] fix ALSA PCI compile problems
Alan Cox [Thu, 25 Jul 2002 01:27:56 +0000 (18:27 -0700)]
[PATCH] fix ALSA PCI compile problems

22 years ago[PATCH] CS4281 is missing in sound/pci/Config.in
Alan Cox [Thu, 25 Jul 2002 01:27:51 +0000 (18:27 -0700)]
[PATCH] CS4281 is missing in sound/pci/Config.in

22 years ago[PATCH] ad1848_lib does not build
Alan Cox [Thu, 25 Jul 2002 01:27:46 +0000 (18:27 -0700)]
[PATCH] ad1848_lib does not build

22 years ago[PATCH] Update i2o core functionality to 2.5
Alan Cox [Thu, 25 Jul 2002 01:27:41 +0000 (18:27 -0700)]
[PATCH] Update i2o core functionality to 2.5

22 years ago[PATCH] miropcm20 fails to build
Alan Cox [Thu, 25 Jul 2002 01:27:36 +0000 (18:27 -0700)]
[PATCH] miropcm20 fails to build

22 years ago[PATCH] Q40 keyboard
Alan Cox [Thu, 25 Jul 2002 01:27:31 +0000 (18:27 -0700)]
[PATCH] Q40 keyboard

The Q40 keyboard is only found on a Q40..

22 years ago[PATCH] epca and specialix warning fixes
Alan Cox [Thu, 25 Jul 2002 01:27:26 +0000 (18:27 -0700)]
[PATCH] epca and specialix warning fixes

Event is just used for internal flags and with set_bit for atomicity. This
kills the warning the obvious way

22 years ago[PATCH] fix umem compile
Alan Cox [Thu, 25 Jul 2002 01:27:21 +0000 (18:27 -0700)]
[PATCH] fix umem compile

Whoever updated it was coding without due care and attention 8)

22 years ago[PATCH] backpack driver only needs module license in one file
Alan Cox [Thu, 25 Jul 2002 01:27:16 +0000 (18:27 -0700)]
[PATCH] backpack driver only needs module license in one file

22 years ago[PATCH] I2O does not need init in genhd now
Alan Cox [Thu, 25 Jul 2002 01:27:11 +0000 (18:27 -0700)]
[PATCH] I2O does not need init in genhd now

22 years agoThis patch adds two new serio input drivers. Both are "UART" type
Vojtech Pavlik [Thu, 25 Jul 2002 01:15:49 +0000 (03:15 +0200)]
This patch adds two new serio input drivers.  Both are "UART" type
drivers for PS/2 ports on both StrongARM and ARM Integrator hardware.
  -- Russell King

22 years agoThe following patch adds the "resend" capability to the keyboard driver;
Vojtech Pavlik [Thu, 25 Jul 2002 01:14:48 +0000 (03:14 +0200)]
The following patch adds the "resend" capability to the keyboard driver;
when the host driver detects a parity or framing error, we can ask the
keyboard to resend the data, instead of treating random garbage as
valid data.
We also export serio_interrupt() - serio modules are using it, yet you
can't use them as modules without this symbol exported.
  -- Russell King

22 years agoThe following fixes compilation errors in the Acorn
Vojtech Pavlik [Thu, 25 Jul 2002 01:13:17 +0000 (03:13 +0200)]
The following fixes compilation errors in the Acorn
related input drivers.
  -- Russell King <rmk@arm.linux.org.uk>

22 years agoAfter some grepping and talking to maintainers, I did the appended cleanup
Vojtech Pavlik [Thu, 25 Jul 2002 01:11:39 +0000 (03:11 +0200)]
After some grepping and talking to maintainers, I did the appended cleanup
patch. This should be it from me until char/keyboard.c becomes a real input
layer client, but this final patch will be _very_ small now :-)).
-- Franz Sirl

22 years agoEnable the Q40 keyboard only on the Q40 platform.
Vojtech Pavlik [Thu, 25 Jul 2002 01:09:06 +0000 (03:09 +0200)]
Enable the Q40 keyboard only on the Q40 platform.

22 years agoFix the PS/2 mouse wheel in Explorer PS/2 mode.
Vojtech Pavlik [Thu, 25 Jul 2002 01:08:05 +0000 (03:08 +0200)]
Fix the PS/2 mouse wheel in Explorer PS/2 mode.

22 years agoOsamu Tomita <tomita@cinet.co.jp>:
Vojtech Pavlik [Thu, 25 Jul 2002 01:06:34 +0000 (03:06 +0200)]
Osamu Tomita <tomita@cinet.co.jp>:
  2.5.26-27 Logitech Busmouse driver doesn't work.
  This patch fix it.

22 years agoRemove duplicately defined keys in input.h that got there as a part
Vojtech Pavlik [Thu, 25 Jul 2002 01:05:23 +0000 (03:05 +0200)]
Remove duplicately defined keys in input.h that got there as a part
of a PVR support patch.

22 years agoFox a typo in input documentation. Patch by Pavel Machek.
Vojtech Pavlik [Thu, 25 Jul 2002 01:04:05 +0000 (03:04 +0200)]
Fox a typo in input documentation. Patch by Pavel Machek.

22 years agoAdd an i8042_restore_ctr command line option. This allows not
Vojtech Pavlik [Thu, 25 Jul 2002 01:03:13 +0000 (03:03 +0200)]
Add an i8042_restore_ctr command line option. This allows not
restoring the CTR value after an AUX write by default, which
breaks Transmeta Crusoe i8042 chip emulation. The option might
be needed on some ancient hardware, though.
Move registration of the KBD interface after the AUX probe. This
makes sure we don't kill the keyboard by probing for the AUX port.
Fix a bug in i8042.c which only enables the interfaces after the
probe routine for mice/keyboards was executed.
Add some paranoia flush/sync calls to make sure the chip doesn't get
stuck.
Don't check_region, we already request_region where applicable.
Do i8042_reset on all non-PC architectures.
Cleanup comments.
Add an i8042_restore_ctr command line option. This allows not
restoring the CTR value after an AUX write by default, which
breaks Transmeta Crusoe i8042 chip emulation. The option might
be needed on some ancient hardware, though.
Move registration of the KBD interface after the AUX probe. This
makes sure we don't kill the keyboard by probing for the AUX port.
Fix a bug in i8042.c which only enables the interfaces after the
probe routine for mice/keyboards was executed.
Add some paranoia flush/sync calls to make sure the chip doesn't get
stuck.
Don't check_region, we already request_region where applicable.
Do i8042_reset on all non-PC architectures.
Cleanup comments.

22 years agoThis patch by Brad Hards replaces the four id* fields of the input
Vojtech Pavlik [Thu, 25 Jul 2002 00:57:12 +0000 (02:57 +0200)]
This patch by Brad Hards replaces the four id* fields of the input
struct by a single struct to simplify passing it around and to
userspace.

22 years agoUpdate of the X-Box USB pad driver and documentation to version 0.0.5.
Vojtech Pavlik [Thu, 25 Jul 2002 00:52:53 +0000 (02:52 +0200)]
Update of the X-Box USB pad driver and documentation to version 0.0.5.

22 years agoKernel command line [__setup()] parsing fixes in all the input
Vojtech Pavlik [Thu, 25 Jul 2002 00:48:45 +0000 (02:48 +0200)]
Kernel command line [__setup()] parsing fixes in all the input
drivers that use it, except i8042.

22 years agoMerge bk://linux.bkbits.net/linux-2.5 into vc.cvut.cz:/bk/repo/ncpfs
Petr Vandrovec [Wed, 24 Jul 2002 22:48:08 +0000 (00:48 +0200)]
Merge bk://linux.bkbits.net/linux-2.5 into vc.cvut.cz:/bk/repo/ncpfs

22 years ago[PATCH] PATCH: remove sti() from calibrate_xor_block()
Neil Brown [Wed, 24 Jul 2002 15:18:04 +0000 (08:18 -0700)]
[PATCH] PATCH: remove sti() from calibrate_xor_block()

Inexplicably, xor.c enabled interrupts...
 thanks to akmp

22 years ago[PATCH] CMIPCI compile fix
Lawrence Walton [Wed, 24 Jul 2002 11:10:57 +0000 (04:10 -0700)]
[PATCH] CMIPCI compile fix

Here it is my first LK patch.
tested even. :)

22 years agoDon't compile with "-g" by default, that was a left-over from
Linus Torvalds [Wed, 24 Jul 2002 09:07:14 +0000 (02:07 -0700)]
Don't compile with "-g" by default, that was a left-over from
the global irq-lock debugging

22 years ago[PATCH] Fix cpqfcTS driver in 2.5.x
Doug Ledford [Wed, 24 Jul 2002 07:39:48 +0000 (00:39 -0700)]
[PATCH] Fix cpqfcTS driver in 2.5.x

cpqfcTSinit.c:
  Fix usage of Scsi_Cmnd->request so it will compile.

22 years ago[PATCH] Fix the BusLogic driver in 2.5.x
Doug Ledford [Wed, 24 Jul 2002 07:39:38 +0000 (00:39 -0700)]
[PATCH] Fix the BusLogic driver in 2.5.x

22 years agoLinux v2.5.28 v2.5.28
Linus Torvalds [Wed, 24 Jul 2002 07:00:36 +0000 (00:00 -0700)]
Linux v2.5.28

22 years agoMerge http://linuxusb.bkbits.net/linus-2.5
Linus Torvalds [Wed, 24 Jul 2002 06:58:25 +0000 (23:58 -0700)]
Merge http://linuxusb.bkbits.net/linus-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago[PATCH] scheduler fixes
Ingo Molnar [Wed, 24 Jul 2002 05:17:36 +0000 (22:17 -0700)]
[PATCH] scheduler fixes

 - introduce new type of context-switch locking, this is a must-have for
   ia64 and sparc64.

 - load_balance() bug noticed by Scott Rhine and myself: scan the
   whole list to find imbalance number of tasks, not just the tail
   of the list.

 - sched_yield() fix: use current->array not rq->active.

22 years agoMerge bk://linuxusb.bkbits.net/pci_hp-2.5
Linus Torvalds [Wed, 24 Jul 2002 05:13:26 +0000 (22:13 -0700)]
Merge bk://linuxusb.bkbits.net/pci_hp-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge http://linuxusb.bkbits.net/agpgart-2.5
Linus Torvalds [Wed, 24 Jul 2002 04:56:47 +0000 (21:56 -0700)]
Merge http://linuxusb.bkbits.net/agpgart-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years agoMerge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
Greg Kroah-Hartman [Wed, 24 Jul 2002 04:56:39 +0000 (21:56 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/pci_hp-2.5

22 years agoMerge bk://bkbits.ras.ucalgary.ca/rgooch-2.5
Linus Torvalds [Wed, 24 Jul 2002 04:42:47 +0000 (21:42 -0700)]
Merge bk://bkbits.ras.ucalgary.ca/rgooch-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

22 years ago(no commit message)
Richard Gooch [Wed, 24 Jul 2002 17:03:59 +0000 (17:03 +0000)]

22 years agoMerge atnf.csiro.au:/workaholix1/kernel/v2.5/linus
Richard Gooch [Wed, 24 Jul 2002 16:36:59 +0000 (16:36 +0000)]
Merge atnf.csiro.au:/workaholix1/kernel/v2.5/linus
into atnf.csiro.au:/workaholix1/kernel/v2.5/rgooch-2.5