]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] put module license in swim3.c
Andrew Morton [Wed, 19 May 2004 09:32:57 +0000 (02:32 -0700)]
[PATCH] put module license in swim3.c

From: Paul Mackerras <paulus@samba.org>

This patch adds module tags for the swim3 (macintosh floppy) driver.

22 years ago[PATCH] blk_run_page() race fix
Andrew Morton [Wed, 19 May 2004 09:32:47 +0000 (02:32 -0700)]
[PATCH] blk_run_page() race fix

blk_run_page() is incorrectly using page->mapping, which makes it racy against
removal from swapcache.

Make block_sync_page() use page_mapping(), and remove bkl_run_page(), which
only had one caller.

22 years ago[PATCH] system_state splitup
Andrew Morton [Wed, 19 May 2004 09:32:36 +0000 (02:32 -0700)]
[PATCH] system_state splitup

Split the system_state state `SYSTEM_SHUTDOWN' into SYSTEM_HALT,
SYSTEM_POWER_OFF and SYSTEM_RESTART and export system_state to modules.

This allows driver shutdown routines to know why they are being shutdown.  The
IDE subsystem wants this so that it knows to not spin the disks down across a
reboot.

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.6
Linus Torvalds [Wed, 19 May 2004 02:41:52 +0000 (19:41 -0700)]
Merge bk://gkernel.bkbits.net/net-drivers-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] alpha fp-emu vs module refcounting
Richard Henderson [Wed, 19 May 2004 02:36:53 +0000 (19:36 -0700)]
[PATCH] alpha fp-emu vs module refcounting

From: Ivan Kokshaysky <ink@jurassic.park.msu.ru>

This allows building the math-emu code as a module only when
CONFIG_SMP is not set. The fp trap handler cannot be preempted
on a single-CPU (as CONFIG_PREEMPT is not going to be supported
on alpha), so the module can be safely unloaded at any time.

22 years agoShorten some PCI device names
Linus Torvalds [Wed, 19 May 2004 01:39:10 +0000 (18:39 -0700)]
Shorten some PCI device names

Avoid warnings about truncating them when building the
name database.

22 years agoFixed mismerge of cpufreq and pcmcia updates
Linus Torvalds [Wed, 19 May 2004 01:03:11 +0000 (18:03 -0700)]
Fixed mismerge of cpufreq and pcmcia updates

22 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Wed, 19 May 2004 00:56:17 +0000 (17:56 -0700)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge
Linus Torvalds [Wed, 19 May 2004 00:54:10 +0000 (17:54 -0700)]
Merge

22 years ago[PATCH] ide.c: use less stack in ide_unregister()
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:42:01 +0000 (17:42 -0700)]
[PATCH] ide.c: use less stack in ide_unregister()

From: Chris Wedgwood <cw@f00f.org>

Seperate function, cruft removed and old_hwif
renamed to something less confusing.

22 years ago[PATCH] H8/300 IDE support update
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:41:51 +0000 (17:41 -0700)]
[PATCH] H8/300 IDE support update

From: Yoshinori Sato <ysato@users.sourceforge.jp>

With minor fixes from me

22 years ago[PATCH] Fix reiserfs inode size update race
Chris Mason [Wed, 19 May 2004 00:18:07 +0000 (17:18 -0700)]
[PATCH] Fix reiserfs inode size update race

reiserfs_file_write unlocks the pages it operated on before updating
i_size.  This can lead to races with writepage, who checks i_size when
deciding how much of the file to zero out.

This patch also replaces SetPageReferenced with mark_page_accessed() in
reiserfs_file_write

This was verified to fix the BitKeeper data corruption problems that
Steven Cole has been debugging, where concurrent writes to a file and
writebacks to disk would cause zeroes in the file when CONFIG_PREEMPT
was enabled.

22 years ago[PATCH] ARM/ARM26 IDE cleanups
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:14:44 +0000 (17:14 -0700)]
[PATCH] ARM/ARM26 IDE cleanups

- clear hwif->hw in setup-pci.c before using it

- fix arch/arm/Kconfig to allow IDE only on platforms supporting it

- introduce IDE_ARCH_OBSOLETE_INIT and ide_default_io_ctl() so
  we can use generic ide_init_hwif_ports() and kill no longer needed
  <asm-arm/arch-*/ide.h> (leave broken lh7a40x and sa1100 versions)

Cross-compile tested on ARM.

22 years ago[PATCH] add default ARM/ARM26 IDE host driver
Bartlomiej Zolnierkiewicz [Wed, 19 May 2004 00:14:31 +0000 (17:14 -0700)]
[PATCH] add default ARM/ARM26 IDE host driver

Add drivers/ide/arm/ide_arm.c for simple default IDE interfaces
and clean obsolete ide_init_default_hwifs() implementations
in asm-arm/arch-{cl7500,rpc,shark}/ide.h and asm-arm26/ide.h.

This allows us to kill ide_init_default_hwifs() completely
in the next patch (because lh7a40x and sa1100 are broken).

Cross-compile tested on ARM.

22 years ago[PATCH] e100: netdev->priv to netdev_priv()
Scott Feldman [Tue, 18 May 2004 16:40:13 +0000 (12:40 -0400)]
[PATCH] e100: netdev->priv to netdev_priv()

* Convert all netdev->priv references to the fancy new netdev_priv().

22 years ago[PATCH] e100: big-endian fix for ethtool -e/E
Scott Feldman [Tue, 18 May 2004 16:40:05 +0000 (12:40 -0400)]
[PATCH] e100: big-endian fix for ethtool -e/E

* Reads/writes from/to eeprom using ethtool weren't working right
  on big-endian.  Now they are.

22 years ago[PATCH] e100: fix for incoherent arches
Scott Feldman [Tue, 18 May 2004 16:39:57 +0000 (12:39 -0400)]
[PATCH] e100: fix for incoherent arches

* Changed mapping on Rx skb to bi-directional.  skb->data holds both the
  RFD structure and the packet data, and the RFD is read/written by
  HW.  Issue found on Xscale HW that doesn't handle cache syncs auto-
  matically.  Other changes in patch are whitespace/spelling.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Tue, 18 May 2004 15:39:33 +0000 (08:39 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agodo not recurse into the filesystem allocating sk buffs
Steve French [Tue, 18 May 2004 15:37:06 +0000 (10:37 -0500)]
do not recurse into the filesystem allocating sk buffs

22 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Tue, 18 May 2004 15:30:07 +0000 (08:30 -0700)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Tue, 18 May 2004 15:24:29 +0000 (08:24 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM] Initialise an uninitialised spinlock.
Russell King [Tue, 18 May 2004 22:39:02 +0000 (23:39 +0100)]
[ARM] Initialise an uninitialised spinlock.

22 years ago[PATCH] Fix incorrect PT_FPSCR definition
Paul Mackerras [Tue, 18 May 2004 15:07:43 +0000 (08:07 -0700)]
[PATCH] Fix incorrect PT_FPSCR definition

Bryan Rosenburg pointed out that the definition of PT_FPSCR in
include/asm-ppc64/ptrace.h is wrong.  The patch below fixes it.

22 years ago[PATCH] i2o: reorder of fields in i2o_cmd_passthru structure
Andrew Morton [Tue, 18 May 2004 15:07:16 +0000 (08:07 -0700)]
[PATCH] i2o: reorder of fields in i2o_cmd_passthru structure

From: Markus Lidel <Markus.Lidel@shadowconnect.com>

I have made a mistake in the kernel header i2o-dev.h.  All structures there
begin with the "iop" first, but in my structure the order is reversed.

22 years ago[PATCH] md: Fix user-after-free bug in multipath
Andrew Morton [Tue, 18 May 2004 15:07:06 +0000 (08:07 -0700)]
[PATCH] md: Fix user-after-free bug in multipath

From: NeilBrown <neilb@cse.unsw.edu.au>

If mddev->thread is non-null later, it gets used.

22 years ago[PATCH] ppc64: add device tree pointer for vio devices
Andrew Morton [Tue, 18 May 2004 15:02:57 +0000 (08:02 -0700)]
[PATCH] ppc64: add device tree pointer for vio devices

From: Anton Blanchard <anton@samba.org>

From: Olaf Hering

Provide pointer into the device-tree for vio devices.

22 years ago[PATCH] ppc64: more required exports
Andrew Morton [Tue, 18 May 2004 15:02:46 +0000 (08:02 -0700)]
[PATCH] ppc64: more required exports

From: Anton Blanchard <anton@samba.org>

IBM veth uses these symbols.

22 years ago[PATCH] ppc64: correct return code in iommu_alloc_consistent
Andrew Morton [Tue, 18 May 2004 15:02:36 +0000 (08:02 -0700)]
[PATCH] ppc64: correct return code in iommu_alloc_consistent

From: Anton Blanchard <anton@samba.org>

From: Olof Johansson

iommu_alloc_consistent should return NULL on failure.

22 years ago[PATCH] ppc64: Make PMC6 spin
Andrew Morton [Tue, 18 May 2004 15:02:25 +0000 (08:02 -0700)]
[PATCH] ppc64: Make PMC6 spin

From: Anton Blanchard <anton@samba.org>

Make PMC6 spin on POWER5 boxes.

22 years ago[PATCH] ppc64: oprofile fixes
Andrew Morton [Tue, 18 May 2004 15:02:14 +0000 (08:02 -0700)]
[PATCH] ppc64: oprofile fixes

From: Anton Blanchard <anton@samba.org>

- support newer 970 and POWER5 chips.

- use new SIHV/SIPR bits on POWER5.

- fix oops at shutdown.

22 years ago[PATCH] ppc64: 4GB firmware flash fix
Andrew Morton [Tue, 18 May 2004 15:02:03 +0000 (08:02 -0700)]
[PATCH] ppc64: 4GB firmware flash fix

From: Anton Blanchard <anton@samba.org>

From: Jake Moilanen

We want to make sure flash list is above 4 gigs, not 4 megs.

22 years ago[PATCH] ppc64: fix rtas flash driver
Andrew Morton [Tue, 18 May 2004 15:01:52 +0000 (08:01 -0700)]
[PATCH] ppc64: fix rtas flash driver

From: Anton Blanchard <anton@samba.org>

From: John Rose <johnrose@austin.ibm.com>

Please apply the following, which fixes a typo that prevents the creation of
the manage_flash /proc file.

22 years ago[PATCH] ppc64: fix error return in mf_proc
Andrew Morton [Tue, 18 May 2004 15:01:41 +0000 (08:01 -0700)]
[PATCH] ppc64: fix error return in mf_proc

From: Anton Blanchard <anton@samba.org>

This patch was submitted by Olaf Hering to fix mf_proc.c where it does not
return error values correctly.

22 years ago[PATCH] ppc64: add stack overflow detection
Andrew Morton [Tue, 18 May 2004 15:01:30 +0000 (08:01 -0700)]
[PATCH] ppc64: add stack overflow detection

From: Anton Blanchard <anton@samba.org>

I only got iseries first time around.  Add CONFIG_DEBUG_STACKOVERFLOW for
pseries/pmac too.

22 years ago[PATCH] ppc64: fix rtas error log location
Andrew Morton [Tue, 18 May 2004 15:01:15 +0000 (08:01 -0700)]
[PATCH] ppc64: fix rtas error log location

From: Anton Blanchard <anton@samba.org>

From: Nathan Lynch <nathanl@austin.ibm.com>

Somehow we've been placing the rtas error_log file at /proc/ppc64/error_log,
which breaks at least one application I know of.  It is supposed to be at
/proc/ppc64/rtas/error_log (this is the 2.4 behavior).

22 years ago[PATCH] ppc64: fix rtas error log length
Andrew Morton [Tue, 18 May 2004 15:01:02 +0000 (08:01 -0700)]
[PATCH] ppc64: fix rtas error log length

From: Anton Blanchard <anton@samba.org>

From: Jake Moilanen

Fix for not vmalloc'n space for the sequence number in rtas_log_buf.

22 years ago[PATCH] ppc32: PPC4xx fixes
Andrew Morton [Tue, 18 May 2004 15:00:49 +0000 (08:00 -0700)]
[PATCH] ppc32: PPC4xx fixes

From: Matt Porter <mporter@kernel.crashing.org>

Fixes 440GX UIC code, updates 440GX PVRs, and fixes a typo.

22 years ago[PATCH] ppc32: Fix ocp_register_driver() return value
Andrew Morton [Tue, 18 May 2004 15:00:40 +0000 (08:00 -0700)]
[PATCH] ppc32: Fix ocp_register_driver() return value

From: Matt Porter <mporter@kernel.crashing.org>

Fixes return value from ocp_register_driver().

22 years ago[PATCH] ppc32: some fixes for 'make O=...'
Andrew Morton [Tue, 18 May 2004 15:00:29 +0000 (08:00 -0700)]
[PATCH] ppc32: some fixes for 'make O=...'

From: Tom Rini <trini@kernel.crashing.org>

From: Geoffrey LEVAND <geoffrey.levand@am.sony.com>

Fix some of the problems with 'make O=...'

Ack'd by Sam Ravnborg.

22 years ago[PATCH] ppc32: remove 'mem_pieces_append'
Andrew Morton [Tue, 18 May 2004 15:00:19 +0000 (08:00 -0700)]
[PATCH] ppc32: remove 'mem_pieces_append'

From: Tom Rini <trini@kernel.crashing.org>

From: Fabian.Frederick <Fabian.Frederick&prov-liege.be>

Remove mem_pieces_append, it is never used.

22 years ago[PATCH] ppc32: update Motorola LoPEC and Sandpoint defconfigs
Andrew Morton [Tue, 18 May 2004 15:00:08 +0000 (08:00 -0700)]
[PATCH] ppc32: update Motorola LoPEC and Sandpoint defconfigs

From: Tom Rini <trini@kernel.crashing.org>

Update the Motorola LoPEC and Sandpoint config files.

22 years ago[PATCH] ppc32: fix MOD_{INC,DEC}_USE_COUNT abuse in 4xx/8xx code
Andrew Morton [Tue, 18 May 2004 14:59:56 +0000 (07:59 -0700)]
[PATCH] ppc32: fix MOD_{INC,DEC}_USE_COUNT abuse in 4xx/8xx code

From: Christoph Hellwig <hch@lst.de>

Note that most of the drivers are in a compiling shape currently, but I
want to get rid of the last callers of those.

(acked by Tom Rini)

22 years ago[PATCH] ppc32: update defconfigs
Andrew Morton [Tue, 18 May 2004 14:59:45 +0000 (07:59 -0700)]
[PATCH] ppc32: update defconfigs

From: Paul Mackerras <paulus@samba.org>

This patch updates several of the ppc32 defconfigs.

22 years ago[PATCH] ppc32: Handle altivec assist exception properly
Andrew Morton [Tue, 18 May 2004 14:59:34 +0000 (07:59 -0700)]
[PATCH] ppc32: Handle altivec assist exception properly

From: Paul Mackerras <paulus@samba.org>

On machines with Altivec (i.e.  G4 and G5 processors), the altivec
floating-point instructions can operate in two modes: one where
denormalized inputs or outputs are truncated to zero, and one where they
aren't.  In the latter mode the processor can take an exception when it
encounters denormalized floating-point inputs or outputs rather than
dealing with them in hardware.

This patch adds code to deal properly with the exception, by emulating the
instruction that caused the exception.  Previously the kernel just switched
the altivec unit into the truncate-to-zero mode, which works but is a bit
gross.  Fortunately there are only a limited set of altivec instructions
which can generate the assist exception, so we don't have to emulate the
whole altivec instruction set.

This patch also makes sure that we always have a handler for the altivec
unavailable exception.  Without this, if you run a kernel that is not
configured for altivec support on a machine with altivec, it works fine
until a user process tries to execute an altivec instruction.  At that
point the kernel thinks it has taken an unknown exception and panics.  With
this patch it sends a SIGILL to the process instead.

22 years ago[PATCH] ppc32: some whitespace fixes
Andrew Morton [Tue, 18 May 2004 14:59:23 +0000 (07:59 -0700)]
[PATCH] ppc32: some whitespace fixes

From: Paul Mackerras <paulus@samba.org>

This patch does nothing but fix up whitespace in three files in arch/ppc.
It deletes trailing blanks and tabs in several places and joins two lines
that didn't need to be split.

22 years ago[PATCH] ppc32: IBM PowerPC 750GX Support
Andrew Morton [Tue, 18 May 2004 14:59:11 +0000 (07:59 -0700)]
[PATCH] ppc32: IBM PowerPC 750GX Support

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>

From: Bryan Rittmeyer <bryan@staidm.org>

This patch adds preliminary support for the IBM PowerPC 750GX.  In summary
this part is a PPC750FX ramped to 1 GHz with a 1MB 4-way L2 and more
advanced I/O pipelining.  It is beginning to appear in embedded systems and
was rumored to be under evaluation inside Apple.  Tested on PVR 70020101;
please merge.

http://www-3.ibm.com/chips/techlib/techlib.nsf/products/PowerPC_750GX_Microprocessor

22 years agoSome more misc wait_ms() conversions to use msleep()
Greg Kroah-Hartman [Tue, 18 May 2004 09:56:06 +0000 (02:56 -0700)]
Some more misc wait_ms() conversions to use msleep()

22 years agoInput: remove wait_ms() in place of using msleep()
Greg Kroah-Hartman [Tue, 18 May 2004 09:51:33 +0000 (02:51 -0700)]
Input: remove wait_ms() in place of using msleep()

22 years agoI2C: change i2c_delay() to use msleep() instead.
Greg Kroah-Hartman [Tue, 18 May 2004 09:00:39 +0000 (02:00 -0700)]
I2C: change i2c_delay() to use msleep() instead.

22 years agoUSB: remove wait_ms() from usb.h as it's no longer needed.
Greg Kroah-Hartman [Tue, 18 May 2004 09:00:04 +0000 (02:00 -0700)]
USB: remove wait_ms() from usb.h as it's no longer needed.

22 years agoUSB: remove ehci and ohci's private sleep function and use msleep() instead.
Greg Kroah-Hartman [Tue, 18 May 2004 08:58:57 +0000 (01:58 -0700)]
USB: remove ehci and ohci's private sleep function and use msleep() instead.

22 years agoUSB: clean up usages of wait_ms() now that we have msleep()
Greg Kroah-Hartman [Tue, 18 May 2004 08:57:20 +0000 (01:57 -0700)]
USB: clean up usages of wait_ms() now that we have msleep()

22 years agoUSB: remove usb_uninterruptible_sleep_ms() now that we have msleep()
Greg Kroah-Hartman [Tue, 18 May 2004 08:56:35 +0000 (01:56 -0700)]
USB: remove usb_uninterruptible_sleep_ms() now that we have msleep()

22 years agoRemove libata's version of msleep()
Greg Kroah-Hartman [Tue, 18 May 2004 08:55:19 +0000 (01:55 -0700)]
Remove libata's version of msleep()

22 years agoDelete block/carmel.c's version of msleep()
Greg Kroah-Hartman [Tue, 18 May 2004 08:51:44 +0000 (01:51 -0700)]
Delete block/carmel.c's version of msleep()

22 years agoAdd msleep function to the kernel core to prevent duplication.
Greg Kroah-Hartman [Tue, 18 May 2004 08:49:36 +0000 (01:49 -0700)]
Add msleep function to the kernel core to prevent duplication.

22 years agoResolve merge conflicts.
David S. Miller [Tue, 18 May 2004 08:03:47 +0000 (01:03 -0700)]
Resolve merge conflicts.

22 years agoFix merge conflicts.
David S. Miller [Tue, 18 May 2004 05:49:51 +0000 (22:49 -0700)]
Fix merge conflicts.

22 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Tue, 18 May 2004 00:39:21 +0000 (17:39 -0700)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agofree mempool in correct order
Steve French [Mon, 17 May 2004 17:44:28 +0000 (12:44 -0500)]
free mempool in correct order

22 years agoswitch to mempools for cifs request buf and mid allocation to avoid deadlocks in...
Steve French [Mon, 17 May 2004 16:53:34 +0000 (11:53 -0500)]
switch to mempools for cifs request buf and mid allocation to avoid deadlocks in out of memory conditions

22 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 17 May 2004 15:55:19 +0000 (08:55 -0700)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

22 years ago[PATCH] ppc64: fix non-SMP build break
Olof Johansson [Mon, 17 May 2004 14:12:36 +0000 (07:12 -0700)]
[PATCH] ppc64: fix non-SMP build break

arch/ppc64/lib/locks.c was recently added by Paulus' lock rewrite. It's
always compiled, which breaks non-SMP builds. Below patch makes it depend
on CONFIG_SMP.

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
Linus Torvalds [Mon, 17 May 2004 12:20:19 +0000 (05:20 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
Linus Torvalds [Mon, 17 May 2004 09:51:13 +0000 (02:51 -0700)]
Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agomerge
Greg Kroah-Hartman [Mon, 17 May 2004 09:44:49 +0000 (02:44 -0700)]
merge

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Mon, 17 May 2004 09:19:41 +0000 (02:19 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

22 years agoPCI Hotplug: clean up a lot of global symbols that do not need to be.
Greg Kroah-Hartman [Mon, 17 May 2004 09:08:02 +0000 (02:08 -0700)]
PCI Hotplug: clean up a lot of global symbols that do not need to be.

22 years agoUSB: fix up formatting issues with aiptek driver
Greg Kroah-Hartman [Mon, 17 May 2004 08:58:40 +0000 (01:58 -0700)]
USB: fix up formatting issues with aiptek driver

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Mon, 17 May 2004 08:52:19 +0000 (01:52 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
Russell King [Tue, 18 May 2004 00:06:50 +0000 (01:06 +0100)]
Merge bk://dsaxena.bkbits.net/linux-2.6-for-rmk
into flint.arm.linux.org.uk:/usr/src/bk/linux-2.6-rmk

22 years ago[ARM] Add linux/module.h include for ioremap.
Russell King [Mon, 17 May 2004 23:46:10 +0000 (00:46 +0100)]
[ARM] Add linux/module.h include for ioremap.

22 years ago[ARM] Update atomic.h
Russell King [Mon, 17 May 2004 23:28:23 +0000 (00:28 +0100)]
[ARM] Update atomic.h

This re-jigs atomic.h by providing atomic_add_return and
atomic_sub_return as other architectures do.  This allows us to
implement the atomic ops that test the new value without having
to write the underlying atomic operation in various forms.

22 years ago[ARM] Fix use of page->count
Ian Campbell [Mon, 17 May 2004 21:02:14 +0000 (22:02 +0100)]
[ARM] Fix use of page->count

Patch from: Ian Campbell

This changes the atomic_t in struct page named count into a private
member _count which breaks arch/arm/mm/init.c at line 80 which reads
page->count directly in show_mem().

The comments in the above changeset suggest that page_count(page) is
precisely equal to the old page->count semantics, even though the
semantics of _count are different, so I think the following is correct

22 years agoUSB: fix dumb compile error in aiptek driver
Greg Kroah-Hartman [Mon, 17 May 2004 08:37:07 +0000 (01:37 -0700)]
USB: fix dumb compile error in aiptek driver

Doesn't anyone ever actually build the patches they send me...

22 years ago[PATCH] USB: purge wait_ms from core
Oliver Neukum [Mon, 17 May 2004 08:35:00 +0000 (01:35 -0700)]
[PATCH] USB: purge wait_ms from core

this makes the core use the new safe waiting helper.

  - remove wait_ms from hub driver

22 years ago[PATCH] USB: new delay helper safe wrt waitqueues
Oliver Neukum [Mon, 17 May 2004 08:34:21 +0000 (01:34 -0700)]
[PATCH] USB: new delay helper safe wrt waitqueues

this is a new waiting helper safe even if we are left on a waitqueue.
This version addresses Alan's concerns about ifdefs. Please apply.

  - add delay helper that is safe even if we are still on another waitqueue

22 years ago[PATCH] USB: ethernet/rndis gadget address params
David Brownell [Mon, 17 May 2004 08:33:22 +0000 (01:33 -0700)]
[PATCH] USB: ethernet/rndis gadget address params

This resolves a FIXME by adding module parameters that can
be used to provide stable (vs random) addresses, and gets
rid of a runtime error from obsolete module parameter usage
in the RNDIS code.

The stable ethernet addresses are nice to hosts, which will
normally want to save them away in config databases.  For
example, without stable addresses Windows XP will end up
recording quite a lot of RNDIS devices.

22 years ago[PATCH] USB: RNDIS (and CDC) filter flag handling
David Brownell [Mon, 17 May 2004 08:32:03 +0000 (01:32 -0700)]
[PATCH] USB: RNDIS (and CDC) filter flag handling

This should fix the problem David Meggy found, where RNDIS was setting
the OID_GEN_CURRENT_PACKET_FILTER state incorrectly.  It's the same
issue Andrew Morton noticed a while back, for that matter, but with
more than just a "now compiles on 64 bit" fix.

Basically the code needs to interpret 32 bits provided in the request
from the (Windows) host, rather than 8 bits of other memory that's got
some irrelevant value.

The fix is just to save the 32 bits.  I did the same thing with the
CDC Ethernet filter, which should eventually be used the same way:  to
limit what packets get sent to the host.  Also defined a couple more
of the CDC requests.

22 years ago[PATCH] USB: Aiptek.c Driver patch
Bryan W. Headley [Mon, 17 May 2004 08:31:31 +0000 (01:31 -0700)]
[PATCH] USB: Aiptek.c Driver patch

22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Mon, 17 May 2004 07:01:34 +0000 (00:01 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/remove-rcpci
Jeff Garzik [Mon, 17 May 2004 11:15:48 +0000 (07:15 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/remove-rcpci
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/fealnx
Jeff Garzik [Mon, 17 May 2004 11:14:07 +0000 (07:14 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/fealnx
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge
David S. Miller [Mon, 17 May 2004 04:47:28 +0000 (21:47 -0700)]
Merge

22 years ago[PATCH] USB: further fix to mdc800
Oliver Neukum [Mon, 17 May 2004 04:38:40 +0000 (21:38 -0700)]
[PATCH] USB: further fix to mdc800

I made a mistake fixing that driver. Here's the fix. Please apply soon.

  - fix race condition leading to busy waiting

22 years ago[PATCH] USB: fix MSEC_TO_JIFFIES in usb code
David Brownell [Mon, 17 May 2004 04:13:32 +0000 (21:13 -0700)]
[PATCH] USB: fix MSEC_TO_JIFFIES in usb code

Here are some MSEC_TO_JIFFIES() fixes missed by whoever did it,
plus a minor fix to grab root_hub->serialize() during OHCI
suspend.  (I forgot to cut/paste those lines from resume.)

22 years ago[PATCH] USB: fix CONFIG_PM build issues
David Brownell [Mon, 17 May 2004 04:12:22 +0000 (21:12 -0700)]
[PATCH] USB: fix CONFIG_PM build issues

22 years ago[PATCH] USB: fix obsolete header usage in usb storage
Arjan van de Ven [Mon, 17 May 2004 04:01:17 +0000 (21:01 -0700)]
[PATCH] USB: fix obsolete header usage in usb storage

drivers/scsi/hosts.h is obsolete, <scsi/scsi_host.h> is the prefered header
nowadays. (hosts.h is just a 1 line wrapper to include it for now anyway)

22 years ago[PATCH] USB: fix usb-serial serial_open oops
Zwane Mwaikambo [Mon, 17 May 2004 04:00:46 +0000 (21:00 -0700)]
[PATCH] USB: fix usb-serial serial_open oops

No usb serial devices, just compiled in and the system has a USB controller.

Unable to handle kernel NULL pointer dereference at virtual address 0000000c
 printing eip:
c046a188
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP DEBUG_PAGEALLOC
Modules linked in:
CPU:    0
EIP:    0060:[<c046a188>]    Not tainted VLI
EFLAGS: 00010246   (2.6.6-mm3)
EIP is at serial_open+0x38/0x170
eax: 00000000   ebx: dc883000   ecx: c0613db8   edx: 00000000
esi: 00000001   edi: 00000000   ebp: dc84cef0   esp: dc84cedc
ds: 007b   es: 007b   ss: 0068
Process serial (pid: 1073, threadinfo=dc84c000 task=ddffca50)
Stack: 00000000 de8f4f5c ffffffed 00000100 de8f4f5c dc84cf14 c035a874 090115a0
       0bc00000 dc883000 00000000 de8f4f5c 00000001 df8a2dfc dc84cf40 c0171270
       dc84c000 00000001 00000000 de8f4f5c dbc75e94 00000000 de8f4f5c dbc75e94
Call Trace:
 [<c01076c5>] show_stack+0x75/0x90
 [<c010781f>] show_registers+0x11f/0x180
 [<c01079c6>] die+0xb6/0x170
 [<c011af20>] do_page_fault+0x1e0/0x525
 [<c010732d>] error_code+0x2d/0x40
 [<c035a874>] tty_open+0x274/0x3b0
 [<c0171270>] chrdev_open+0x160/0x340
 [<c0166426>] dentry_open+0x156/0x230
 [<c01662cd>] filp_open+0x4d/0x50
 [<c0166858>] sys_open+0x38/0x70
 [<c0106199>] sysenter_past_esp+0x52/0x79

Code: de 63 c0 89 55 f0 c7 45 ec 00 00 00 00 85 f6 0f 85 31 01 00 00 c7 83
8c 09 00 00 00 00 00 00 8b 43 08 e8 3c fe ff ff 31 d2 89 c7 <8a> 50 0c 8b
43 08 29 d0 8b 74 87 18 89 b3 8c 09 00 00 89 5e 04

(gdb) list *serial_open+0x38
0xc046a188 is in serial_open (drivers/usb/serial/usb-serial.c:465).
460
461             /* get the serial object associated with this tty pointer */
462             serial = usb_serial_get_by_index(tty->index);
463
464             /* set up our port structure making the tty driver remember our port object, and us it */
465             portNumber = tty->index - serial->minor;
466             port = serial->port[portNumber];
467             tty->driver_data = port;
468
469             port->tty = tty;

22 years agoUSB: fix build error in drivers/usb/serial/console.c
Greg Kroah-Hartman [Mon, 17 May 2004 02:46:52 +0000 (19:46 -0700)]
USB: fix build error in drivers/usb/serial/console.c

Thanks to Adrian Bunk <bunk@fs.tum.de> for pointing this out.

22 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Mon, 17 May 2004 01:21:13 +0000 (18:21 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

22 years ago[libata] replace ATA_QCFLAG_ATAPI with inline helper
Jeff Garzik [Sun, 16 May 2004 21:41:56 +0000 (17:41 -0400)]
[libata] replace ATA_QCFLAG_ATAPI with inline helper

Detection of an ATAPI taskfile is possible using a simple test
on existing information, so there is no need to cache this value
in a separate flag (ATA_QCFLAG_ATAPI).  Instead, create and use
a new helper function is_atapi_taskfile().

22 years ago[libata] scsi simulator improvements: MODE SENSE, SEEK(6,10), REZERO_UNIT
Jeff Garzik [Sun, 16 May 2004 20:21:15 +0000 (16:21 -0400)]
[libata] scsi simulator improvements: MODE SENSE, SEEK(6,10), REZERO_UNIT

* SEEK(6), SEEK(10), and REZERO_UNIT are no-ops.  Unconditionally
  complete these commands with success.
* MODE SENSE caching page work:
* correct page length
* set bit, if read-ahead is disabled
* set bit, if writeback caching is enabled
  (previously, this bit was never set, even if
   writeback caching was enabled)
* add MODE SENSE r/w error recovery page

22 years ago[libata] comments and constants
Jeff Garzik [Sun, 16 May 2004 18:19:19 +0000 (14:19 -0400)]
[libata] comments and constants

* note a nasty problem with shared interrupts that must be fixed
  before we turn on certain code paths.
* add a few comments to the READ CAPACITY scsi simulator
* remove a FIXME comment from the TEST UNIT READY scsi simulator
* add constant for ATA command CHECK POWER MODE, and associated
  "mandatory" power management feature set bit.

22 years ago[libata] SCSI->ATA simulator hacking: INQUIRY command
Jeff Garzik [Sun, 16 May 2004 17:33:18 +0000 (13:33 -0400)]
[libata] SCSI->ATA simulator hacking: INQUIRY command

The SCSI T10 committee is working on a document describing a standard
method for translating ATA<->SCSI, since it being done quite often
these days.  Some of the recommendations are reasonable, and we implement
two here:

* Mirror that ATA 'removeable media' bit into INQUIRY output.
* Change behavior of INQUIRY output field 'product revision' from
  the libata software version number to the first 4 bytes of the
  ATA device's firmware revision number.

Rather than cache the firmware revision in struct ata_device, as was/is
done with two other strings, I took the opportunity to eliminate the
caching of the two other strings, 'vendor' and 'product'.  These strings
are now retrieved as needed from the IDENTIFY [PACKET] DEVICE info page,
since we cache its entire contents.

Retrieving a string from the identify-device page is done via the
helper function ata_dev_id_string(), which is now exported.

This patch winds up making struct ata_device 40 bytes smaller, and
the libata core gets a bit smaller as well.

22 years ago[libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation
Jeff Garzik [Sun, 16 May 2004 14:48:08 +0000 (10:48 -0400)]
[libata] remove redundant use of ATA_QCFLAG_SG in ATAPI packet translation

ata_scsi_translate() sets this flag for all ATA->SCSI translated
commands, so it need not be done in atapi_xlat().  The now-removed
use in atapi_xlat() was also inconsistent WRT PIO versus DMA.

22 years ago[libata] DMADIR support
Jeff Garzik [Sun, 16 May 2004 14:35:15 +0000 (10:35 -0400)]
[libata] DMADIR support

DMADIR bit is necessary for some PATA->SATA bridges.  These
bridges require the OS driver to specify the data xfer direction,
for PACKET (a.k.a. scsi) commands.

A reliable DMADIR detection method hasn't yet been developed,
and ATAPI is still a WIP, so DMADIR is enabled with an ifdef for
now.

22 years agoMerge bk://gkernel.bkbits.net/libata-2.6
Linus Torvalds [Sun, 16 May 2004 12:47:53 +0000 (05:47 -0700)]
Merge bk://gkernel.bkbits.net/libata-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sun, 16 May 2004 12:39:44 +0000 (05:39 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[SERIAL] Remove base_baud default from 8250_pci
Russell King [Sun, 16 May 2004 13:08:21 +0000 (14:08 +0100)]
[SERIAL] Remove base_baud default from 8250_pci

Since all boards specify base_baud, the code to default base_baud to
the architecture-defined BASE_BAUD is redundant.  Also, defaulting
to the architecture-defined BASE_BAUD is wrong since the UARTs on a
serial PCI card will be clocked at the same rate no matter what the
architecture of the host machine.