]> git.neil.brown.name Git - history.git/log
history.git
23 years ago[PATCH] VIA C3 Nehemiah support.
Dave Jones [Thu, 13 Feb 2003 02:39:22 +0000 (18:39 -0800)]
[PATCH] VIA C3 Nehemiah support.

The new C3s won't boot a C3 kernel as they dropped 3dnow support in
favour of SSE.  It now also has cmov though and can be scheduled as a
686 CPU.

I've a patch for gcc pending inclusion that adds the -march=c3-2 option.

23 years ago[PATCH] Missing maintainer.
Dave Jones [Thu, 13 Feb 2003 02:39:14 +0000 (18:39 -0800)]
[PATCH] Missing maintainer.

Forgot to bring this bit forward when I updated the watchdog drivers.

23 years ago[PATCH] nec vrc5477 oss driver update
Dave Jones [Thu, 13 Feb 2003 02:39:07 +0000 (18:39 -0800)]
[PATCH] nec vrc5477 oss driver update

Fixes from 2.4 + compile fixes from me.

23 years ago[PATCH] proc_file_read documentation/buffer overflow detection.
Dave Jones [Thu, 13 Feb 2003 02:38:58 +0000 (18:38 -0800)]
[PATCH] proc_file_read documentation/buffer overflow detection.

This one has been around for ages, has Rusty's name
all over it, but wasn't from him.
48 lines of comments, and no swearing? 8-)

Mostly documentation, but also has some buffer overflow
detection in there.

23 years ago[PATCH] nwflash driver uses wrong types in llseek methods
Dave Jones [Thu, 13 Feb 2003 02:38:51 +0000 (18:38 -0800)]
[PATCH] nwflash driver uses wrong types in llseek methods

from 2.4

23 years ago[PATCH] i2c namespace pollution.
Dave Jones [Thu, 13 Feb 2003 02:38:43 +0000 (18:38 -0800)]
[PATCH] i2c namespace pollution.

adap_lock is a little generic for a global..

23 years ago[PATCH] nvram driver uses incorrect types in llseek method
Dave Jones [Thu, 13 Feb 2003 02:38:35 +0000 (18:38 -0800)]
[PATCH] nvram driver uses incorrect types in llseek method

23 years ago[PATCH] fix sigio on tty drivers outgoing
Dave Jones [Thu, 13 Feb 2003 02:38:28 +0000 (18:38 -0800)]
[PATCH] fix sigio on tty drivers outgoing

This went into 2.4.18

23 years ago[PATCH] VIA C3 Nehemiah cachesize errata fix.
Dave Jones [Thu, 13 Feb 2003 02:38:22 +0000 (18:38 -0800)]
[PATCH] VIA C3 Nehemiah cachesize errata fix.

Whoops, VIA goofed, and it reports L2 size as 65KB.

23 years ago[PATCH] improve K7 SMP tainting.
Dave Jones [Thu, 13 Feb 2003 02:38:11 +0000 (18:38 -0800)]
[PATCH] improve K7 SMP tainting.

If we have a non-SMP approved CPU, but its in a UP system,
we should allow SMP kernels.

23 years ago[PATCH] ES1371 OSS fix
Dave Jones [Thu, 13 Feb 2003 02:38:03 +0000 (18:38 -0800)]
[PATCH] ES1371 OSS fix

from 2.4
only register gameport if the port is active

23 years ago[PATCH] ES1370 OSS fix
Dave Jones [Thu, 13 Feb 2003 02:37:56 +0000 (18:37 -0800)]
[PATCH] ES1370 OSS fix

from 2.4
only register gameport if the port is active

23 years agoMerge bk://linux-dj.bkbits.net/cpufreq
Linus Torvalds [Thu, 13 Feb 2003 02:36:16 +0000 (18:36 -0800)]
Merge bk://linux-dj.bkbits.net/cpufreq
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[CPUFREQ] powernow-k7.c: Zeropad the VID or we get 1.50V instead of 1.050V
Dave Jones [Thu, 13 Feb 2003 15:02:23 +0000 (14:02 -0100)]
[CPUFREQ] powernow-k7.c: Zeropad the VID or we get 1.50V instead of 1.050V

