]> git.hungrycats.org Git - linux/log
linux
22 years ago[NET]: Add some sparse annotations to network driver stack.
Arjan van de Ven [Fri, 16 Apr 2004 06:56:23 +0000 (23:56 -0700)]
[NET]: Add some sparse annotations to network driver stack.

22 years ago[IPV6]: Limit network triggerable printks.
Andi Kleen [Fri, 16 Apr 2004 06:55:01 +0000 (23:55 -0700)]
[IPV6]: Limit network triggerable printks.

22 years ago[NET]: Do lazy gettimeofday for network packets.
Andi Kleen [Fri, 16 Apr 2004 06:49:08 +0000 (23:49 -0700)]
[NET]: Do lazy gettimeofday for network packets.

22 years agoMerge
David S. Miller [Fri, 16 Apr 2004 04:36:57 +0000 (21:36 -0700)]
Merge

22 years agoMerge nuts.davemloft.net:/disk1/BK/net-2.6.6
David S. Miller [Fri, 16 Apr 2004 03:39:56 +0000 (20:39 -0700)]
Merge nuts.davemloft.net:/disk1/BK/net-2.6.6
into nuts.davemloft.net:/disk1/BK/net-2.6

22 years agoMerge.
David S. Miller [Fri, 16 Apr 2004 03:37:13 +0000 (20:37 -0700)]
Merge.

