]> git.hungrycats.org Git - linux/log
linux
22 years ago[PATCH] bdev: move i_mapping -> f_mapping conversions
Andrew Morton [Mon, 19 Jan 2004 02:06:44 +0000 (18:06 -0800)]
[PATCH] bdev: move i_mapping -> f_mapping conversions

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

More uses of ->i_mapping switched to uses of ->f_mapping - stuff that was not
caught by the earlier f_mapping conversion.

22 years ago[PATCH] bdev: use correct mapping's i_sem
Andrew Morton [Mon, 19 Jan 2004 02:06:35 +0000 (18:06 -0800)]
[PATCH] bdev: use correct mapping's i_sem

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

In a bunch of places we used file->f_dentry->d_inode->i_sem to protect
fdatasync et.al.  Replaced with corrent file->f_mapping->host->i_sem - the
object we are protecting is address_space, so we want an exclusion that would
work for redirected ->i_mapping.  For normal files (not coda, not bdev) it's
all the same, of course - there we have

  file->f_mapping->host == file->f_dentry->d_inode

and change above is an equivalent transfromation.

22 years ago[PATCH] bdev: switch to f_mapping
Andrew Morton [Mon, 19 Jan 2004 02:06:27 +0000 (18:06 -0800)]
[PATCH] bdev: switch to f_mapping

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

A lot of places used to use ->f_dentry->d_inode->i_mapping all over the
place.  Replaced with use of ->f_mapping.  For now - just the places where we
literally could do search-and-replace.

22 years ago[PATCH] bdev: add file.f_mapping
Andrew Morton [Mon, 19 Jan 2004 02:06:16 +0000 (18:06 -0800)]
[PATCH] bdev: add file.f_mapping

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

New field of struct file - ->f_mapping.  We maintain the following:
file->f_dentry->d_inode->i_mapping == file->f_mapping for all opened files.

22 years ago[PATCH] bdev: presto conversion
Andrew Morton [Mon, 19 Jan 2004 02:06:06 +0000 (18:06 -0800)]
[PATCH] bdev: presto conversion

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

presto_journal_close() switched to passing struct presto_file_data * instead
of bogus struct file *.  The only field of struct file we used to look at was
file->private_data and most of the callers allocated on-stack struct file,
assigned file.private_data and passed the sucker to presto_journal_close().
Idiocy removed.

Looks like they started with case where the data they wanted all along was,
indeed, in ->private_data of already available struct file, so they just
passed pointer to struct file.  And when they found that they need to call it
in other places where there was no such struct file, they'd done it the dumb
way instead of fixing the prototype...

22 years ago[PATCH] bdev: blkdev_put() cleanup
Andrew Morton [Mon, 19 Jan 2004 02:05:57 +0000 (18:05 -0800)]
[PATCH] bdev: blkdev_put() cleanup

From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk>

Trivial cleanup in blkdev_put() - replace bdev->bd_inode->i_bdev with bdev.

22 years ago[PATCH] bdev: open() changes
Andrew Morton [Mon, 19 Jan 2004 02:05:49 +0000 (18:05 -0800)]
[PATCH] bdev: open() changes

The first of a series which move us toward blockdev hotplug support.  After
these we have achieved the following:

a) For "normal" (not bdevfs) inodes of block devices we never look at
   ->i_mapping.

b) For the same inodes we only look at ->i_bdev in bd_acquire() where it's
   used only as "here's what we'd found the last time" sort of cached value.
   If it's NULL, we just recalculate it.

c) Lots of messy expressions had been trimmed down, while we are at it.

(a) and (b) allow us to start doing proper block hotplug - we can destroy the
association between inode and bdev at any time, unhash bdev in question and
have new open() do everything from scratch, without waiting for old opened
files to close.  The goal is to be able to say "revoke everything over that
gendisk"/"revoke that partition" and have it do the right thing.

This patch:

Where the old code called (block device) ->open(inode, file), use
->open(inode->i_bdev->bd_inode, file).  Changes in drivers:

* none to those that only used inode->i_bdev and inode->i_rdev in their
  ->open() (bdev->bd_inode->i_bdev == bdev, so we are OK)

* floppy.c and floppy98.c used to call permission(inode, ...) in
  floppy_open().  Switched to permission(file->f_dentry->d_inode, ...)

