]> git.hungrycats.org Git - linux/log
linux
23 years ago[VLAN]: Fix memory leak in procfs handling.
Oleg Drokin [Sun, 9 Mar 2003 06:00:34 +0000 (22:00 -0800)]
[VLAN]: Fix memory leak in procfs handling.

23 years ago[CRYPTO]: Documentation updates.
James Morris [Sat, 8 Mar 2003 07:26:13 +0000 (23:26 -0800)]
[CRYPTO]: Documentation updates.

23 years ago[ATM]: Add missing $(obj) to driver makefile.
David S. Miller [Sat, 8 Mar 2003 05:46:35 +0000 (21:46 -0800)]
[ATM]: Add missing $(obj) to driver makefile.

23 years ago[ATM]: Obsolete some atm_vcc members.
Chas Williams [Sat, 8 Mar 2003 05:09:26 +0000 (21:09 -0800)]
[ATM]: Obsolete some atm_vcc members.

23 years ago[ATM]: Get lec net_device names correct.
Chas Williams [Sat, 8 Mar 2003 05:03:35 +0000 (21:03 -0800)]
[ATM]: Get lec net_device names correct.

23 years ago[CRYPTO]: Eliminate crypto_tfm.crt_ctx, from Adam Richter.
James Morris [Sat, 8 Mar 2003 03:46:27 +0000 (19:46 -0800)]
[CRYPTO]: Eliminate crypto_tfm.crt_ctx, from Adam Richter.

23 years ago[CRYPTO]: Add encrypt_iv() and decrypt_iv() methods.
James Morris [Sat, 8 Mar 2003 03:44:09 +0000 (19:44 -0800)]
[CRYPTO]: Add encrypt_iv() and decrypt_iv() methods.

23 years ago[NETFILTER]: C99 initializers for ipv4 netfilter.
Art Haas [Sat, 8 Mar 2003 03:41:25 +0000 (19:41 -0800)]
[NETFILTER]: C99 initializers for ipv4 netfilter.

23 years ago[NETFILTER]: C99 initializers for ipv6 netfilter.
Art Haas [Sat, 8 Mar 2003 03:40:27 +0000 (19:40 -0800)]
[NETFILTER]: C99 initializers for ipv6 netfilter.

23 years ago[NET]: Nuke SO_BSDCOMPAT.
James Morris [Sat, 8 Mar 2003 03:39:11 +0000 (19:39 -0800)]
[NET]: Nuke SO_BSDCOMPAT.

23 years ago[TCP]: Commonize duplicated code into a new function, tcp_bucket_destroy.
James Morris [Sat, 8 Mar 2003 03:38:01 +0000 (19:38 -0800)]
[TCP]: Commonize duplicated code into a new function, tcp_bucket_destroy.