23 years ago[CPUFREQ] Add powernow-k7 driver for AMD mobile Athlon/Duron CPUs.
Dave Jones [Thu, 13 Feb 2003 09:34:48 +0000 (08:34 -0100)]
[CPUFREQ] Add powernow-k7 driver for AMD mobile Athlon/Duron CPUs.

23 years agoMerge bk://linux-dj.bkbits.net/watchdog
Linus Torvalds [Thu, 13 Feb 2003 02:33:48 +0000 (18:33 -0800)]
Merge bk://linux-dj.bkbits.net/watchdog
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[WATCHDOG] Remove unneeded includes & EXPORT_NO_SYMBOLS from cpu5wdt
Dave Jones [Thu, 13 Feb 2003 12:54:46 +0000 (11:54 -0100)]
[WATCHDOG] Remove unneeded includes & EXPORT_NO_SYMBOLS from cpu5wdt

23 years ago[WATCHDOG] Merge sma cpu5 watchdog driver.
Dave Jones [Thu, 13 Feb 2003 12:52:24 +0000 (11:52 -0100)]
[WATCHDOG] Merge sma cpu5 watchdog driver.
By Heiko Ronsdorf, has been around linux-kernel a few days, and has
been through some rounds of cleanup.

23 years agoMerge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
Dave Jones [Thu, 13 Feb 2003 12:46:02 +0000 (11:46 -0100)]
Merge tetrachloride.(none):/mnt/stuff/kernel/2.5/bk-linus
into tetrachloride.(none):/mnt/stuff/kernel/2.5/watchdog

23 years ago[WATCHDOG] Remove unneeded EXPORT_NO_SYMBOLS from sc1200wdt
Dave Jones [Thu, 13 Feb 2003 09:20:53 +0000 (08:20 -0100)]
[WATCHDOG] Remove unneeded EXPORT_NO_SYMBOLS from sc1200wdt

23 years ago[WATCHDOG] C99 struct intiialisers for remaining drivers.
Dave Jones [Thu, 13 Feb 2003 09:20:10 +0000 (08:20 -0100)]
[WATCHDOG] C99 struct intiialisers for remaining drivers.

23 years ago[WATCHDOG] fix sc1200wdt for CONFIG_PNP=n
Dave Jones [Thu, 13 Feb 2003 09:19:05 +0000 (08:19 -0100)]
[WATCHDOG] fix sc1200wdt for CONFIG_PNP=n

23 years ago[WATCHDOG] C99 struct initialisers for sc1200wdt
Dave Jones [Thu, 13 Feb 2003 09:18:11 +0000 (08:18 -0100)]
[WATCHDOG] C99 struct initialisers for sc1200wdt

23 years ago[WATCHDOG] printk levels for alim7101_wdt.c
Dave Jones [Thu, 13 Feb 2003 09:03:09 +0000 (08:03 -0100)]
[WATCHDOG] printk levels for alim7101_wdt.c

23 years ago[WATCHDOG] missing printk level in acquirewdt
Dave Jones [Thu, 13 Feb 2003 09:00:15 +0000 (08:00 -0100)]
[WATCHDOG] missing printk level in acquirewdt