22 years ago[PATCH] loop: fix file refcount leak
Andrew Morton [Mon, 19 Jan 2004 02:05:40 +0000 (18:05 -0800)]
[PATCH] loop: fix file refcount leak

- Fix an error-path file refcount leak

- Remove unnecessary get_file()/fput() pair.

- Clean up error handling a little

22 years ago[PATCH] loop: fix hard sector size
Andrew Morton [Mon, 19 Jan 2004 02:05:31 +0000 (18:05 -0800)]
[PATCH] loop: fix hard sector size

From: Ben Slusky <sluskyb@paranoiacs.org>

We need to set the hardsect_size of the loop device to that of the real
device.

The loop device advertises a block size of 1024 even when configured over a
cdrom.

When burning a ext2 on a cd, and mounting it directly, I get:

blocksize=2048;

when I losetup /dev/loop0 /dev/cdrom, and then try to mount, I get:

blocksize=1024; and then misaligned transfer; this results in not being able
to read the superblock.

The loop device should be changed to export the same blocksize of the
underlying device

22 years ago[PATCH] radeonfb line length fix
Andrew Morton [Mon, 19 Jan 2004 02:05:23 +0000 (18:05 -0800)]
[PATCH] radeonfb line length fix

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

Fix the calculation of screenpitch and line lengths.

22 years ago[PATCH] kyrofb support
Andrew Morton [Mon, 19 Jan 2004 02:05:15 +0000 (18:05 -0800)]
[PATCH] kyrofb support

From: Paul Mundt <lethal@linux-sh.org>

This patch adds support for the Kyro graphics boards (STG4000/PowerVR
3/etc= .) to 2.6.  This is a direct port and substantial cleanup / rewrite
of the 2.4 driver that's available in the sh64 tree at linux-sh.bkbits.net.

Some of the overlay code and the STG4000 bits are still a bit ugly, so be
forewarned.

22 years ago[PATCH] SH Merge
Andrew Morton [Mon, 19 Jan 2004 02:05:04 +0000 (18:05 -0800)]
[PATCH] SH Merge

From: Paul Mundt <lethal@linux-sh.org>

Here's a rather large update for SH (this is a bit large mainly since a
number of things have piled up, and Linus didn't want any of this during
feature freeze time). All of these changes are specific to the SH platform,
and as such, shouldn't effect any other platforms.

22 years ago[PATCH] remove IDE packet taskfile placeholders
Bartlomiej Zolnierkiewicz [Sun, 18 Jan 2004 09:28:22 +0000 (01:28 -0800)]
[PATCH] remove IDE packet taskfile placeholders

This dead code was introduced in kernel 2.4.19 and hasn't been updated
since.

22 years ago[PATCH] cleanup IDE multicount PIO write code
Bartlomiej Zolnierkiewicz [Sun, 18 Jan 2004 09:28:00 +0000 (01:28 -0800)]
[PATCH] cleanup IDE multicount PIO write code

Noticed by Christophe Saout <christophe@saout.de>.

This code has been dead since kernel 2.4.2 and it is bogus too.