22 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.6
Linus Torvalds [Fri, 16 Apr 2004 00:01:03 +0000 (17:01 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://bk.linux1394.org/ieee1394-2.6
Linus Torvalds [Thu, 15 Apr 2004 23:58:40 +0000 (16:58 -0700)]
Merge bk://bk.linux1394.org/ieee1394-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://linuxusb.bkbits.net/d
Linus Torvalds [Thu, 15 Apr 2004 23:56:30 +0000 (16:56 -0700)]
Merge bk://linuxusb.bkbits.net/d
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] ppc64: Fix RTAS races on pSeries
Benjamin Herrenschmidt [Thu, 15 Apr 2004 23:55:37 +0000 (16:55 -0700)]
[PATCH] ppc64: Fix RTAS races on pSeries

The low level kernel interface to RTAS (the firmware runtime services)
was plagued with races that could cause from bogus results of RTAS
operations to total machine crashes in some circumstances. This patch
fix the ones I could identify, hoping I didn't miss any. I also added
a WARN_ON (well, it's asm equivalent) to enter_rtas to make sure we
never _ever_ try to call that with interrupts enabled.

22 years ago[PATCH] ppc64: always initialise dn->type and dn->name
Anton Blanchard [Thu, 15 Apr 2004 23:53:12 +0000 (16:53 -0700)]
[PATCH] ppc64: always initialise dn->type and dn->name

This fix comes from ppc32. Always initialise dn->type and dn->name so
that code doesnt have to check for NULL everywhere. There is at least
one bug report where we oopsed because of this.

22 years ago[PATCH] ppc64: catch branch to 0 in real mode
Anton Blanchard [Thu, 15 Apr 2004 23:52:58 +0000 (16:52 -0700)]
[PATCH] ppc64: catch branch to 0 in real mode

We have been debugging some strange fails where we branch to 0 in real
mode. At the moment this results in the cpu running through the
initialisation code and failing somewhere well into it.

The following patch uses the featuring nop'ing code to remove the branch
at real address 0 so it falls through to a trap instruction and gets
caught early.

22 years ago[PATCH] NMI watchdog Pentium M support
Adam Goode [Thu, 15 Apr 2004 23:44:35 +0000 (16:44 -0700)]
[PATCH] NMI watchdog Pentium M support

This adda nmi_watchdog=2 support to the Pentium M processor.  The P-M is
a P6 chip, but it shares some chipset logic with the Pentium 4, so it
requires this workaround to function.

Without this patch, NMI gets stuck after 1 count.  With it, the NMI
fires and breaks me out of UHCI-related hard lockups.

This patch is basically a modified version of the same patch for
oprofile. See the threaded discussion here:

http://lkml.org/lkml/2004/2/12/181

22 years ago[IXGB]: ixgb.h needs dma-mapping.h
David S. Miller [Thu, 15 Apr 2004 16:55:02 +0000 (09:55 -0700)]
[IXGB]: ixgb.h needs dma-mapping.h

22 years ago[E1000]: e1000.h needs dma-mapping.h
David S. Miller [Thu, 15 Apr 2004 16:54:31 +0000 (09:54 -0700)]
[E1000]: e1000.h needs dma-mapping.h

22 years agoMerge http://linux.bkbits.net/linux-2.5
Ben Collins [Thu, 15 Apr 2004 15:28:52 +0000 (11:28 -0400)]
Merge http://linux.bkbits.net/linux-2.5
into debian.org:/usr/src/kernel/ieee1394-2.6

22 years ago[PATCH] Amiga Zorro8390 Ethernet section conflict
Geert Uytterhoeven [Thu, 15 Apr 2004 04:57:06 +0000 (21:57 -0700)]
[PATCH] Amiga Zorro8390 Ethernet section conflict

Jeff Garzik notes that the previous cleanup highlights a bug:
>
>  static const struct card_info {
>      zorro_id id;
>      const char *name;
>      unsigned int offset;
>  } cards[] __initdata = {
>
> and the lone user is __devinit:
>
> static int __devinit zorro8390_init_one(struct zorro_dev *z,
>                                        const struct zorro_device_id *ent)

Here's the fix..

22 years ago[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change
James Bottomley [Thu, 15 Apr 2004 04:56:52 +0000 (21:56 -0700)]
[PATCH] fix non-PC subarchs which were broken by i386 probe_roms change

The author apparently didn't understand that only the mach-default
include directory is included by fallback for header files only.  You
can't stick a .c file in mach-default and expect all subarchs to be able
to use it.

The correct fix is to put std_resources.c in the kernel directory and
give it its own Kconfig symbol for conditional compile so that subarchs
may choose to include it or not.

22 years ago[PATCH] USB: Fix vicam debug compile, fix user access
Michal Schmidt [Thu, 15 Apr 2004 03:29:23 +0000 (20:29 -0700)]
[PATCH] USB: Fix vicam debug compile, fix user access

The last copy_from_user patch to the vicam driver broke compilation with
VICAM_DEBUG on.

There is also another copy_from_user missing in case VIDIOCSPICT.

This fixes both issues.

22 years agoMerge bk://linuxusb.bkbits.net/pci-2.6
Linus Torvalds [Thu, 15 Apr 2004 03:24:09 +0000 (20:24 -0700)]
Merge bk://linuxusb.bkbits.net/pci-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] fix 4k irqstacks on x86 (and add voyager support)
James Bottomley [Thu, 15 Apr 2004 02:20:00 +0000 (19:20 -0700)]
[PATCH] fix 4k irqstacks on x86 (and add voyager support)

There's a bug in the x86 code in that it sets the boot CPU to zero.

This isn't correct since some subarch's use physically indexed CPUs.
However, subarchs have either set the boot cpu before irq_INIT() (or
just inherited the default zero from INIT_THREAD_INFO()), so it's safe
to believe current_thread_info()->cpu about the boot cpu.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Thu, 15 Apr 2004 01:39:55 +0000 (18:39 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/driver-2.6

22 years agomerge
Greg Kroah-Hartman [Thu, 15 Apr 2004 01:22:54 +0000 (18:22 -0700)]
merge

22 years ago[PATCH] ppc64: update g5_defconfig
Benjamin Herrenschmidt [Thu, 15 Apr 2004 00:04:22 +0000 (17:04 -0700)]
[PATCH] ppc64: update g5_defconfig

This adds IOMMU support & IOMU virtual merging to the default g5 config.

This will not impair performances of machines that don't need the iommu
(the kernel will only enable it if you have more than 2Gb of RAM, though
you can explicitely enable it using a command line argument).

22 years ago[PATCH] ppc64: Fix possible duplicate MMU hash entries
Benjamin Herrenschmidt [Thu, 15 Apr 2004 00:04:10 +0000 (17:04 -0700)]
[PATCH] ppc64: Fix possible duplicate MMU hash entries

The current code has a subtle race where 2 hash PTEs can be inserted
for the same virtual address for a short period of time. There should
not be a stale one as the "old" one ultimately gets flushed, but the
architecture specifies that having two hash PTE is illegal and can
result in undefined behaviour.

This patch fixes it by never clearing the _PAGE_HASHPTE bit when
doing test_and_clear_{young,dirty}. That means that subsequent faults
on those pages will have a bit more overhead to "discover" that the
hash entry was indeed evicted.

It also adds a small optisation to avoid doing the atomic operation
and the hash flush in test_and_clear_dirty when the page isn't dirty
or when setting write protect while it's already set.

22 years ago[PATCH] posix messages queues for s390.
Andrew Morton [Thu, 15 Apr 2004 00:03:54 +0000 (17:03 -0700)]
[PATCH] posix messages queues for s390.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

The new message queue interface needs the following patch to get it working
on s390 (31-bit, 64-bit and 31-bit compat).

22 years ago[PATCH] light-weight auditing framework for s390.
Andrew Morton [Thu, 15 Apr 2004 00:03:43 +0000 (17:03 -0700)]
[PATCH] light-weight auditing framework for s390.

From: Martin Schwidefsky <schwidefsky@de.ibm.com>

This patch adds the TIF_SYSCALL_AUDIT option to the s390 ptrace interface.

22 years ago[PATCH] Add mqueue support to x86-64
Andrew Morton [Thu, 15 Apr 2004 00:03:32 +0000 (17:03 -0700)]
[PATCH] Add mqueue support to x86-64

From: Andi Kleen <ak@suse.de>

Add POSIX mqueue support to x86-64.

22 years ago[PATCH] ext3: journalled quotas
Andrew Morton [Thu, 15 Apr 2004 00:03:20 +0000 (17:03 -0700)]
[PATCH] ext3: journalled quotas

From: Jan Kara <jack@ucw.cz>

Journalled quota support for ext3: The patch consists of two parts - ext3
changes and changes in generic quota code.  The main idea of the changes is
that a transaction is always started before any operation which changes quota
file and dirtifying of the quota causes its write to disk.  These two changes
assure that quota change is journalled into the same transaction as the file
change and hence after journal replay quota is consistent with the filesystem
state.  As during journal replay inodes from orphan list are deleted/truncated
we have to do quota_on before the replay of the orphan list - this problem is
solved by additional mount options to ext3 with quota file names and format.

Some changes in generic code were also needed to assure that quota structure
in file is always allocated and so ordinary quota operations (like
adding/deleting a block/inode) need only a few blocks from the transaction.

22 years ago[PATCH] mq_open() and close_on_exec
Andrew Morton [Thu, 15 Apr 2004 00:03:05 +0000 (17:03 -0700)]
[PATCH] mq_open() and close_on_exec

From: Chris Wright <chrisw@osdl.org>

SUSv3 doesn't seem to specify one way or the other.  I don't have the POSIX
specs, and the old docs I have suggest that mq_open() creates an object
which is to be closed upon exec.

Jakub said:

  I think it is valid and required:

    http://www.opengroup.org/onlinepubs/007904975/functions/exec.html

    All open message queue descriptors in the calling process shall be
    closed, as described in mq_close()

  I'll add a new test for this into glibc testsuite.

22 years ago[PATCH] radix-tree comment fix
Andrew Morton [Thu, 15 Apr 2004 00:02:51 +0000 (17:02 -0700)]
[PATCH] radix-tree comment fix

Fix various bogons and outright lies.

22 years ago[PATCH] Fix mq_notify with SIGEV_NONE notification
Andrew Morton [Thu, 15 Apr 2004 00:02:37 +0000 (17:02 -0700)]
[PATCH] Fix mq_notify with SIGEV_NONE notification

From: Jakub Jelinek <jakub@redhat.com>

mq_notify (q, NULL)

and
struct sigevent ev = { .sigev_notify = SIGEV_NONE };
mq_notify (q, &ev)

are not the same thing in POSIX, yet the kernel treats them the same.  Only
the former makes the notification available to other processes immediately,
see

http://www.opengroup.org/onlinepubs/007904975/functions/mq_notify.html

Without the patch below,

http://sources.redhat.com/ml/libc-hacker/2004-04/msg00028.html

glibc test fails.

I looked at mq in Solaris and they behave the same in this regard as Linux
with this patch.  Kernel with this patch passes both Intel POSIX testsuite
(with testsuite fixes from Ulrich) and glibc mq testsuite.

22 years agoMerge master.kernel.org:/home/davem/BK/sparc-2.6
Linus Torvalds [Wed, 14 Apr 2004 18:25:59 +0000 (11:25 -0700)]
Merge master.kernel.org:/home/davem/BK/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoLinux 2.6.6-rc1 v2.6.6-rc1
Linus Torvalds [Wed, 14 Apr 2004 11:31:20 +0000 (04:31 -0700)]
Linux 2.6.6-rc1

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/janitor
Jeff Garzik [Wed, 14 Apr 2004 16:50:03 +0000 (12:50 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/janitor
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge bk://linuxusb.bkbits.net/i2c-2.6
Linus Torvalds [Wed, 14 Apr 2004 08:47:05 +0000 (01:47 -0700)]
Merge bk://linuxusb.bkbits.net/i2c-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years agoMerge bk://linuxusb.bkbits.net/usb-2.6
Linus Torvalds [Wed, 14 Apr 2004 08:12:43 +0000 (01:12 -0700)]
Merge bk://linuxusb.bkbits.net/usb-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 [Wed, 14 Apr 2004 08:11:34 +0000 (01:11 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[ARM PATCH] 1810/1: Support for non-PXA XScale UARTs
Deepak Saxena [Wed, 14 Apr 2004 19:39:05 +0000 (20:39 +0100)]
[ARM PATCH] 1810/1: Support for non-PXA XScale UARTs

Patch from Deepak Saxena

Supersedes 1809/1

22 years ago[SERIAL] Add ARM PL011 uart primecell support.
Russell King [Wed, 14 Apr 2004 18:33:32 +0000 (19:33 +0100)]
[SERIAL] Add ARM PL011 uart primecell support.

This adds support for the AMBA PL011 UART primecell, and moves the
existing AMBA UART support to indicate it covers the AMBA PL010
primecell.

22 years ago[PATCH] yenta: interrupt routing for TI briges
Daniel Ritz [Wed, 14 Apr 2004 07:46:25 +0000 (00:46 -0700)]
[PATCH] yenta: interrupt routing for TI briges

Some TI cardbus bridges found in notebooks and PCI add-on cards are
uninitialized.  This means the interrupt mode and the interrupt routing
is wrong in most cases, ending up in non working PCI interrupts.

This makes the TI Yenta driver probe the PCI interrupt and adjust the
interrupt setting if no interrupts are delivered.  It's done in a safe
way, that doesn't hurt working setups.

Function 1 on two slot devices is handled differently from function 0
since both share the settings.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 14 Apr 2004 07:44:30 +0000 (00:44 -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] Use #defined constants for handle_mm_fault and __do_page_fault.
Russell King [Wed, 14 Apr 2004 21:44:50 +0000 (22:44 +0100)]
[ARM] Use #defined constants for handle_mm_fault and __do_page_fault.

22 years ago[ARM] Fix __do_softirq breakage.
Russell King [Wed, 14 Apr 2004 21:37:11 +0000 (22:37 +0100)]
[ARM] Fix __do_softirq breakage.

22 years ago[ARM] Fix builds using O=
Russell King [Wed, 14 Apr 2004 13:49:33 +0000 (14:49 +0100)]
[ARM] Fix builds using O=

22 years ago[ARM PATCH] 1811/1: Set dma_handle to ~0 when coherent allocation too big
Deepak Saxena [Wed, 14 Apr 2004 12:43:01 +0000 (13:43 +0100)]
[ARM PATCH] 1811/1: Set dma_handle to ~0 when coherent allocation too big

Patch from Deepak Saxena

22 years ago[PATCH] USB: fix CAN-2004-0075
Marc-Christian Petersen [Wed, 14 Apr 2004 07:30:34 +0000 (00:30 -0700)]
[PATCH] USB: fix CAN-2004-0075

Okay, now while we are at fixing security holes, is there any chance we
can _finally_ get the attached patch in?

The Vicam USB driver in all Linux Kernels 2.6 mainline does not use the
copy_from_user function when copying data from userspace to kernel space,
which crosses security boundaries and allows local users to cause a denial
of service.

Already ACKed by Greg. Only complaint was inproper coding style which is done
with attached patch ;)

ciao, Marc

22 years ago[PATCH] kbuild: fix modules_install
Sam Ravnborg [Wed, 14 Apr 2004 07:05:38 +0000 (00:05 -0700)]
[PATCH] kbuild: fix modules_install

The directory .tmp_versions/ was deleted during make vmlinux.

This eliminated the list of modules used for moudles_install.
The effect was that the following scenario failed:

make
make install
make modules_install

The solution is to only cleanup .tmp_versions when building modules.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Wed, 14 Apr 2004 06:33:29 +0000 (23:33 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/i2c-2.6

22 years ago[PATCH] I2C: Fix voltage rounding in asb100
Jean Delvare [Wed, 14 Apr 2004 06:10:38 +0000 (23:10 -0700)]
[PATCH] I2C: Fix voltage rounding in asb100

This one line patch fixes voltage rounding in the asb100 chip driver.
It's very similar to a patch I submitted for the lm80 a few days ago.

22 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.6
Greg Kroah-Hartman [Wed, 14 Apr 2004 05:42:08 +0000 (22:42 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.6
into kroah.com:/home/greg/linux/BK/usb-2.6

22 years ago[ISAPNP] MEM32 fix in read resources
Jaroslav Kysela [Wed, 14 Apr 2004 04:37:48 +0000 (04:37 +0000)]
[ISAPNP] MEM32 fix in read resources

Corrects isapnp_read_resources so that it gets MEM32 information properly.

22 years ago[PNPBIOS] avoid making potentially broken calls in proc.c
Adam Belay [Wed, 14 Apr 2004 04:34:24 +0000 (04:34 +0000)]
[PNPBIOS] avoid making potentially broken calls in proc.c

This patch prevents /proc/bus/pnp/devices from requesting on-boot node
information.  Dynamic information is used instead.

22 years ago[PNPBIOS] blacklist asus P4P800
Adam Belay [Wed, 14 Apr 2004 04:32:32 +0000 (04:32 +0000)]
[PNPBIOS] blacklist asus P4P800

The ASUS p4p800 motherboard's BIOS has a broken PnPBIOS implementation.  This
patch will disable PnPBIOS support if this hardware is detected by DMI.

22 years ago[PNP] sysfs entry "resource" fix
Adam Belay [Wed, 14 Apr 2004 04:30:17 +0000 (04:30 +0000)]
[PNP] sysfs entry "resource" fix

This patch ensures the proper count is returned in pnp_set_current_resources.

22 years ago[PNP] minor resource management fixes
Adam Belay [Wed, 14 Apr 2004 04:28:04 +0000 (04:28 +0000)]
[PNP] minor resource management fixes

This patch fixes a bug in pnp_auto_config_dev in which it wouldn't always report
allocation failures.  It also corrects the return codes.

22 years ago[PNPBIOS] parse asci text name
Adam Belay [Wed, 14 Apr 2004 04:24:50 +0000 (04:24 +0000)]
[PNPBIOS] parse asci text name

This patch fixes the unknown tag warning by adding support for the asci text
tag.

22 years ago[PATCH] large cpumask fix
Anton Blanchard [Wed, 14 Apr 2004 04:09:46 +0000 (21:09 -0700)]
[PATCH] large cpumask fix

The RCU code was missing cpus_empty() in one place, required with large
cpumasks.

22 years ago[PATCH] ppc64 signal frame issue
Anton Blanchard [Wed, 14 Apr 2004 04:09:33 +0000 (21:09 -0700)]
[PATCH] ppc64 signal frame issue

Fix a corruption bug, we were copying too much information back off
the signal frame.

While in the area help with gccs sign extension optimisation problems
and convert some things to long. (Saves about 30 instructions in signal.c)

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Wed, 14 Apr 2004 04:08:17 +0000 (21:08 -0700)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.6/linux

22 years ago[PATCH] isofs buffer overflow fix
Dave Jones [Wed, 14 Apr 2004 03:21:28 +0000 (20:21 -0700)]
[PATCH] isofs buffer overflow fix

Merged in 2.4, and various vendor kernels..

  iDefense reported a buffer overflow flaw in the ISO9660 filesystem code.
  An attacker could create a malicious filesystem in such a way that they
  could gain root privileges if that filesystem is mounted. The Common
  Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
  CAN-2004-0109 to this issue.

Ernie Petrides came up with the following patch which I fixed up a slight
reject in to apply to 2.6. Otherwise, unchanged from the 2.4 patch.

22 years ago[PATCH] USB: Patch for Clie TH55 Support in visor kernel module
Martin Lubich [Wed, 14 Apr 2004 03:04:33 +0000 (20:04 -0700)]
[PATCH] USB: Patch for Clie TH55 Support in visor kernel module

I just want to explain the changes I've made, since I tried to adhere to the
more organized structure in the 2.6 visor module to incorporate my changes.

I didn't want to pollute this with some ugly hack.

I created a new device id table with name clie_id_5_table to cleanly separate
the UX50/TH55 from the rest.

Along with this I added a new usb_serial_device_type which is essentially a
copy of handspring_device but has its own attach function.

This new attach function ( clie_5_attach ) will do the actual magic.

I think it is justified to introduce a new type ( which I called clie_5 )
since I suspect that Sony is intentionally changing the interface spec ( As
it has done so in the past ). I dare to predict that we will see more clie
devices coming this year which will require this new attachment procedure. At
the moment I am only aware of the UX50 and TH55 to implement that weird
configuration.

22 years ago[PATCH] USB: more ftdi devices
Jan Capek [Wed, 14 Apr 2004 02:56:46 +0000 (19:56 -0700)]
[PATCH] USB: more ftdi devices

22 years ago[PATCH] USB speedtouch: bump the version number
Duncan Sands [Wed, 14 Apr 2004 02:51:12 +0000 (19:51 -0700)]
[PATCH] USB speedtouch: bump the version number

Hi Greg, this patch bumps the speedtouch driver's version number.
It also adds the version number to the module description, so people
can see it with modinfo.  I also added a MODULE_VERSION line (why?
because it was there...)  The patch is against your 2.6 kernel tree.

22 years ago[PATCH] USB speedtouch: fix memory leak in error path
Duncan Sands [Wed, 14 Apr 2004 02:50:29 +0000 (19:50 -0700)]
[PATCH] USB speedtouch: fix memory leak in error path

Hi Greg, this patch fixes a memory leak in the speedtouch driver.
The leak occurs when the ATM layer submits a skbuff for transmission,
but the driver rejects it (because the device has been unplugged for
example).  The ATM layer requires the driver to free the skbuff in this
case.  The patch is against your 2.6 kernel tree.

22 years ago[PATCH] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set
Duncan Sands [Wed, 14 Apr 2004 02:49:54 +0000 (19:49 -0700)]
[PATCH] USB speedtouch: turn on debugging if CONFIG_USB_DEBUG is set

Hi Greg, this causes the speedtouch driver to output non-verbose
debugging messages if the kernel was configured with CONFIG_USB_DEBUG.
The patch is against your 2.6 kernel tree.

22 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Tue, 13 Apr 2004 15:53:43 +0000 (08:53 -0700)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

22 years ago[PATCH] x86-64 update
Andi Kleen [Tue, 13 Apr 2004 13:18:37 +0000 (06:18 -0700)]
[PATCH] x86-64 update

Various fixes and cleanups for x86-64.

 - Update defconfig
 - Fix some problems in ROM resource scanning (Rene Herman)
 - Initialize APIC id of CPU 0 (Venkatesh Pallipadi)
 - Always enable swiotlb for GART_IOMMU
 - Fix compilation without IOMMU_GART
 - Remove nodes_present; use standard node_online_map instead.
   This also fixes a bug with no memory on node 0.
 - Switch node<->cpu mapping to arrays. This fixes some awkward
   special cases with no nodes and empty nodes.
 - Move K8 fallback node setup to common code
 - Eliminate old fake_node.
 - Fix wrong fields in MCE handling (Marc Bevand)
 - Make pci_dma_consistent behave more similar to i386 to fix Alsa

22 years ago[PATCH] update fix for potential integer overflow in zoran driver
Andrew Morton [Tue, 13 Apr 2004 11:49:20 +0000 (04:49 -0700)]
[PATCH] update fix for potential integer overflow in zoran driver

From: Dave Jones <davej@redhat.com>

2.4 already had this fixed, but uses a somewhat larger value to clip at.
For uniformity sake, perhaps they should be the same?  Patch below makes
it match 2.4-bk

22 years ago[PATCH] Fix MSI IA64 Support Build Breakage
Andrew Morton [Tue, 13 Apr 2004 11:49:07 +0000 (04:49 -0700)]
[PATCH] Fix MSI IA64 Support Build Breakage

From: "Nguyen, Tom L" <tom.l.nguyen@intel.com>

The patch showed up in Linus' tree last night breaks the
"generic_defconfig" build for ia64.

Fix it by adding the NR_VECTORS device to ia64.

22 years ago[PATCH] Fix ext3 add_nondir d_instantiate()
Andrew Morton [Tue, 13 Apr 2004 11:48:54 +0000 (04:48 -0700)]
[PATCH] Fix ext3 add_nondir d_instantiate()

It should be unconditional.

22 years ago[PATCH] jbd copyout fix
Andrew Morton [Tue, 13 Apr 2004 11:48:41 +0000 (04:48 -0700)]
[PATCH] jbd copyout fix

When I converted journal_write_metadata_buffer() to kmap_atomic() I screwed
up the handling of the copyout buffers - we're currently writing four zeroes
into the user's page rather than into the data which is to be written to the
journal (oops).

Net effect: any block which starts with 0xC03B3998 gets scribbled on in
data=journal mode.

22 years ago[PATCH] obsolete asm/hdreg.h
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:29:30 +0000 (04:29 -0700)]
[PATCH] obsolete asm/hdreg.h

22 years ago[PATCH] asm-ia64/ide.h: use unsigned long instead of ide_ioreg_t
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:29:19 +0000 (04:29 -0700)]
[PATCH] asm-ia64/ide.h: use unsigned long instead of ide_ioreg_t

22 years ago[PATCH] asm/ide.h: ide_ioreg_t cleanup
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:29:08 +0000 (04:29 -0700)]
[PATCH] asm/ide.h: ide_ioreg_t cleanup

ide_ioreg_t is deprecated and hasn't been used by IDE driver for some time.
Use unsigned long directly on alpha, arm26, arm, mips, parisc, ppc64 and sh.

asm-ia64/ide.h (ide_ioreg_t is unsigned short) and asm-m68knommu/ide.h
(broken - ide_ioreg_t is not defined) are the only users of ide_ioreg_t left.

22 years ago[PATCH] add asm-generic/hdreg.h
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:28:56 +0000 (04:28 -0700)]
[PATCH] add asm-generic/hdreg.h

Use it on all archs which define ide_ioreg_t to unsigned long.

22 years ago[PATCH] asm-arm26/hdreg.h: use unsigned long for ide_ioreg_t
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:28:41 +0000 (04:28 -0700)]
[PATCH] asm-arm26/hdreg.h: use unsigned long for ide_ioreg_t

22 years ago[PATCH] zero 'hw_regs_t hw' allocated from stack in ide.c and ide-cs.c
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:28:29 +0000 (04:28 -0700)]
[PATCH] zero 'hw_regs_t hw' allocated from stack in ide.c and ide-cs.c

22 years ago[PATCH] hpt366.c: fix 'cat /proc/ide/hpt366' crash
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:28:16 +0000 (04:28 -0700)]
[PATCH] hpt366.c: fix 'cat /proc/ide/hpt366' crash

Disable code doing outb() without any locking in /proc handler.
Otherwise 'cat /proc/ide/hpt366' crashes if done during I/O.

Noticed by John Stoffel <stoffel@lucent.com>.

22 years ago[PATCH] ide-disk.c: workaround for bogus LBA48 drives
Bartlomiej Zolnierkiewicz [Tue, 13 Apr 2004 11:28:03 +0000 (04:28 -0700)]
[PATCH] ide-disk.c: workaround for bogus LBA48 drives

From: Geert Uytterhoeven <geert@linux-m68k.org>

Apparently some IDE drives (e.g. a pile of 80 GB ST380020ACE drives I have
access to) advertise to support LBA48, but don't, causing kernels that support
LBA48 (i.e. anything newer than 2.4.18, including 2.4.25 and 2.6.4) to fail on
them.  Older kernels (including 2.2.20 on the Debian woody CDs) work fine.

Check for id->lba_capacity_2 being non-zero in idedisk_supports_lba48().

22 years ago[netdrvr r8169] temporary build fix, until DMA_xxBIT_MASK is upstream
Jeff Garzik [Tue, 13 Apr 2004 12:53:32 +0000 (08:53 -0400)]
[netdrvr r8169] temporary build fix, until DMA_xxBIT_MASK is upstream

22 years agoDelete sis190 net driver.
Jeff Garzik [Tue, 13 Apr 2004 11:10:19 +0000 (07:10 -0400)]
Delete sis190 net driver.

The driver was copied from the very-buggy r8169 (pre-Francois),
and is for hardware that isn't even out of the lab yet.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/tulip
Jeff Garzik [Tue, 13 Apr 2004 11:03:03 +0000 (07:03 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/tulip
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/s2io
Jeff Garzik [Tue, 13 Apr 2004 11:01:53 +0000 (07:01 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/s2io
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/r8169
Jeff Garzik [Tue, 13 Apr 2004 11:00:08 +0000 (07:00 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/r8169
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/pcnet32
Jeff Garzik [Tue, 13 Apr 2004 10:59:03 +0000 (06:59 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/pcnet32
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/e1000
Jeff Garzik [Tue, 13 Apr 2004 10:57:44 +0000 (06:57 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/e1000
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/b44
Jeff Garzik [Tue, 13 Apr 2004 10:56:28 +0000 (06:56 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/b44
into redhat.com:/spare/repo/net-drivers-2.6

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/8139cp
Jeff Garzik [Tue, 13 Apr 2004 10:54:27 +0000 (06:54 -0400)]
Merge redhat.com:/spare/repo/netdev-2.6/8139cp
into redhat.com:/spare/repo/net-drivers-2.6

22 years ago[PATCH] remove concat. with __FUNCTION__ (drivers/net/) (V2)
Randy Dunlap [Tue, 13 Apr 2004 10:28:52 +0000 (06:28 -0400)]
[PATCH] remove concat. with __FUNCTION__ (drivers/net/) (V2)

Hi,

Previous patch had a small problem.  This patch replaces the
previous version.  I can/will send a relative/differential diff
if you want/need it.

Problem:

On Tue, 2004-04-06 at 14:45, Randy.Dunlap wrote:
> From: Tony Breeds <tony@bakeyournoodle.com>
>
> "concatenation of string literals with __FUNCTION__ is deprecated"
> -#define TRACE_ENTER(devname) DEBUG(2, "%s: -> " __FUNCTION__ "()\n", devname);
> -#define TRACE_EXIT(devname)  DEBUG(2, "%s: <- " __FUNCTION__ "()\n", devname);
> +#define TRACE_ENTER(devname) DEBUG(2, "%s: -> %s()\n", __FUNCTION__, devname);
> +#define TRACE_EXIT(devname)  DEBUG(2, "%s: <- %s()\n", __FUNCTION__, devname);

| Hi.  This isn't the same.  It should be:
|
| +#define TRACE_ENTER(devname) DEBUG(2, "%s: -> %s()\n", devname, __FUNCTION__);
| +#define TRACE_EXIT(devname)  DEBUG(2, "%s: <- %s()\n", devname, __FUNCTION__ );

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 drivers/net/gt96100eth.c       |    2 +-
 drivers/net/irda/smsc-ircc2.c  |    6 +++---
 drivers/net/irda/via-ircc.c    |    2 +-
 drivers/net/wireless/orinoco.h |    4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)

22 years ago[PATCH] r8169: mod_timer() expects an absolute time, not a relative offset.
François Romieu [Tue, 13 Apr 2004 10:25:12 +0000 (06:25 -0400)]
[PATCH] r8169: mod_timer() expects an absolute time, not a relative offset.

22 years ago[PATCH] r8169: correct irq handler return value
François Romieu [Tue, 13 Apr 2004 10:25:05 +0000 (06:25 -0400)]
[PATCH] r8169: correct irq handler return value

The irq handler must not return 1 when the status register is null
during the firt iteration.

22 years ago[PATCH] r8169: Missing 'static' qualifier for functions.
François Romieu [Tue, 13 Apr 2004 10:24:58 +0000 (06:24 -0400)]
[PATCH] r8169: Missing 'static' qualifier for functions.

22 years ago[PATCH] MAINTAINER entry for the r8169 driver.
François Romieu [Tue, 13 Apr 2004 10:14:40 +0000 (06:14 -0400)]
[PATCH] MAINTAINER entry for the r8169 driver.

22 years ago[PATCH] pcnet32 fix hang/crash with loopback test
Don Fry [Tue, 13 Apr 2004 10:06:34 +0000 (06:06 -0400)]
[PATCH] pcnet32 fix hang/crash with loopback test

If the pcnet32 interface is not up, running the loopback test may hang or
crash the system.  This patch provided by Jim Lewis fixes that problem.
Tested on ia32 and ppc systems.

22 years ago[PATCH] e1000: replace if(retval=fn()) with retval=fn(); if (retval)
Ganesh Venkatesan [Tue, 13 Apr 2004 09:40:44 +0000 (05:40 -0400)]
[PATCH] e1000: replace if(retval=fn()) with retval=fn(); if (retval)

22 years ago[PATCH] e1000: all other white space fixes, changelog
Ganesh Venkatesan [Tue, 13 Apr 2004 09:40:37 +0000 (05:40 -0400)]
[PATCH] e1000: all other white space fixes, changelog

22 years ago[PATCH] e1000: New bit definitions, fix comments on loadtime parameters
Ganesh Venkatesan [Tue, 13 Apr 2004 09:40:29 +0000 (05:40 -0400)]
[PATCH] e1000: New bit definitions, fix comments on loadtime parameters

22 years ago[PATCH] e1000: Set Attla PHY to Class A
Ganesh Venkatesan [Tue, 13 Apr 2004 09:40:22 +0000 (05:40 -0400)]
[PATCH] e1000: Set Attla PHY to Class A

Some LOM implementation of our controllers pass IEEE tests (Tx
distortion/Symmetry) while operating in Class A mode rather than in
class AB mode.

22 years ago[PATCH] e1000: remove polarity reversal workaround for forced 10H/10F links
Ganesh Venkatesan [Tue, 13 Apr 2004 09:40:14 +0000 (05:40 -0400)]
[PATCH] e1000: remove polarity reversal workaround for forced 10H/10F links

Adding this caused the adapter to fail while operating at 10 mbps, half
duplex. Hence the fix is not complete. We are still investigating a more
complete fix for the polarity reversal issue.