23 years ago[CRYPTO]: Move km_types out of header.
James Morris [Sat, 8 Mar 2003 03:34:54 +0000 (19:34 -0800)]
[CRYPTO]: Move km_types out of header.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/network-2.5
David S. Miller [Sat, 8 Mar 2003 03:30:21 +0000 (19:30 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/network-2.5
into nuts.ninka.net:/home/davem/src/BK/net-2.5

23 years ago[PATCH] 6/6 cacheline align files_lock
Martin J. Bligh [Sat, 8 Mar 2003 02:24:13 +0000 (18:24 -0800)]
[PATCH] 6/6 cacheline align files_lock

I'm getting a lot of cacheline bounce from .text.lock.file_table due to
false sharing of the cahceline. The following patch just aligns the lock
in it's own cacheline.

23 years ago[PATCH] 5/6 Provide basic documentation for profiling
Martin J. Bligh [Sat, 8 Mar 2003 02:24:04 +0000 (18:24 -0800)]
[PATCH] 5/6 Provide basic documentation for profiling

People keep asking for this info, and Andrew asked me to put it under the
Documentation directory ... provides really simple instructions for taking
a profile so that users can report performance changes in a useful way.

23 years ago[PATCH] 4/6 Fix the type of get_zholes_size for NUMA-Q
Martin J. Bligh [Sat, 8 Mar 2003 02:23:57 +0000 (18:23 -0800)]
[PATCH] 4/6 Fix the type of get_zholes_size for NUMA-Q

From Andy Whitcroft

Fix the type of get_zholes_size for NUMA-Q

23 years ago[PATCH] 3/6 Convert physnode_map to u8
Martin J. Bligh [Sat, 8 Mar 2003 02:23:49 +0000 (18:23 -0800)]
[PATCH] 3/6 Convert physnode_map to u8

From Andy Whitcroft

Convert physnode_map from an int to a u8 to save cachelines.

23 years ago[PATCH] 2/6 Make CONFIG_NUMA work on non-numa machines.
Martin J. Bligh [Sat, 8 Mar 2003 02:23:42 +0000 (18:23 -0800)]
[PATCH] 2/6 Make CONFIG_NUMA work on non-numa machines.

From Andy Whitcroft

A few very simple changes in order to make CONFIG_NUMA work everywhere, so
the distros can build one common binary kernel for distributions.

23 years ago[PATCH] 1/6 Share common physnode_map code between NUMA-Q and Summit
Martin J. Bligh [Sat, 8 Mar 2003 02:23:33 +0000 (18:23 -0800)]
[PATCH] 1/6 Share common physnode_map code between NUMA-Q and Summit

From Andy Whitcroft

Share a common physnode_map structure between NUMA-Q and Summit.

23 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.5
Linus Torvalds [Sat, 8 Mar 2003 00:36:09 +0000 (16:36 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://linux-dj.bkbits.net/watchdog
Linus Torvalds [Fri, 7 Mar 2003 23:58:29 +0000 (15:58 -0800)]
Merge bk://linux-dj.bkbits.net/watchdog
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[WATCHDOG] amd7xx_tco updates from Zwane, and nuke EXPORT_NO_SYMBOLS
Dave Jones [Sat, 8 Mar 2003 08:46:47 +0000 (07:46 -0100)]
[WATCHDOG] amd7xx_tco updates from Zwane, and nuke EXPORT_NO_SYMBOLS

23 years agoMerge http://linux-isdn.bkbits.net/linux-2.5.isdn
Linus Torvalds [Fri, 7 Mar 2003 23:48:12 +0000 (15:48 -0800)]
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Fri, 7 Mar 2003 23:44:17 +0000 (15:44 -0800)]
Merge davem@nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into kernel.bkbits.net:/home/davem/sparc-2.5

23 years ago[SPARC64]: Make sure update_process_times runs inside of irq_{enter,exit} region.
David S. Miller [Fri, 7 Mar 2003 23:53:17 +0000 (15:53 -0800)]
[SPARC64]: Make sure update_process_times runs inside of irq_{enter,exit} region.

23 years ago[PATCH] no need for kernel_flag on UP
Robert Love [Fri, 7 Mar 2003 23:42:49 +0000 (15:42 -0800)]
[PATCH] no need for kernel_flag on UP

This is a minor cleanup.  We currently define and declare the BKL's
kernel_flag spinlock on either SMP or PREEMPT, which means a UP+PREEMPT
machine gets it.

We only need the actual lock on SMP.

23 years agoMerge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5
Kai Germaschewski [Fri, 7 Mar 2003 15:53:08 +0000 (09:53 -0600)]
Merge tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5
into tp1.ruhr-uni-bochum.de:/scratch/kai/kernel/v2.5/linux-2.5.isdn

23 years ago[SPARC64]: Translate AUTOFS_IOC_EXPIRE_MULTI ioctl.
Marcel Holtmann [Fri, 7 Mar 2003 15:01:14 +0000 (07:01 -0800)]
[SPARC64]: Translate AUTOFS_IOC_EXPIRE_MULTI ioctl.

23 years agoIgnore initramfs cpio file
Linus Torvalds [Fri, 7 Mar 2003 11:37:53 +0000 (03:37 -0800)]
Ignore initramfs cpio file

23 years agoAvoid warning due to missing return value
Linus Torvalds [Fri, 7 Mar 2003 11:36:34 +0000 (03:36 -0800)]
Avoid warning due to missing return value

23 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 7 Mar 2003 11:26:50 +0000 (03:26 -0800)]
[SPARC64]: Update defconfig.

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
David S. Miller [Fri, 7 Mar 2003 11:19:26 +0000 (03:19 -0800)]
Merge nuts.ninka.net:/home/davem/src/BK/sparcwork-2.5
into nuts.ninka.net:/home/davem/src/BK/sparc-2.5

23 years ago[SPARC64]: Use pci_remove_bus_device to delete, found by Ben Collins.
David S. Miller [Fri, 7 Mar 2003 11:08:39 +0000 (03:08 -0800)]
[SPARC64]: Use pci_remove_bus_device to delete, found by Ben Collins.

23 years ago[FRAMEBUFFER]: Convert SBUS LEO driver to new APIs.
David S. Miller [Fri, 7 Mar 2003 10:43:11 +0000 (02:43 -0800)]
[FRAMEBUFFER]: Convert SBUS LEO driver to new APIs.

23 years agoMerge bk://kernel.bkbits.net/gregkh/linux/initramfs-2.5
Linus Torvalds [Fri, 7 Mar 2003 09:10:08 +0000 (01:10 -0800)]
Merge bk://kernel.bkbits.net/gregkh/linux/initramfs-2.5
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agokbuild: handle any failures of the gen_init_cpio or initramfs image to stop the build.
Greg Kroah-Hartman [Fri, 7 Mar 2003 08:46:13 +0000 (00:46 -0800)]
kbuild: handle any failures of the gen_init_cpio or initramfs image to stop the build.

This also shows how to add files to the initramfs build, but is
commented out.

Patch originally done by Kai.

23 years agogen_init_cpio: Add the ability to add files to the cpio image.
Greg Kroah-Hartman [Fri, 7 Mar 2003 08:39:06 +0000 (00:39 -0800)]
gen_init_cpio: Add the ability to add files to the cpio image.

23 years ago[SPARC]: One too many chars in INIT_C_CC
David S. Miller [Fri, 7 Mar 2003 07:37:48 +0000 (23:37 -0800)]
[SPARC]: One too many chars in INIT_C_CC

23 years agoMerge bk://cifs.bkbits.net/linux-2.5cifs
Linus Torvalds [Fri, 7 Mar 2003 07:20:43 +0000 (23:20 -0800)]
Merge bk://cifs.bkbits.net/linux-2.5cifs
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux

23 years agoFix oops in getdfs when null path passed in on mount. Fix oops when changed readsize...
Steve French [Fri, 7 Mar 2003 11:01:46 +0000 (05:01 -0600)]
Fix oops in getdfs when null path passed in on mount.  Fix oops when changed readsize caused readpages problem.  Add support for altering rsize so can reduce pages read across net
below default of 4

23 years ago[PATCH] "interactivity changes", sched-2.5.64-B2
Ingo Molnar [Fri, 7 Mar 2003 04:19:30 +0000 (20:19 -0800)]
[PATCH] "interactivity changes", sched-2.5.64-B2

This fixes the SMP runqueue locking bug when updating the wakers
priority.  It also includes:

 - only update the priority and do a requeueing if the sleep average has
   changed. (this does not happen for pure CPU hogs or pure interactive
   tasks, so no need to requeue/recalc-prio in that case.) [All the
   necessary values are available at that point already, so gcc should
   have an easy job making this branch really cheap.]

 - do not do a full task activation in the migration-thread path - that is
   supposed to be near-atomic anyway.

 - fix up comments

I solved the SMP locking bug by moving the requeueing outside of
try_to_wake_up().  It does not matter that the priority update is not
atomically done now, since the current process wont do anything
inbetween.  (well, it could get preempted in a preemptible kernel, but
even that wont do any harm.)

23 years ago[PATCH] Turn off aio printk meant for debugging (2.5.64)
Stephen Hemminger [Fri, 7 Mar 2003 02:43:32 +0000 (18:43 -0800)]
[PATCH] Turn off aio printk meant for debugging (2.5.64)

The following messages are of interest only when debugging aio.
Otherwise, they are just console clutter.

23 years ago[PATCH] fs/locks.c: fix bugs
Matthew Wilcox [Fri, 7 Mar 2003 02:43:25 +0000 (18:43 -0800)]
[PATCH] fs/locks.c: fix bugs

- Remove broken lock accounting
- Introduce __locks_delete_block()
- Stop using kdevname()
- Fix locks_remove_posix()

23 years ago[PATCH] more "interactivity changes", sched-B2
Ingo Molnar [Fri, 7 Mar 2003 02:41:00 +0000 (18:41 -0800)]
[PATCH] more "interactivity changes", sched-B2

 - fix a (now-) bug in kernel/softirq.c, it did a wakeup outside any
   atomic regions, which falsely identified random processes as a
   non-atomic wakeup, and which causes random priority boost to be
   distributed.

 - reset the initial idle thread's priority back to PRIO_MAX after doing
   the wakeup_forked_process() - correct preemption relies on this.

 - update current->prio immediately after a backboost.

 - clean up effective_prio() & sleep_avg calculations so that there are
   fewer RT-task special cases.  This has the advantage of the sleep_avg
   being maintained even for RT tasks - this could be advantegous for
   tasks that briefly enter/exit RT mode.

23 years ago[PATCH] memleak in drivers/char/vt.c
Oleg Drokin [Fri, 7 Mar 2003 00:42:40 +0000 (16:42 -0800)]
[PATCH] memleak in drivers/char/vt.c

Seems there is a memleak on error exit path in drivers/char/vt.c, here's
the patch.  Found with help of smatch + enhanced unfree script.

23 years ago[PATCH] NUMA scheduler breakage
Ingo Molnar [Thu, 6 Mar 2003 23:48:46 +0000 (15:48 -0800)]
[PATCH] NUMA scheduler breakage

__activate_task() and wake_up_forked_process() should call
nr_running_inc(rq) rather than doing a rq->nr_running++.

Noted by Rick Lindsley

23 years ago[PATCH] Fix arch/alpha/vmlinux.lds.S typos.
Marc Zyngier [Thu, 6 Mar 2003 23:44:05 +0000 (15:44 -0800)]
[PATCH] Fix arch/alpha/vmlinux.lds.S typos.

The console initcall patch that went in contains a typo that prevents
alpha from building.

23 years ago[PATCH] Fix fs/binfmt_elf.c build
Marc Zyngier [Thu, 6 Mar 2003 23:43:58 +0000 (15:43 -0800)]
[PATCH] Fix fs/binfmt_elf.c build

The stack reducing patch that recently went in prevent alpha from
building (missing some ELF_CORE_COPY_XFPREGS ifdefs). The excluded
patch fixes it.

23 years ago[PATCH] noirqbalance still doesn't do anything
Zwane Mwaikambo [Thu, 6 Mar 2003 23:43:51 +0000 (15:43 -0800)]
[PATCH] noirqbalance still doesn't do anything

This one simply sets TARGET_CPUS to cpu_callout_map instead of
cpu_online_map so that when we finally do boot we actually use the other
cpus for servicing interrupts.

23 years ago[PATCH] revert pfn_to_nid change.
Martin J. Bligh [Thu, 6 Mar 2003 23:43:45 +0000 (15:43 -0800)]
[PATCH] revert pfn_to_nid change.

This change was wrong. pfn_to_nid is a macro.

23 years ago[PATCH] Fix NUMA scheduler problem after interactivity merge
Martin J. Bligh [Thu, 6 Mar 2003 23:43:37 +0000 (15:43 -0800)]
[PATCH] Fix NUMA scheduler problem after interactivity merge

NODE_THRESHOLD got accidentally dropped in the interactive scheduler
changes merge. This puts it back.

23 years ago[PATCH] Squash warning in ohci-pci.c on PowerBooks
David Gibson [Thu, 6 Mar 2003 23:43:30 +0000 (15:43 -0800)]
[PATCH] Squash warning in ohci-pci.c on PowerBooks

Apple PowerBooks want <asm/prom.h> in ohci-pci.c for the prototype of
pci_device_to_OF_node().  This patch adds it to the already present
list of PowerBook specific #includes:

23 years ago[PATCH] Squash warnings in usb-serial.c
David Gibson [Thu, 6 Mar 2003 23:43:23 +0000 (15:43 -0800)]
[PATCH] Squash warnings in usb-serial.c

This squashes (gcc-3.2) "label and end of compound statement
deprecated" warnings in usb-serial.c.

23 years agoMerge http://lia64.bkbits.net/to-linus-2.5
Linus Torvalds [Thu, 6 Mar 2003 23:39:16 +0000 (15:39 -0800)]
Merge http://lia64.bkbits.net/to-linus-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoMerge bk://ldm.bkbits.net/linux-2.5-core
Linus Torvalds [Thu, 6 Mar 2003 23:36:24 +0000 (15:36 -0800)]
Merge bk://ldm.bkbits.net/linux-2.5-core
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years agoISDN/HiSax: Remove amd7930.c
Kai Germaschewski [Thu, 6 Mar 2003 19:23:06 +0000 (13:23 -0600)]
ISDN/HiSax: Remove amd7930.c

This has been around for many years but was never finished. No
need to carry it on to yet another stable kernel.

23 years agoISDN/HiSax: Get rid of CARD_* defines
Kai Germaschewski [Thu, 6 Mar 2003 19:20:29 +0000 (13:20 -0600)]
ISDN/HiSax: Get rid of CARD_* defines

hisax.h defined a CARD_* macro for each CONFIG option, which
is totally unnecessary, just use the CONFIG option directly.

23 years agoISDN/HiSax: Remove unused ISDN_CHIP_* macros
Kai Germaschewski [Thu, 6 Mar 2003 19:08:04 +0000 (13:08 -0600)]
ISDN/HiSax: Remove unused ISDN_CHIP_* macros

They were only defined, never used.

23 years agoISDN/HiSax: config.c cleanup
Kai Germaschewski [Thu, 6 Mar 2003 19:04:07 +0000 (13:04 -0600)]
ISDN/HiSax: config.c cleanup

Consolidate allocation / freeing of various data structures into
one function.

23 years agoISDN/HiSax: Introduce probe() functions
Kai Germaschewski [Thu, 6 Mar 2003 18:56:03 +0000 (12:56 -0600)]
ISDN/HiSax: Introduce probe() functions

Just separate the setup_*() functions of hisax subdrivers
into calls to *_probe() functions, a step towards using
standard initialization and modularization of hisax.

23 years agoMerge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
Patrick Mochel [Thu, 6 Mar 2003 14:37:01 +0000 (08:37 -0600)]
Merge osdl.org:/home/mochel/src/kernel/devel/linux-2.5-virgin
into osdl.org:/home/mochel/src/kernel/devel/linux-2.5-core

23 years ago[PATCH] ia64: IA32 support without sysctl doesn't work lia64-v2.5.64
Bjorn Helgaas [Thu, 6 Mar 2003 14:28:14 +0000 (06:28 -0800)]
[PATCH] ia64: IA32 support without sysctl doesn't work

Make CONFIG_SYSCTL control sys32_sysctl as well.  Based on a patch from Peter Chubb.

23 years agoia64: Minor formatting/whitespace fixes in ia64-version of acpi.c.
David Mosberger [Thu, 6 Mar 2003 14:21:44 +0000 (06:21 -0800)]
ia64: Minor formatting/whitespace fixes in ia64-version of acpi.c.

23 years agosysfs: Fix binary file handling.
Patrick Mochel [Thu, 6 Mar 2003 14:21:40 +0000 (08:21 -0600)]
sysfs: Fix binary file handling.

From Rusty Lynch:

* makes sysfs cleanup the buffer->data allocated by the attribute write
functions
* fixes a bug that causes the kernel to oops when somebody attempts to
write to the file.

23 years agosysfs: fix up directory removal, once and for all.
Patrick Mochel [Thu, 6 Mar 2003 14:19:40 +0000 (08:19 -0600)]
sysfs: fix up directory removal, once and for all.

This patch was previously integrated, but dropped erroneously by a bk
merge.

This fixes file cleanup during a sysfs directory removal by deleting files
from ->d_subdirs as they're iterated over, then checking if we can get a
reference on them.

23 years ago[PATCH] ia64: ACPI fix for no PCI
Jesse Barnes [Thu, 6 Mar 2003 14:17:03 +0000 (06:17 -0800)]
[PATCH] ia64: ACPI fix for no PCI

Andy Grover told me this should be posted here.  It allows ACPI to
compile even with PCI turned off.  Patch against 2.5.60.

23 years ago[PATCH] ia64: compat_sys_futex() support
Stephen Rothwell [Thu, 6 Mar 2003 14:04:54 +0000 (06:04 -0800)]
[PATCH] ia64: compat_sys_futex() support

ia 64 part of the patch.  This gives you a 32 bit version of sys_futex (hopefully).

23 years agoFix a very theoretical race between the new RCU lookup and
Linus Torvalds [Thu, 6 Mar 2003 13:29:33 +0000 (05:29 -0800)]
Fix a very theoretical race between the new RCU lookup and
concurrent renames in another directory.

I doubt this can be triggered in practice, and the fix is
a bit heavy-handed, but let's see if numbers can show that
the simple fix doesn't show any real lock contention.

23 years agoFix "con_init()" function type and stale (and incorrect) declaration
Linus Torvalds [Thu, 6 Mar 2003 13:27:20 +0000 (05:27 -0800)]
Fix "con_init()" function type and stale (and incorrect) declaration

23 years ago[PATCH] missing include
Anton Blanchard [Thu, 6 Mar 2003 13:12:44 +0000 (05:12 -0800)]
[PATCH] missing include

list.h must now include stddef since it uses NULL.

23 years agoia64: Fix several small bugs/omissions from the 2.5.64 sync.
David Mosberger [Thu, 6 Mar 2003 13:11:54 +0000 (05:11 -0800)]
ia64: Fix several small bugs/omissions from the 2.5.64 sync.

23 years ago[PATCH] bootsect removal
H. Peter Anvin [Thu, 6 Mar 2003 09:57:26 +0000 (01:57 -0800)]
[PATCH] bootsect removal

This is the "boot sector removal" patch for i386 updated for Linux
2.5.63-bk7.  The only change against the 2.5.59 version is that the
FDOPTS Makefile variable, which lets one create a floppy image with
arbitrary kernel options, has been merged from the x86-64 version, and
the comments have been updated.

The patch removes the in-kernel boot sector, which these days rarely
work correctly (it only supports up to 1 MB kernels, and only work on
legacy floppies -- not on IDE or USB devices, nor on any kind of
emulated devices like El Torito), replaces it with a placeholder stub,
and sets up the Makefile targets to create floppies or floppy images
using SYSLINUX.  The FDOPTS Makefile variable can be used to set
kernel command line options (thanks to a suggestion by Andi Kleen.)

Note that the same change has already been applied to the x86-64
architecture.  The last hunk of the patch corrects a comment in that
architecture.

23 years ago[PATCH] Fix up pci_scan_bridge and friends
Russell King [Thu, 6 Mar 2003 09:49:37 +0000 (01:49 -0800)]
[PATCH] Fix up pci_scan_bridge and friends

  Now we tackle pci_add_new_bus and pci_scan_bridge.  The hotplug code
  currently uses this, but I'd like it to die off; pci_scan_bridge()
  should be used to scan behind bridges.  This may mean hotplug needs
  some changes to pci_scan_bridge - if so, we need to find out what
  changes are required and fix it.

  pci_alloc_child_bus() does what pci_add_new_bus() did, except it
  doesn't attach the new bus to the parents list of child buses.  The
  only way this bus can be reached from the parent bus is by scanning
  the parents devices list, and locating a device with a non-NULL
  subordinate bus.  The only code which should be doing this is the
  PCI code.

  Since the new bus will have an empty list head for bus->node, we can
  detect unattached buses prety easily.  (see pci-3.diff.)

  pci_scan_bridge() changes slightly - we use our new pci_scan_child_bus()
  function from pci-3.diff, which doesn't attach devices to the global
  tree.  This means callers of pci_scan_child_bus() and pci_scan_bridge()
  (ie, hotplug) will need to call pci_bus_add_devices().

23 years ago[PATCH] Convert setup-bus resource allocation to use bus->devices
Russell King [Thu, 6 Mar 2003 09:49:30 +0000 (01:49 -0800)]
[PATCH] Convert setup-bus resource allocation to use bus->devices

- Convert setup-bus.c resource allocation to scan bus->devices rather
  than bus->children.  As noted previously, newly discovered child
  buses will not be on the parents list of children buses, so when
  we're trying to assign resources, we need to scan the bus for
  devices with subordinate buses rather than using the list of children
  buses.

23 years ago[PATCH] Only add devices to bus->devices while scanning...
Russell King [Thu, 6 Mar 2003 09:49:22 +0000 (01:49 -0800)]
[PATCH] Only add devices to bus->devices while scanning...

  The pci_find* functions search using the following lists:
        bus->children   (for subordinate buses)
        pci_root_buses  (for all root buses)
        pci_devices     (for devices)

  This leaves one list which we can add devices to without any drivers
  finding the new devices before we've finished with them.

- initialise bus->node list head.

- pci_scan_slot will scan the specified slot, and add the discovered
  devices to the bus->devices list only.  These devices will not
  appear on the global device list, and do not show in sysfs, procfs.
  pci_scan_slot returns the number of functions found.  If you want
  to find the devices, you have to scan bus->devices and look for
  devices where list_empty(&dev->global_list) is true.

- new function "pci_bus_add_devices" adds newly discovered devices
  to the global device lists, and handles the sysfs and procfs
  stuff, making the devices available to drivers.  All our buses
  which have an empty list head are treated as "new" (since they
  are not attached to the parent buses list of children) and are
  also added.  Currently, no buses will be in this state when this
  function is called.

- new function "pci_scan_child_bus" scans a complete bus, building
  a list of devices on bus->devices only, performing bus fixups
  via pcibios_fixup_bus() and scanning behind bridges.  It does
  make devices externally visible.

- pci_do_scan_bus retains its original behaviour - ie, it scans
  and makes devices available immediately.

23 years ago[PATCH] Eliminate stack allocation of struct pci_dev...
Russell King [Thu, 6 Mar 2003 09:49:14 +0000 (01:49 -0800)]
[PATCH] Eliminate stack allocation of struct pci_dev...

- Eliminate the stack allocation of a struct pci_dev, and make
  pci_scan_slot() take a bus and a devfn argument.
- Add "dev->multifunction" to indicate whether this is a multifunction
  device.
- Run header fixups before inserting the new pci device into any
  device lists or announcing it to the drivers.
- Convert some more stuff to use the list_for_each* macro(s).

23 years ago[PATCH] Separate out pci bus resource allocator
Russell King [Thu, 6 Mar 2003 09:49:06 +0000 (01:49 -0800)]
[PATCH] Separate out pci bus resource allocator

- Separate out bus resource allocator (pci_bus_alloc_resource)
- Provide pci_enable_bridges to setup command register for all
  pci bridges.

23 years agoMerge home.transmeta.com:/home/torvalds/v2.5/alan
Linus Torvalds [Thu, 6 Mar 2003 09:44:51 +0000 (01:44 -0800)]
Merge home.transmeta.com:/home/torvalds/v2.5/alan
into home.transmeta.com:/home/torvalds/v2.5/linux

23 years ago[PATCH] update via driver from 3.35-ac to 3.36
Alan Cox [Thu, 6 Mar 2003 09:44:28 +0000 (01:44 -0800)]
[PATCH] update via driver from 3.35-ac to 3.36

23 years ago[PATCH] fix wrong type and statics in amd ide
Alan Cox [Thu, 6 Mar 2003 09:44:20 +0000 (01:44 -0800)]
[PATCH] fix wrong type and statics in amd ide

23 years ago[PATCH] switch ide taskfile ioctls to ide_execute_command
Alan Cox [Thu, 6 Mar 2003 09:44:13 +0000 (01:44 -0800)]
[PATCH] switch ide taskfile ioctls to ide_execute_command

23 years ago[PATCH] remove spare cast
Alan Cox [Thu, 6 Mar 2003 09:44:05 +0000 (01:44 -0800)]
[PATCH] remove spare cast

23 years ago[PATCH] add sensible names to the ide iops
Alan Cox [Thu, 6 Mar 2003 09:43:58 +0000 (01:43 -0800)]
[PATCH] add sensible names to the ide iops

The outbsync one has further changes to come in the next batch to sort
out some platforms like PPC

23 years ago[PATCH] switch ide-io (core ioctls etc) to ide_execute_command
Alan Cox [Thu, 6 Mar 2003 09:43:49 +0000 (01:43 -0800)]
[PATCH] switch ide-io (core ioctls etc) to ide_execute_command

Also fix the irq masking bug

23 years ago[PATCH] switch ide-floppy to ide_execute_command
Alan Cox [Thu, 6 Mar 2003 09:43:42 +0000 (01:43 -0800)]
[PATCH] switch ide-floppy to ide_execute_command

23 years ago[PATCH] ide-dma
Alan Cox [Thu, 6 Mar 2003 09:43:35 +0000 (01:43 -0800)]
[PATCH] ide-dma

This switches ide-dma to ide_execute_command and makes IDE DMA also happy
when running shared IRQ

23 years ago[PATCH] bring ide-disk driver into line with 2.4.21pre
Alan Cox [Thu, 6 Mar 2003 09:43:28 +0000 (01:43 -0800)]
[PATCH] bring ide-disk driver into line with 2.4.21pre

This doesn't have the new -ac testing stuff from 2.4.21pre5-ac but it
has the stuff I now trust in it. This fixes the cache flush stuff and
also means ide-disk now should be safe shared IRQ

23 years ago[PATCH] clean up all the console inits using an initcall variant
Alan Cox [Thu, 6 Mar 2003 09:43:18 +0000 (01:43 -0800)]
[PATCH] clean up all the console inits using an initcall variant

Dave Woodhouse did this a while ago and its been kicking around in my
tree just fine. This gets rid of a lot of the init lists of functions
still left in the kernel by having an __init type array built up for the
consoles as well

23 years ago[PATCH] correct building of the old ide/hd.c driver
Alan Cox [Thu, 6 Mar 2003 09:43:10 +0000 (01:43 -0800)]
[PATCH] correct building of the old ide/hd.c driver

23 years ago[PATCH] correct irq logic for x86
Alan Cox [Thu, 6 Mar 2003 09:43:02 +0000 (01:43 -0800)]
[PATCH] correct irq logic for x86

We must not look for a PCI IRQ for a non native mode IDE device
We must write PCI_INTERRUPT_LINE for VIA

23 years ago[PATCH] update PCI quirks
Alan Cox [Thu, 6 Mar 2003 09:42:55 +0000 (01:42 -0800)]
[PATCH] update PCI quirks

ALi Magik requires workarounds for TV chips
IDE controllers require proper handling in legacy mode
PXB must be disabled on C0 450NX or the IDE will corrupt memory
VIA northbridge devices require the interrupt line is written
NEC_CBUS_2/3 require ISA DMA workarounds

23 years ago[PATCH] ALi it turns out has a 31bit audio device
Alan Cox [Thu, 6 Mar 2003 09:42:46 +0000 (01:42 -0800)]
[PATCH] ALi it turns out has a 31bit audio device

23 years ago[PATCH] clean up 2.2 stuff in wanrouter code
Alan Cox [Thu, 6 Mar 2003 09:42:37 +0000 (01:42 -0800)]
[PATCH] clean up 2.2 stuff in wanrouter code

23 years ago[PATCH] correct file names in comments in mm
Alan Cox [Thu, 6 Mar 2003 09:42:28 +0000 (01:42 -0800)]
[PATCH] correct file names in comments in mm

23 years ago[PATCH] correct emu10k url
Alan Cox [Thu, 6 Mar 2003 09:42:20 +0000 (01:42 -0800)]
[PATCH] correct emu10k url

23 years ago[PATCH] remove 2.0/2.2 stuff from wanrouter
Alan Cox [Thu, 6 Mar 2003 09:42:12 +0000 (01:42 -0800)]
[PATCH] remove 2.0/2.2 stuff from wanrouter

23 years ago[PATCH] remove 2.0/2.2 stuff
Alan Cox [Thu, 6 Mar 2003 09:42:06 +0000 (01:42 -0800)]
[PATCH] remove 2.0/2.2 stuff

23 years ago[PATCH] add a new PCI quirk type for the ALi Magik series
Alan Cox [Thu, 6 Mar 2003 09:41:57 +0000 (01:41 -0800)]
[PATCH] add a new PCI quirk type for the ALi Magik series

This chip needs latency and other setups to avoid a PCI/AGP deadlock
with tv cards

23 years ago[PATCH] remove 2.0 and 2.2 stuff from netfilter
Alan Cox [Thu, 6 Mar 2003 09:41:50 +0000 (01:41 -0800)]
[PATCH] remove 2.0 and 2.2 stuff from netfilter

23 years ago[PATCH] remove 2.2 bits fromw anpipe
Alan Cox [Thu, 6 Mar 2003 09:41:42 +0000 (01:41 -0800)]
[PATCH] remove 2.2 bits fromw anpipe