22 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-serial
Linus Torvalds [Sun, 18 Jan 2004 09:26:43 +0000 (01:26 -0800)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-serial
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Sun, 18 Jan 2004 09:25:08 +0000 (01:25 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Sun, 18 Jan 2004 09:22:30 +0000 (01:22 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

22 years ago[SERIAL] make ACPI serial module unload work
Bjorn Helgaas [Fri, 16 Jan 2004 22:03:20 +0000 (22:03 +0000)]
[SERIAL] make ACPI serial module unload work

Patch from Bjorn Helgaas

This patch makes ACPI serial ports work right when the serial driver
is built as a module.  Previously, loading worked fine, but we
didn't clean up on module removal.

22 years ago[SERIAL] make HCDP dependent on serial console
Bjorn Helgaas [Fri, 16 Jan 2004 21:56:06 +0000 (21:56 +0000)]
[SERIAL] make HCDP dependent on serial console

Patch from Bjorn Helgaas

I propose the following HCDP Kconfig patch.  It makes HCDP
selectable only when serial console has been selected.  One
desirable side effect is that both are then available only
when statically compiled in (i.e., not built as a module).

The HCDP support doesn't actually depend on IA64, but I left
that in for now because nobody else implements support for it
and I don't want people confused by a selectable option that
doesn't do anything.  Maybe a "depends on EFI" or something
will be useful eventually.

22 years agoCset exclude: mashirle@us.ibm.com|ChangeSet|20040115231022|51079
David S. Miller [Thu, 15 Jan 2004 18:10:09 +0000 (10:10 -0800)]
Cset exclude: mashirle@us.ibm.com|ChangeSet|20040115231022|51079

22 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 15 Jan 2004 12:57:30 +0000 (04:57 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into evo.osdl.org:/home/torvalds/v2.5/linux

22 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Thu, 15 Jan 2004 12:49:38 +0000 (04:49 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into evo.osdl.org:/home/torvalds/v2.5/linux

22 years ago[netdrvr forcedeth] linux/interrupt wasn't enough :) include asm/irq.h too
Jeff Garzik [Thu, 15 Jan 2004 14:49:07 +0000 (09:49 -0500)]
[netdrvr forcedeth] linux/interrupt wasn't enough :) include asm/irq.h too

Thanks to DaveM.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/sk98lin
Jeff Garzik [Thu, 15 Jan 2004 14:45:28 +0000 (09:45 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/sk98lin
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Thu, 15 Jan 2004 14:40:34 +0000 (09:40 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[PATCH] fix pdeath_signal SMP locking
Roland McGrath [Thu, 15 Jan 2004 12:47:18 +0000 (04:47 -0800)]
[PATCH] fix pdeath_signal SMP locking

Obviously almost noone uses the pdeath_signal feature, since this has gone
unnoticed for quite some time.

This patch calls the function that does the right locking for the context
of this call (inside exit_notify).  The names of the signal.c entrypoints
are a little confusing.

22 years ago[NET] remove both incorrect and unneeded spinlock from sch_teql
Jeff Garzik [Thu, 15 Jan 2004 12:20:28 +0000 (07:20 -0500)]
[NET] remove both incorrect and unneeded spinlock from sch_teql

The spinlock was held while calling functions that could block,
while simultaneously being at all times inside the context of
module init/exit.

Thanks to DaveM.

22 years agoJFS: Creating large xattr lists may cause BUG
Dave Kleikamp [Thu, 15 Jan 2004 11:03:45 +0000 (05:03 -0600)]
JFS: Creating large xattr lists may cause BUG

The bug was caused by a flag being or'ed against an unitialized value, rather
than setting the flag correctly.

22 years agoia64: If GAS can handle .align inside code, enable it via TEXT_ALIGN().
David Mosberger [Thu, 15 Jan 2004 09:51:32 +0000 (01:51 -0800)]
ia64: If GAS can handle .align inside code, enable it via TEXT_ALIGN().

22 years agoia64: Replace unwcheck shell-script with a Python script which works
David Mosberger [Thu, 15 Jan 2004 08:39:13 +0000 (00:39 -0800)]
ia64: Replace unwcheck shell-script with a Python script which works
correctly even on 32-bit hosts. As an added bonus, it's faster,
too.  Run "unwcheck" by default, but for now, don't let unwcheck
errors cause the kernel build to fail.

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.6
David S. Miller [Thu, 15 Jan 2004 07:12:42 +0000 (23:12 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.6

22 years ago[IPV6]: Add MIB:ipv6RouterAdvert netlink notification.
Shirley Ma [Thu, 15 Jan 2004 07:10:22 +0000 (23:10 -0800)]
[IPV6]: Add MIB:ipv6RouterAdvert netlink notification.

22 years ago[ATM]: Kill unused declaration in clip.c
Stephen Hemminger [Thu, 15 Jan 2004 07:03:49 +0000 (23:03 -0800)]
[ATM]: Kill unused declaration in clip.c

22 years ago[IPV6]: Do not change DEVCONF_xxx indexed based upon kernel config.
Hideaki Yoshifuji [Thu, 15 Jan 2004 06:15:45 +0000 (22:15 -0800)]
[IPV6]: Do not change DEVCONF_xxx indexed based upon kernel config.

22 years ago[IPV6]: Allow per-device max addresses configurable via sysctl.
Hideaki Yoshifuji [Thu, 15 Jan 2004 06:15:23 +0000 (22:15 -0800)]
[IPV6]: Allow per-device max addresses configurable via sysctl.

22 years agoMerge bk://linux-scsi.bkbits.net/scsi-misc-2.7
Linus Torvalds [Thu, 15 Jan 2004 05:46:12 +0000 (21:46 -0800)]
Merge bk://linux-scsi.bkbits.net/scsi-misc-2.7
into evo.osdl.org:/home/torvalds/v2.5/linux

22 years ago[PATCH] ips fix for large mem 64bit machines
David Jeffery [Thu, 15 Jan 2004 07:53:07 +0000 (02:53 -0500)]
[PATCH] ips fix for large mem 64bit machines

This patch fixes DMA bugs on x86-64 and ia64 machines.  The driver was
using commands that only support 32bit addresses in places that could
return 64bit addresses.  One place was DMAing off the stack.  The other
place was causing problems on x86-64 machines by calling pci_map()
functions on a region allocated by pci_alloc_consistent().

22 years ago[PATCH] ips 2/2: minor fixes
David Jeffery [Thu, 15 Jan 2004 07:51:50 +0000 (02:51 -0500)]
[PATCH] ips 2/2: minor fixes

This patch fixes two minor bugs.  It allows zero length write commands
through to devices.  It also prevents the writing of any  '\0'
characters at the end of version numbers to ips's /proc/scsi files.

22 years agoFix qla2xxx Kconfig dependency problem
James Bottomley [Thu, 15 Jan 2004 07:48:46 +0000 (02:48 -0500)]
Fix qla2xxx Kconfig dependency problem

22 years agoImport qla2xxx driver
James Bottomley [Thu, 15 Jan 2004 06:24:31 +0000 (01:24 -0500)]
Import qla2xxx driver

From: "Andrew Vasquez" <andrew.vasquez@qlogic.com>

With additional changes from: "James Bottomley" <James.Bottomley@SteelEye.com>,
                              "Christoph Hellwig" <hch@infradead.org>

This is the qlogic driver version 8.00.00b7 with the ioctl and failover code stripped
out and a few associated fixes put in.

22 years agog_NCR5380 - 2.6.0 - problem with reloading module
James Bottomley [Thu, 15 Jan 2004 05:23:57 +0000 (00:23 -0500)]
g_NCR5380 - 2.6.0 -  problem with reloading module

From: "Randy.Dunlap" <rddunlap@osdl.org>

The problem is that the detect function requests an IO region
of 16 bytes (at least when a command line override parameter is
used) but the release function only tries to release 8 bytes,
and this request isn't done because it doesn't match any allocated
IO region.  [NCR53C400 extensions are not enabled, so
NCR5380_region_size is 8, not 16, but the request uses
NCR5380_region_size regardless.]

Fix: save the allocated region size in instance->n_io_ports and release
   that size only;

22 years ago[AF_PACKET]: Fix bind()/setsockopt(PACKET_RX_RING) bug and socket leak.
Hirofumi Ogawa [Thu, 15 Jan 2004 04:00:37 +0000 (20:00 -0800)]
[AF_PACKET]: Fix bind()/setsockopt(PACKET_RX_RING) bug and socket leak.

This problem was the bug of packet_set_ring(). packet_set_ring()
removes the hook for preparation of ring buffer, but it didn't
restore.

Also it's leaking the refcount of sk.

22 years ago[netdrvr forcedeth] include linux/interrupt.h
Jeff Garzik [Wed, 14 Jan 2004 22:45:18 +0000 (17:45 -0500)]
[netdrvr forcedeth] include linux/interrupt.h

Fixes build on some platforms.

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/3c527
Jeff Garzik [Wed, 14 Jan 2004 22:22:39 +0000 (17:22 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/3c527
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/misc
Jeff Garzik [Wed, 14 Jan 2004 22:18:54 +0000 (17:18 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/misc
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[NET]: Fix uninlinable __sock_put call in net/sock.h
Andrew Morton [Wed, 14 Jan 2004 17:24:26 +0000 (09:24 -0800)]
[NET]: Fix uninlinable __sock_put call in net/sock.h

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.6
David S. Miller [Wed, 14 Jan 2004 17:20:42 +0000 (09:20 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.6

22 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Jeff Garzik [Wed, 14 Jan 2004 17:05:22 +0000 (12:05 -0500)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[IPV6]: Add notification for MIB:ipv6Prefix events.
Shirley Ma [Wed, 14 Jan 2004 17:01:45 +0000 (09:01 -0800)]
[IPV6]: Add notification for MIB:ipv6Prefix events.

22 years ago[IPV6]: Implement MIB:ipv6InterfaceTable
Shirley Ma [Wed, 14 Jan 2004 16:58:20 +0000 (08:58 -0800)]
[IPV6]: Implement MIB:ipv6InterfaceTable

22 years ago[NET]: dev_alloc_name() returns the number of the slot used, so comparison needs...
Stephen Hemminger [Wed, 14 Jan 2004 16:52:46 +0000 (08:52 -0800)]
[NET]: dev_alloc_name() returns the number of the slot used, so comparison needs to be < 0

22 years ago[DECNET]: Fix initialization race.
Stephen Hemminger [Wed, 14 Jan 2004 16:48:25 +0000 (08:48 -0800)]
[DECNET]: Fix initialization race.

Decnet exposes itself to proc and packets before it has finished initializing.
This was always a race, but the notifier replay might expose it worse.

22 years ago[ATM]: CLIP device discovery on init is not needed.
Stephen Hemminger [Wed, 14 Jan 2004 16:47:15 +0000 (08:47 -0800)]
[ATM]: CLIP device discovery on init is not needed.

22 years ago[IRDA]: Migrate TIOCMGET and TIOCMSET ioctls in IrCOMM to the new TTY API.
Jean Tourrilhes [Wed, 14 Jan 2004 16:24:32 +0000 (08:24 -0800)]
[IRDA]: Migrate TIOCMGET and TIOCMSET ioctls in IrCOMM to the new TTY API.

Patch from Russell King.

22 years ago[ATM]: better behavior for sendmsg/recvmsg during async closes
Chas Williams [Wed, 14 Jan 2004 16:21:19 +0000 (08:21 -0800)]
[ATM]: better behavior for sendmsg/recvmsg during async closes

22 years ago[NET]: net/flow.h needs asm/atomic.h
Herbert Xu [Wed, 14 Jan 2004 16:19:07 +0000 (08:19 -0800)]
[NET]: net/flow.h needs asm/atomic.h

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/atmel
Jeff Garzik [Wed, 14 Jan 2004 16:06:26 +0000 (11:06 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/atmel
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/airo
Jeff Garzik [Wed, 14 Jan 2004 16:04:23 +0000 (11:04 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/airo
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/pci200syn
Jeff Garzik [Wed, 14 Jan 2004 16:02:22 +0000 (11:02 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/pci200syn
into redhat.com:/spare/repo/net-drivers-2.5

22 years agoMerge redhat.com:/spare/repo/netdev-2.6/forcedeth
Jeff Garzik [Wed, 14 Jan 2004 16:00:37 +0000 (11:00 -0500)]
Merge redhat.com:/spare/repo/netdev-2.6/forcedeth
into redhat.com:/spare/repo/net-drivers-2.5

22 years ago[IEEE1394]: Sync file revisions.
Ben Collins [Wed, 14 Jan 2004 13:21:53 +0000 (08:21 -0500)]
[IEEE1394]: Sync file revisions.

22 years ago[IEEE1394]: Rework highlevel list locking to avoid blocking under spinlocks.
Ben Collins [Wed, 14 Jan 2004 13:15:54 +0000 (08:15 -0500)]
[IEEE1394]: Rework highlevel list locking to avoid blocking under spinlocks.

22 years ago[IEEE1394]: Fix test in ohci_soft_reset(), and handle hot-unplugged cardbus cards...
Ben Collins [Wed, 14 Jan 2004 13:14:33 +0000 (08:14 -0500)]
[IEEE1394]: Fix test in ohci_soft_reset(), and handle hot-unplugged cardbus cards better.

22 years ago[IEEE1394]: Per-host address space patch from Steve.
Ben Collins [Wed, 14 Jan 2004 13:12:50 +0000 (08:12 -0500)]
[IEEE1394]: Per-host address space patch from Steve.

22 years ago[IEEE1394]: Fix compilation when CONFIG_COMPAT is enabled (32/64 systems).
Ben Collins [Wed, 14 Jan 2004 13:11:20 +0000 (08:11 -0500)]
[IEEE1394]: Fix compilation when CONFIG_COMPAT is enabled (32/64 systems).

  This was broken by the last commit for cdev stuff which removed the
  "int ret;" that these routines used.

22 years ago[IEEE1394]: Use the right length when deregistering raw1394 char device.
Ben Collins [Wed, 14 Jan 2004 13:09:36 +0000 (08:09 -0500)]
[IEEE1394]: Use the right length when deregistering raw1394 char device.

22 years ago[IEEE1394]: Convert to cdev API.
Ben Collins [Wed, 14 Jan 2004 13:08:22 +0000 (08:08 -0500)]
[IEEE1394]: Convert to cdev API.

  Retire our char device dispatching logic.  With the 2.6 cdev API we
  can register much smaller device number regions, so we use that instead.

22 years ago[IEEE1394]: Spelling fix from Dominik Brodowski.
Ben Collins [Wed, 14 Jan 2004 13:06:34 +0000 (08:06 -0500)]
[IEEE1394]: Spelling fix from Dominik Brodowski.

22 years ago[IEEE1394]: Update OUI database as of Dec 31, 2003.
Ben Collins [Wed, 14 Jan 2004 13:04:31 +0000 (08:04 -0500)]
[IEEE1394]: Update OUI database as of Dec 31, 2003.

22 years ago[PATCH] Re: Building sym 2.1.18f on linux/alpha
Matthew Wilcox [Wed, 14 Jan 2004 06:47:05 +0000 (01:47 -0500)]
[PATCH] Re: Building sym 2.1.18f on linux/alpha

On Tue, Jan 13, 2004 at 06:02:08PM +0300, Sergey Tikhonov wrote:
> The final kernel could not pass linking stage with 2.1.18f version
> (included into 2.6.1 kernel patch).
> The linker complains that :
> drivers/built-in.o(.init.text+0x8cec): In function 'sym2_probe':
> : undfined reference to 'local symbols in discarded section .exit.text'
>
> I compared arch/alpha/kernel/vmlinux.lds.S with one from the i386 tree.
> The '.exit.text' and '.exit.data'
> sections were moved out of DISCARD attributes in the i386 version. I did
> the same with alpha version
> and it helped.

Thanks for this report; you uncovered a real bug.  Actually two real
bugs; one is that parisc is not discarding the .init.text and .exit.text
sections (so I didn't notice this bug) and the other is that sym_detach
is marked __devexit, yet called from a __devinit function.

22 years agoMerge nuts.ninka.net:/disk1/davem/BK/bluetooth-2.6
David S. Miller [Wed, 14 Jan 2004 05:17:19 +0000 (21:17 -0800)]
Merge nuts.ninka.net:/disk1/davem/BK/bluetooth-2.6
into nuts.ninka.net:/disk1/davem/BK/net-2.6

22 years agoMerge
David S. Miller [Wed, 14 Jan 2004 05:01:58 +0000 (21:01 -0800)]
Merge

22 years ago[Bluetooth] Change maintainer role of the Bluetooth subsystem
Marcel Holtmann [Wed, 14 Jan 2004 21:15:16 +0000 (22:15 +0100)]
[Bluetooth] Change maintainer role of the Bluetooth subsystem

This patch updates the CREDITS and MAINTAINERS files to reflect the change
of the maintainer role for the Bluetooth subsystem.

22 years ago[Bluetooth] Start inquiry if cache is empty
Marcel Holtmann [Wed, 14 Jan 2004 21:00:10 +0000 (22:00 +0100)]
[Bluetooth] Start inquiry if cache is empty

If the inquiry cache is empty it makes no sense to return zero number of
inquiry result even if the age of cache is not outdated.

22 years ago[PATCH] ia64: quiet down SMP boot messages
Jes Sorensen [Wed, 14 Jan 2004 03:26:25 +0000 (19:26 -0800)]
[PATCH] ia64: quiet down SMP boot messages

This patch gets rid of some superfluous printk's which get tedious on
machines with insane number of CPUs.  The virtual/physical address bit
info is already available via /proc/pal, so there is no need to print
it at boot- time.

22 years ago[PATCH] ia64: move HCDP under serial console #ifdef
Bjorn Helgaas [Wed, 14 Jan 2004 03:18:29 +0000 (19:18 -0800)]
[PATCH] ia64: move HCDP under serial console #ifdef

Currently you can select HCDP independent of serial console.  This
doesn't seem very useful, and makes the setup_serial_hcdp() reference
unresolved if the serial driver is built as a module.

CONFIG_SERIAL_8250_CONSOLE is only selectable if the serial core is
built in (SERIAL_8250=y), so this patch makes sure we don't try to
call setup_serial_hcdp() unless it is actually built in to the kernel.

(I think we should also make HCDP selection dependent on
SERIAL_8250_CONSOLE=y in Kconfig; I'll send a separate patch
for that since it's not ia64-specific.)

22 years agoia64: Patch by Bjorn Helgaas: acpi_register_irq() must be exported to enable
David Mosberger [Wed, 14 Jan 2004 03:09:46 +0000 (19:09 -0800)]
ia64: Patch by Bjorn Helgaas: acpi_register_irq() must be exported to enable
      modular ACPI device drivers.

22 years ago[PATCH] ia64: system type Kconfig cleanup
Bjorn Helgaas [Wed, 14 Jan 2004 03:02:45 +0000 (19:02 -0800)]
[PATCH] ia64: system type Kconfig cleanup

Fix system type selection to workaround menuconfig bug (select "HP",
get "HP-simulator").

22 years ago[PATCH] ia64: header cleanup
Jes Sorensen [Wed, 14 Jan 2004 02:56:03 +0000 (18:56 -0800)]
[PATCH] ia64: header cleanup

I fixed the code to compile with CONFIG_ACPI_NUMA and
!CONFIG_DISCONTIG since it's actually possible to compile that
configuration as well as cleaned up the #include usage a litte.

22 years ago[Bluetooth] Fix reference counting for incoming connections
Marcel Holtmann [Wed, 14 Jan 2004 01:34:23 +0000 (02:34 +0100)]
[Bluetooth] Fix reference counting for incoming connections

The L2CAP reference counting must be increased by the RFCOMM module if an
incoming connection is accepted. If this is not done, it will be decreased
one time to often if the connection is terminated.

22 years ago[XFRM]: In xfrm_lookup(), schedule() before retrying template resolution.
Krishna Kumar [Tue, 13 Jan 2004 15:30:48 +0000 (07:30 -0800)]
[XFRM]: In xfrm_lookup(), schedule() before retrying template resolution.

22 years ago[XFRM_USER]: xfrm_state_construct() needs to set x->km.state to XFRM_STATE_DEAD.
Krishna Kumar [Tue, 13 Jan 2004 15:28:33 +0000 (07:28 -0800)]
[XFRM_USER]: xfrm_state_construct() needs to set x->km.state to XFRM_STATE_DEAD.

Otherwise this can lead to the BUG_TRAP in __xfrm_state_destroy when
xfrm_state_put() finds this is the last reference.

22 years ago[XFRM]: Fix two bugs in xfrm_lookup()
Krishna Kumar [Tue, 13 Jan 2004 15:26:01 +0000 (07:26 -0800)]
[XFRM]: Fix two bugs in xfrm_lookup()

- the found or allocated xfrm_states are not passed correctly to
  xfrm_bundle_create (and to the subsequent frees in case of create
  failing) if the first xfrm_tmpl_resolve failed and the second one
  succeeded.
- error handling is wrong.

22 years ago[AF_KEY]: In pfkey_get(), do not dereference xfrm_state after it is put.
Krishna Kumar [Tue, 13 Jan 2004 15:24:40 +0000 (07:24 -0800)]
[AF_KEY]: In pfkey_get(), do not dereference xfrm_state after it is put.

22 years ago[IPCOMP]: Set x->km.state to XFRM_STATE_DEAD in ipcomp_tunnel_create().
Krishna Kumar [Tue, 13 Jan 2004 15:23:17 +0000 (07:23 -0800)]
[IPCOMP]: Set x->km.state to XFRM_STATE_DEAD in ipcomp_tunnel_create().

Otherwise we can trigger the BUG trap in __xfrm_state_destroy() when
xfrm_state_put() finds this is the last reference.

22 years ago[LAPBETHER]: Remove pre-existing device discovery loop
Stephen Hemminger [Tue, 13 Jan 2004 08:38:53 +0000 (00:38 -0800)]
[LAPBETHER]: Remove pre-existing device discovery loop

Remove duplicate/conflicting code
now that netdev_register_notifier replays the device registration events.

22 years ago[BPQETHER]: Remove pre-existing device discovery loop
Stephen Hemminger [Tue, 13 Jan 2004 08:38:13 +0000 (00:38 -0800)]
[BPQETHER]: Remove pre-existing device discovery loop

Remove duplicate/conflicting code now that netdev_register_notifier replays the
device registration events. Reorder initialization to avoid having to simplify error unwind
if /proc creation failed.

22 years ago[X25]: Remove pre-existing device discovery loop
Stephen Hemminger [Tue, 13 Jan 2004 08:37:26 +0000 (00:37 -0800)]
[X25]: Remove pre-existing device discovery loop

Remove duplicate/conflicting code
now that netdev_register_notifier replays the device registration events.

22 years ago[IPV6]: Notifier replay changes
Stephen Hemminger [Tue, 13 Jan 2004 08:36:35 +0000 (00:36 -0800)]
[IPV6]: Notifier replay changes

Change IPV6 to handle the new case where netdev events are replayed on registration:
* change code ordering so address configuration is ready before registration
  (this was actually a bug in existing code)
* take out code that capture's existing devices, this is now done in the replay
* make notifier code local to addrconf.c so it can be have smaller scope

22 years ago[NET]: When registering a new notifier, rebroadcast REGISTER and UP events.
Stephen Hemminger [Tue, 13 Jan 2004 08:33:15 +0000 (00:33 -0800)]
[NET]: When registering a new notifier, rebroadcast REGISTER and UP events.

22 years ago[ATM]: [nicstar] convert to new style pci module (by "Jorge Boncompte [DTI2]" <jorge...
Chas Williams [Tue, 13 Jan 2004 08:28:21 +0000 (00:28 -0800)]
[ATM]: [nicstar] convert to new style pci module (by "Jorge Boncompte [DTI2]" <jorge@dti2.net>)

22 years ago[NETFILTER]: Add config help texts for IP_NF_ARP{TABLES,FILTER}
Harald Welte [Tue, 13 Jan 2004 08:26:26 +0000 (00:26 -0800)]
[NETFILTER]: Add config help texts for IP_NF_ARP{TABLES,FILTER}

22 years ago[NET]: Add SIOCSIGNAME wildcarding and name validation, with help from Jean Tourrilhes.
Stephen Hemminger [Tue, 13 Jan 2004 08:24:09 +0000 (00:24 -0800)]
[NET]: Add SIOCSIGNAME wildcarding and name validation, with help from Jean Tourrilhes.

22 years ago[NET]: Convert /proc/net/dev_mcast to seq_file.
Stephen Hemminger [Tue, 13 Jan 2004 08:23:04 +0000 (00:23 -0800)]
[NET]: Convert /proc/net/dev_mcast to seq_file.

22 years ago[BRIDGE]: Use dev_base_lock while traversing netdev list.
Stephen Hemminger [Tue, 13 Jan 2004 08:22:10 +0000 (00:22 -0800)]
[BRIDGE]: Use dev_base_lock while traversing netdev list.

22 years ago[IPV4/IPV6]: In MLD, add new filter first, then delete old one.
David Stevens [Tue, 13 Jan 2004 08:18:05 +0000 (00:18 -0800)]
[IPV4/IPV6]: In MLD, add new filter first, then delete old one.

22 years ago[IPV4]: Check for netdev alloc failure in ipmr.c
Raj [Tue, 13 Jan 2004 08:06:25 +0000 (00:06 -0800)]
[IPV4]: Check for netdev alloc failure in ipmr.c

22 years ago[COMPAT]: Support wireless ioctls, with help from Clint Adams.
David S. Miller [Tue, 13 Jan 2004 07:46:26 +0000 (23:46 -0800)]
[COMPAT]: Support wireless ioctls, with help from Clint Adams.

22 years ago[COMPAT]: Mark SIOCSIFNAME as compatible ioctl.
Andi Kleen [Tue, 13 Jan 2004 07:04:43 +0000 (23:04 -0800)]
[COMPAT]: Mark SIOCSIFNAME as compatible ioctl.

22 years ago[Bluetooth] Set disconnect timer for incoming ACL links
Marcel Holtmann [Tue, 13 Jan 2004 05:17:12 +0000 (06:17 +0100)]
[Bluetooth] Set disconnect timer for incoming ACL links

In general a Bluetooth stack that creates an ACL link should also take
care of its termination, but some Bluetooth devices think otherwise. The
problem is that the Bluetooth specification don't defines an ownership
of an ACL link and if nobody cares about it, two devices stay connected
even if there is no need. To avoid leftover ACL links the disconnect
timer must also be used for incoming connections, but it is set twice
the default disconnect timeout so the other side get enough time to
clean everything by itself.