23 years agoFix acl_set_handle() compile that got broken by the xattr
Linus Torvalds [Thu, 13 Feb 2003 02:11:10 +0000 (18:11 -0800)]
Fix acl_set_handle() compile that got broken by the xattr
updates.

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 13 Feb 2003 01:53:22 +0000 (17:53 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Thu, 13 Feb 2003 01:52:48 +0000 (17:52 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/irda-2.5
Linus Torvalds [Thu, 13 Feb 2003 01:52:18 +0000 (17:52 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/irda-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Thu, 13 Feb 2003 01:51:50 +0000 (17:51 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] xattr: lock_kernel() balancing fix
Andrew Morton [Thu, 13 Feb 2003 01:40:42 +0000 (17:40 -0800)]
[PATCH] xattr: lock_kernel() balancing fix

Patch from Andreas Gruenbacher <agruen@suse.de>

This patch fixes an unbalanced lock_kernel()/unlock_kernel() path in the ext3
extended attributes code.  Instead of fixing this in fs/ext3/xattr_user.c,
the locking code is moved to fs/ext3/xattr.c, since most other types of
extended attributes will need the exact same functionality.

23 years ago[PATCH] hugetlbfs i_size fix
Andrew Morton [Thu, 13 Feb 2003 01:40:33 +0000 (17:40 -0800)]
[PATCH] hugetlbfs i_size fix

Growing i_size in hugetlbfs_prefault() isn't right - if we run out of pages,
do_mmap_pgoff() will chop the partially-instantiated pages off again.

So update i_size in hugetlbfs_file_mmap() if the whole mmap attempt was
successful.

23 years ago[PATCH] Enable timer_cyclone code
Andrew Morton [Thu, 13 Feb 2003 01:40:25 +0000 (17:40 -0800)]
[PATCH] Enable timer_cyclone code

Patch from john stultz <johnstul@us.ibm.com>

        This patch simply enables the existing timer_cyclone code for
Summit/x440 systems.

23 years ago[PATCH] Cyclone timer fixes
Andrew Morton [Thu, 13 Feb 2003 01:40:15 +0000 (17:40 -0800)]
[PATCH] Cyclone timer fixes

Patch from: john stultz <johnstul@us.ibm.com>

        This patch "fixes" the timer_cyclone code by having it
initialize fast_gettimeoffset_quotient and cpu_khz in the same manner as
timer_tsc. This is required for enabling the timer_cyclone code on the
x440.

Ideally fast_gettimeoffset_quotient would not be used outside timer_tsc
and cpu_khz would be initialized generically outside the timer
subsystem. I have patches to do this, but they touch quite a bit of
generic code, and I'd rather not make the timer_cyclone enablement
(patch to follow) depend on these larger changes.

23 years ago[PATCH] ia32 TSC timer cleanup
Andrew Morton [Thu, 13 Feb 2003 01:40:07 +0000 (17:40 -0800)]
[PATCH] ia32 TSC timer cleanup

Patch from: john stultz <johnstul@us.ibm.com>

This cleanup patch makes fast_gettimeoffset_quotient (a timer_tsc specific
variable) static, and replaces its usage with cpu_khz, making it timer_opt
independent.

23 years ago[PATCH] sysfs error handling fix
Andrew Morton [Thu, 13 Feb 2003 01:39:58 +0000 (17:39 -0800)]
[PATCH] sysfs error handling fix

Patch from: Rusty Lynch <rusty@linux.co.intel.com>

Attempting to cat a sysfs file that returns an error will result in an
endless dump of garbage to the screen because the result of the specific show
operation was being saved to a size_t (unsigned) and then later checked for a
negative value.

Here is a trivial patch to fix the error.

23 years ago[PATCH] fix hugetlbfs_forget_inode() oddity
Andrew Morton [Thu, 13 Feb 2003 01:39:50 +0000 (17:39 -0800)]
[PATCH] fix hugetlbfs_forget_inode() oddity

- hugetlbfs_forget_inode() should be using ||

23 years ago[PATCH] make imm.c build
Andrew Morton [Thu, 13 Feb 2003 01:39:42 +0000 (17:39 -0800)]
[PATCH] make imm.c build

Patch from: Ingo Oeser <ingo.oeser@informatik.tu-chemnitz.de>

Cure imm.c of the recent scsi core damage.

23 years ago[PATCH] set unplug_timer.function inside blk_queue_make_request
Andrew Morton [Thu, 13 Feb 2003 01:39:33 +0000 (17:39 -0800)]
[PATCH] set unplug_timer.function inside blk_queue_make_request

Patch from Neil Brown <neilb@cse.unsw.edu.au>

Initialise the queue's unplug_timer inside blk_queue_make_request.  This
makes the new auto-unplugging more accessable by other clients of
blk_queue_make_request - e.g.  raid5, umem.

23 years agoMake dequeue_signal() take the process as an argument.
Linus Torvalds [Thu, 13 Feb 2003 01:34:50 +0000 (17:34 -0800)]
Make dequeue_signal() take the process as an argument.

This simplifies it and makes it more generic.

23 years agoMissed initialization of "curr_target" in execve() dethreading case.
Linus Torvalds [Thu, 13 Feb 2003 01:22:22 +0000 (17:22 -0800)]
Missed initialization of "curr_target" in execve() dethreading case.

23 years ago[irda] rx/tx wrapper path rewrites and cleanup:
Jean Tourrilhes [Wed, 12 Feb 2003 22:15:08 +0000 (17:15 -0500)]
[irda] rx/tx wrapper path rewrites and cleanup:
        o [FEATURE] Properly inline in wrapper Tx path
        o [FEATURE] Rewrite/simplify/optimise wrapper Rx path
                Lower CPU overhead *and* kernel image size
        o [FEATURE] Add ZeroCopy in wrapper Rx path for drivers that support it
                I'll update drivers later on...

23 years ago[irda] better poll bit handling during times of packet loss
Jean Tourrilhes [Wed, 12 Feb 2003 22:13:04 +0000 (17:13 -0500)]
[irda] better poll bit handling during times of packet loss

        o [CORRECT] fix the secondary function to send RR and frames without
                the poll bit when it detect packet losses

23 years ago[irda][CORRECT] Properly initialise IrCOMM status line (DCE settings)
Jean Tourrilhes [Wed, 12 Feb 2003 22:11:29 +0000 (17:11 -0500)]
[irda][CORRECT] Properly initialise IrCOMM status line (DCE settings)
                <Patch from Jan Kiszka>

23 years ago[WATCHDOG] More panic -> shutdown replacements in pcwd.c
Dave Jones [Wed, 12 Feb 2003 22:00:45 +0000 (21:00 -0100)]
[WATCHDOG] More panic -> shutdown replacements in pcwd.c

23 years ago[WATCHDOG] printk levels for pcwd.c
Dave Jones [Wed, 12 Feb 2003 21:58:09 +0000 (20:58 -0100)]
[WATCHDOG] printk levels for pcwd.c

23 years ago[WATCHDOG] pcwd.c: if cpu has overheated, we want to shutdown, not panic.
Dave Jones [Wed, 12 Feb 2003 21:55:49 +0000 (20:55 -0100)]
[WATCHDOG] pcwd.c: if cpu has overheated, we want to shutdown, not panic.
Based on a patch from Tariq Shureih <tariq@linux.co.intel.com>

23 years ago[netdrvr arlan] fix the fixed fix. really.
Jeff Garzik [Wed, 12 Feb 2003 21:29:43 +0000 (16:29 -0500)]
[netdrvr arlan] fix the fixed fix. really.

struct arlan_private clearly needs to be a pointer.

23 years ago[netdrvr tg3] DMA MRM bit only exists on 5700, 5701
Jeff Garzik [Wed, 12 Feb 2003 20:53:08 +0000 (15:53 -0500)]
[netdrvr tg3] DMA MRM bit only exists on 5700, 5701

Fixed by David Miller, spotted by Manish Lachwani.

23 years ago[netdrvr amd8111e] remove stray ';', fixing register dump [#311]
Jeff Garzik [Wed, 12 Feb 2003 20:25:32 +0000 (15:25 -0500)]
[netdrvr amd8111e] remove stray ';', fixing register dump [#311]

Fixes bugzilla bug #311.

23 years ago[tokenring smctr] remove stray ';' that prevented a loop from working [#312]
Jeff Garzik [Wed, 12 Feb 2003 20:23:46 +0000 (15:23 -0500)]
[tokenring smctr] remove stray ';' that prevented a loop from working [#312]

Fixes broken node address check, and bugzilla bug #312.

23 years ago[netdrvr fc/iphase] correct PCI probe loop-end test logic [#323]
Jeff Garzik [Wed, 12 Feb 2003 20:21:13 +0000 (15:21 -0500)]
[netdrvr fc/iphase] correct PCI probe loop-end test logic [#323]

Fixes bugzilla bug #323.

23 years ago[IPSEC]: Mark pfkey_sadb_addr2xfrm_addr static again.
David S. Miller [Wed, 12 Feb 2003 20:18:17 +0000 (12:18 -0800)]
[IPSEC]: Mark pfkey_sadb_addr2xfrm_addr static again.

23 years ago[IPSEC]: Fix af_key.c build.
David S. Miller [Wed, 12 Feb 2003 17:58:21 +0000 (09:58 -0800)]
[IPSEC]: Fix af_key.c build.

23 years ago[IPSEC]: ipv6_syms needs net/xfrm.h
David S. Miller [Wed, 12 Feb 2003 17:37:01 +0000 (09:37 -0800)]
[IPSEC]: ipv6_syms needs net/xfrm.h

23 years ago[IPSEC]: Add ipv6 support infrastructure.
Kunihiro Ishiguro [Wed, 12 Feb 2003 17:26:55 +0000 (09:26 -0800)]
[IPSEC]: Add ipv6 support infrastructure.

23 years ago[IPSEC]: Fix mis-patch of previous changes.
David S. Miller [Wed, 12 Feb 2003 16:23:12 +0000 (08:23 -0800)]
[IPSEC]: Fix mis-patch of previous changes.

23 years agoMerge kernel.bkbits.net:/home/repos/linux-2.5
Vojtech Pavlik [Wed, 12 Feb 2003 16:19:51 +0000 (08:19 -0800)]
Merge kernel.bkbits.net:/home/repos/linux-2.5
into kernel.bkbits.net:/home/vojtech/input

23 years ago[IPSEC] Make sure SADB_X_SPDADD messages have proper spid.
Tom Lendacky [Wed, 12 Feb 2003 15:01:36 +0000 (07:01 -0800)]
[IPSEC] Make sure SADB_X_SPDADD messages have proper spid.

23 years ago[IPSEC]: Add missed bit of sin_zero fix.
David S. Miller [Wed, 12 Feb 2003 14:50:06 +0000 (06:50 -0800)]
[IPSEC]: Add missed bit of sin_zero fix.

23 years ago[IPSEC]: Make sure to clear sin_zero in AF_KEY.
Tom Lendacky [Wed, 12 Feb 2003 14:47:19 +0000 (06:47 -0800)]
[IPSEC]: Make sure to clear sin_zero in AF_KEY.

23 years ago[IPSEC]: Make AF_KEY allow NULL encryption.
Joy Latten [Wed, 12 Feb 2003 14:36:52 +0000 (06:36 -0800)]
[IPSEC]: Make AF_KEY allow NULL encryption.

23 years ago[PATCH] C99 initializers for net/irda/irsysctl.c
Art Haas [Wed, 12 Feb 2003 13:53:33 +0000 (05:53 -0800)]
[PATCH] C99 initializers for net/irda/irsysctl.c

23 years ago[PATCH] C99 initializers for net/ax25/sysctl_net_ax25.c
Art Haas [Wed, 12 Feb 2003 13:52:59 +0000 (05:52 -0800)]
[PATCH] C99 initializers for net/ax25/sysctl_net_ax25.c

23 years ago[PATCH] C99 initializers for net/ipv6/netfilter/ip6_queue.c
Art Haas [Wed, 12 Feb 2003 13:52:21 +0000 (05:52 -0800)]
[PATCH] C99 initializers for net/ipv6/netfilter/ip6_queue.c

23 years ago[PATCH] C99 initializers for net/sctp/sysctl.c
Art Haas [Wed, 12 Feb 2003 13:51:39 +0000 (05:51 -0800)]
[PATCH] C99 initializers for net/sctp/sysctl.c

23 years ago[PATCH] C99 initializers for net/ipv4/netfilter files
Art Haas [Wed, 12 Feb 2003 13:50:59 +0000 (05:50 -0800)]
[PATCH] C99 initializers for net/ipv4/netfilter files

23 years ago[PATCH] C99 initializers for net/unix/sysctl_net_unix.c
Art Haas [Wed, 12 Feb 2003 13:50:12 +0000 (05:50 -0800)]
[PATCH] C99 initializers for net/unix/sysctl_net_unix.c

23 years ago[PATCH] C99 initializers for net/sunrpc/sysctl.c
Art Haas [Wed, 12 Feb 2003 13:49:25 +0000 (05:49 -0800)]
[PATCH] C99 initializers for net/sunrpc/sysctl.c

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Wed, 12 Feb 2003 13:43:36 +0000 (05:43 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[SUNZILOG]: Fix off-by-1 in spinlock initialization loop.
Pete Zaitcev [Wed, 12 Feb 2003 13:39:43 +0000 (05:39 -0800)]
[SUNZILOG]: Fix off-by-1 in spinlock initialization loop.

23 years agoMerge bk://kernel.bkbits.net/acme/sparc-2.5
David S. Miller [Wed, 12 Feb 2003 13:38:12 +0000 (05:38 -0800)]
Merge bk://kernel.bkbits.net/acme/sparc-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years ago[SUNZILOG]: fix DEVFS device name
Arnaldo Carvalho de Melo [Wed, 12 Feb 2003 19:51:03 +0000 (17:51 -0200)]
[SUNZILOG]: fix DEVFS device name

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Wed, 12 Feb 2003 13:32:32 +0000 (05:32 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years agoinput: sunkbd.c - fix reading beyond end of keycode array.
Vojtech Pavlik [Wed, 12 Feb 2003 12:09:03 +0000 (13:09 +0100)]
input: sunkbd.c - fix reading beyond end of keycode array.

23 years agoinput: Add two new serio type #defines
Vojtech Pavlik [Wed, 12 Feb 2003 12:08:24 +0000 (13:08 +0100)]
input: Add two new serio type #defines

23 years agoinput: Resurrect usb_set_report for Aiptek and Wacom tablets.
Vojtech Pavlik [Wed, 12 Feb 2003 12:07:29 +0000 (13:07 +0100)]
input: Resurrect usb_set_report for Aiptek and Wacom tablets.

23 years agoinput: PowerMate driver update
William R. Sowerbutts [Wed, 12 Feb 2003 12:06:34 +0000 (13:06 +0100)]
input: PowerMate driver update
- work around an undocumented firmware bug
- fix handling of LED brightness

23 years agoinput: Add support for ThrustMaster ForceFeedback USB HID devices.
Zinx Verituse [Wed, 12 Feb 2003 12:05:06 +0000 (13:05 +0100)]
input: Add support for ThrustMaster ForceFeedback USB HID devices.

23 years agoinput: Give preferential treatment to gameport at 0x201, and use
Vojtech Pavlik [Wed, 12 Feb 2003 12:03:11 +0000 (13:03 +0100)]
input: Give preferential treatment to gameport at 0x201, and use
  the odd addresses for access.

23 years agoinput.c: joydev/mousedev update
Vojtech Pavlik [Wed, 12 Feb 2003 12:02:12 +0000 (13:02 +0100)]
input.c: joydev/mousedev update
- relax requirements on devices, joydev now allows joysticks
  without buttons to work with throttles and pedals, mousedev
  allows a separate mouse wheel
- remove a stray semicolon in joydev

23 years agoinput: HID update
Vojtech Pavlik [Wed, 12 Feb 2003 11:55:13 +0000 (12:55 +0100)]
input: HID update
- Fix a bad #define for HID_QUIRK_BADPAD
- Set absfuzz and absflat for joysticks/gamepads only
- Add TangTop quirk

23 years agoinput: Support for NEC PC-9800 beeper and support for Kana Lock LED.
Osamu Tomita [Wed, 12 Feb 2003 11:49:26 +0000 (12:49 +0100)]
input: Support for NEC PC-9800 beeper and support for Kana Lock LED.

23 years agoinput: Get rid of the kbd_pt_regs variable, and instead pass the
Vojtech Pavlik [Wed, 12 Feb 2003 11:41:07 +0000 (12:41 +0100)]
input: Get rid of the kbd_pt_regs variable, and instead pass the
value all the way from an interrupt handler to keyboard.c
that can display it.

23 years agoinput: Let newly connected keyboards pickup the LED state.
Pete Zaitcev [Wed, 12 Feb 2003 11:35:04 +0000 (12:35 +0100)]
input: Let newly connected keyboards pickup the LED state.

23 years agoinput: Only generate rawmode warnings if the event we cannot handle
Vojtech Pavlik [Wed, 12 Feb 2003 11:31:13 +0000 (12:31 +0100)]
input: Only generate rawmode warnings if the event we cannot handle
is a real key and not just a button or something.

23 years agoinput: Remove include/linux/pc_keyb.h and old PS/2 code
James Simmons [Wed, 12 Feb 2003 11:28:17 +0000 (12:28 +0100)]
input: Remove include/linux/pc_keyb.h and old PS/2 code
from drivers/char/misc.c

23 years agoinput: Update AT+PS/2 mouse and keyboard drivers:
Vojtech Pavlik [Wed, 12 Feb 2003 11:24:25 +0000 (12:24 +0100)]
input: Update AT+PS/2 mouse and keyboard drivers:
- Fix a possible deadlock with 0xfe resend command (atkbd)
- Make ->ack variables volatile (they're updated from irq)
- Fix the GETID one/two byte command to avoid any races
- Fix Logitech PS2++ extended packet detection
- Use RESET_BAT on reboot to make notebooks happy

23 years ago[PATCH] printk size_t qualifier confusion
Andrew Morton [Wed, 12 Feb 2003 05:38:37 +0000 (21:38 -0800)]
[PATCH] printk size_t qualifier confusion

My printf manpage says:

       z      A  following  integer  conversion  corresponds to a
              size_t or ssize_t argument. (Linux libc5 has Z with
              this meaning. Don't use it.)

And the opengroup spec says

z Specifies that a following d , i , o , u , x , or X conversion specifier
  applies to a size_t or the corresponding signed integer type argument; or
  that a following n conversion specifier applies to a pointer to a signed
  integer type corresponding to a size_t argument.

yet our vsnprintf implementation has

/* 'z' support added 23/7/1999 S.H.    */
/* 'z' changed to 'Z' --davidm 1/25/99 */

I guess the path of least surprise is to support both.  gcc-3.2.1 doesn't
  seem to care.

23 years ago[PATCH] fix adaptec diagnostics for ppc64
Andrew Morton [Wed, 12 Feb 2003 05:17:21 +0000 (21:17 -0800)]
[PATCH] fix adaptec diagnostics for ppc64

The return type of sizeof() is size_t.  On many architectrues size_t is
unsigned long, and may not be printed with %d.  Use %Zu instead.

23 years ago[PATCH] u14-34f fix
Andrew Morton [Wed, 12 Feb 2003 05:09:17 +0000 (21:09 -0800)]
[PATCH] u14-34f fix

Need to reenable interrupts around the call to scsi_register(), which blocks.

23 years ago[PATCH] MAP_FIXED|MAP_ANON crash fix
Andrew Morton [Wed, 12 Feb 2003 05:09:05 +0000 (21:09 -0800)]
[PATCH] MAP_FIXED|MAP_ANON crash fix

An anonymous fixed mmap with CONFIG_HUGETLB_PAGE=y will dereference NULL.  We
recur into the pagefault handler with mmap_sem held and lock up.

23 years ago[PATCH] epoll timeout and syscall return types
Andrew Morton [Wed, 12 Feb 2003 05:08:51 +0000 (21:08 -0800)]
[PATCH] epoll timeout and syscall return types

Patch from Davide Libenzi <davidel@xmailserver.org>

Changes :
 - Timeout overflow check
 - Ceil()ing of ms->jif conversion
 - Syscalls return type int->long

23 years ago[PATCH] OSS CS4232 locking fixes
Andrew Morton [Wed, 12 Feb 2003 05:08:37 +0000 (21:08 -0800)]
[PATCH] OSS CS4232 locking fixes

Patch from: Peter Waechtler <pwaechtler@mac.com>

Addresses BUGME bug #331.  "OSS CS4232 nasty spinlock printks on boot"

The locking in some OSS modules is really lousy.
Because save_flags/cli/restore_flags could be used recursivly - the
programmers pushed the locking too far the lower level.

Because on ISA cards the register sets are usually multiplexed
you had to write to an address latch and then access the data port
in an "atomic" manner.

I suggest removing the locking from ad_read/ad_write +
ad_{enter|leave}_MCE and clamping the locks wherever the functions
are called. I hope the attached patch does that correctly.

Yes, I don't like all the timeout loops while holding the locks:
high chances that a cpu is spinning in interrupt context :(

23 years ago[PATCH] fix fadvise64() return type
Andrew Morton [Wed, 12 Feb 2003 05:08:24 +0000 (21:08 -0800)]
[PATCH] fix fadvise64() return type

Patch from: David Mosberger <davidm@napali.hpl.hp.com>

Please remember to declare the return-type of syscall stubs as "long".
On 64-bit platforms, it's generally necessary to ensure that the
entire 64-bit return value is valid (and can be checked against
negative values).

23 years ago[PATCH] drivers/media/video/saa5249.c compile fix
Andrew Morton [Wed, 12 Feb 2003 05:08:11 +0000 (21:08 -0800)]
[PATCH] drivers/media/video/saa5249.c compile fix

Patch from: Frank Davis <fdavis@si.rr.com>

The following addresses bugzilla bug # 340.

23 years ago[PATCH] Make drivers/media/video/saa7110.c compile
Andrew Morton [Wed, 12 Feb 2003 05:08:00 +0000 (21:08 -0800)]
[PATCH] Make drivers/media/video/saa7110.c compile

Patch from: Frank Davis <fdavis@si.rr.com>

The following patch addresses bugzilla bug # 341.

23 years ago[PATCH] Allow summit kernels to boot on normal systems
Andrew Morton [Wed, 12 Feb 2003 05:07:46 +0000 (21:07 -0800)]
[PATCH] Allow summit kernels to boot on normal systems

Patch from: john stultz <johnstul@us.ibm.com>

This patch simply fixes the summit subarch to allow summit kernels to
boot on normal systems.

23 years ago[PATCH] make drivers/net/arlan.c compile again
Andrew Morton [Wed, 12 Feb 2003 05:07:32 +0000 (21:07 -0800)]
[PATCH] make drivers/net/arlan.c compile again

Someone typed `config' when they meant `conf'.

Also fix a function-defined-but-not-used warning.

23 years ago[PATCH] EATA driver fix
Andrew Morton [Wed, 12 Feb 2003 05:07:17 +0000 (21:07 -0800)]
[PATCH] EATA driver fix

This driver is calling down into scsi_register with local interrupts
disabled.  scsi_register performs blocking allocations, starts kernel
threads, etc.  slab debugging gets offended by someone performing blocking
operations with local interrupts disabled.