]> git.hungrycats.org Git - linux/log
linux
23 years ago[ARM] Restore preempt count before reporting unbalanced preempt count
Russell King [Fri, 5 Sep 2003 17:28:53 +0000 (18:28 +0100)]
[ARM] Restore preempt count before reporting unbalanced preempt count

On ARM, we oops when we detect that an interrupt handler has unbalanced
the preempt count.  We should restore the preempt count when we started
to handle the interrupt and then cause the oops.

23 years ago[ARM] Newer binutils want -mcpu=xscale not -mxscale
Russell King [Fri, 5 Sep 2003 17:18:14 +0000 (18:18 +0100)]
[ARM] Newer binutils want -mcpu=xscale not -mxscale

23 years ago[ARM] Fix wrong cache flush call for ARM1020 CPUs
Russell King [Fri, 5 Sep 2003 12:18:02 +0000 (13:18 +0100)]
[ARM] Fix wrong cache flush call for ARM1020 CPUs

23 years ago[ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h
Russell King [Fri, 5 Sep 2003 12:06:36 +0000 (13:06 +0100)]
[ARM] arch/arm/kernel/setup.c needs to include asm/cacheflush.h

23 years ago[PATCH] fix remap of shared read only mappings
James Bottomley [Thu, 4 Sep 2003 03:13:28 +0000 (20:13 -0700)]
[PATCH] fix remap of shared read only mappings

When mmap MAP_SHARED is done on a file, it gets marked with VM_MAYSHARE
and, if it's read/write, VM_SHARED.  However, if it is remapped with
mremap(), the MAP_SHARED is only passed into the new mapping based on
VM_SHARED.  This means that remapped read only MAP_SHARED mappings lose
VM_MAYSHARE.  This is causing us a problem on parisc because we have to
align all shared mappings carefully to mitigate cache aliasing problems.

The fix is to key passing the MAP_SHARED flag back into the remapped are
off VM_MAYSHARE not VM_SHARED.

23 years ago[PATCH] ide: remove supports_dma field from ide_driver_t
Bartlomiej Zolnierkiewicz [Thu, 4 Sep 2003 03:11:54 +0000 (20:11 -0700)]
[PATCH] ide: remove supports_dma field from ide_driver_t

driver->supports_dma was used together with CONFIG_IDEDMA_ONLYDISK to limit
DMA access to disk devices only.  However Alan introduced new scheme in 2.5.63
and this field is not needed any longer because all ide drivers support DMA.

23 years ago[PATCH] ide: fix PM with ide-default driver
Bartlomiej Zolnierkiewicz [Thu, 4 Sep 2003 03:11:42 +0000 (20:11 -0700)]
[PATCH] ide: fix PM with ide-default driver

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

23 years agoMerge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
Linus Torvalds [Thu, 4 Sep 2003 03:08:13 +0000 (20:08 -0700)]
Merge bk://linux-scsi.bkbits.net/scsi-for-linus-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
James Bottomley [Thu, 4 Sep 2003 06:46:33 +0000 (01:46 -0500)]
Merge raven.il.steeleye.com:/home/jejb/BK/scsi-misc-2.5
into raven.il.steeleye.com:/home/jejb/BK/scsi-for-linus-2.6

23 years ago[PATCH] fix /proc/stat handler for ARM, SPARC64, others..
Andrew Morton [Thu, 4 Sep 2003 02:51:38 +0000 (19:51 -0700)]
[PATCH] fix /proc/stat handler for ARM, SPARC64, others..

Some references to irq_stat[] snuck into generic code.  It doesn't work on
several architectures.

So revert that little improvement to the original version.

23 years ago[PATCH] Don't #ifdef prototypes
Russell King [Thu, 4 Sep 2003 02:43:03 +0000 (19:43 -0700)]
[PATCH] Don't #ifdef prototypes

It seems that changing CONFIG_BLK_DEV_INITRD causes the whole kernel to
rebuild due to an inappropriate ifdef in linux/fs.h - we should not
conditionalise prototypes.

In addition, real_root_dev is only used by two files (kernel/sysctl.c
and init/do_mounts_initrd.c) so it makes even less sense that it was in
linux/fs.h

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Thu, 4 Sep 2003 01:47:07 +0000 (18:47 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Wed, 3 Sep 2003 22:27:24 +0000 (15:27 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[SPARC]: Add MODULE_ALIAS_LDISC() defines.
David S. Miller [Wed, 3 Sep 2003 21:16:23 +0000 (14:16 -0700)]
[SPARC]: Add MODULE_ALIAS_LDISC() defines.

23 years ago[USB]: hiddev_exit() can no longer be __exit, called from init code now.
David S. Miller [Wed, 3 Sep 2003 21:10:08 +0000 (14:10 -0700)]
[USB]: hiddev_exit() can no longer be __exit, called from init code now.

23 years ago[NETFILTER]: NAT range calculation fix.
Harald Welte [Wed, 3 Sep 2003 21:09:48 +0000 (14:09 -0700)]
[NETFILTER]: NAT range calculation fix.

This patch fixes a logic bug in NAT range calculations, which also
causes a large slowdown when ICMP floods go through NAT.

Author: Karlis Peisenieks

23 years ago[PATCH] MODULE_ALIAS for tty ldisc
Andrew Morton [Wed, 3 Sep 2003 18:25:06 +0000 (11:25 -0700)]
[PATCH] MODULE_ALIAS for tty ldisc

From: Rusty Russell <rusty@rustcorp.com.au>

Rather than hardcoded names in modprobe, modules can offer their own
aliases (which can be overridden by the config file).

Here are the tty-ldisc ones.

23 years ago[PATCH] cciss error handling cleanup
Andrew Morton [Wed, 3 Sep 2003 18:14:12 +0000 (11:14 -0700)]
[PATCH] cciss error handling cleanup

From: mike.miller@hp.com

Clean up the error handling in cciss_init_one().

23 years ago[PATCH] hermes.h fails with outw_p() in :?
Andrew Morton [Wed, 3 Sep 2003 18:14:04 +0000 (11:14 -0700)]
[PATCH] hermes.h fails with outw_p() in :?

From: Michael Pruznick <michael_pruznick@mvista.com>

build errors:
  hermes.h: In function `hermes_set_irqmask':
  hermes.h:337: parse error before "do"
  hermes.h:337: parse error before ';' token
  hermes.h: In function `hermes_write_words':

In mips, outw_p() is a #define do...while(0) which, in the case of ?:,
results in a statement being used where an expression is required.

23 years ago[PATCH] drivers/scsi/imm.c build fix
Andrew Morton [Wed, 3 Sep 2003 18:13:55 +0000 (11:13 -0700)]
[PATCH] drivers/scsi/imm.c build fix

23 years ago[PATCH] Remove Documentation/kmod.txt
Andrew Morton [Wed, 3 Sep 2003 18:13:47 +0000 (11:13 -0700)]
[PATCH] Remove Documentation/kmod.txt

From: Rusty Russell <rusty@rustcorp.com.au>

Please delete Documentation/kmod.txt: it's entirely outdated and misleading.

I thought about rewriting it, but there's not much to add beyond what's in
the CONFIG_KMOD's help text.

23 years ago[PATCH] i8042 free_irq() aliasing fix
Andrew Morton [Wed, 3 Sep 2003 18:13:39 +0000 (11:13 -0700)]
[PATCH] i8042 free_irq() aliasing fix

The same address `i8042_request_irq_cookie' is used in three places for the
i8042 request_irq() argument.  This means that if someone calls
i8042_check_mux() or i8042_check_aux() while the IRQ is in use, the
free_irq() call in there will free the wrong IRQ handler.

So give all three instances of request_irq() in i8042.c a distinct address by
which to identify the IRQ instance.

(This is probably a non-bug, because the `check' functions are not called
when the device is open, but it is better this way).

23 years ago[PATCH] devfs pty fix
Andrew Morton [Wed, 3 Sep 2003 18:13:31 +0000 (11:13 -0700)]
[PATCH] devfs pty fix

From: Andrew Lunn <andrew@lunn.ch>

Create the pty slaves on init so the behaviour is consistant with 2.4 and 2.6
without devfs.

23 years ago[PATCH] Enable SELinux via boot parameter
Andrew Morton [Wed, 3 Sep 2003 18:13:22 +0000 (11:13 -0700)]
[PATCH] Enable SELinux via boot parameter

From: James Morris <jmorris@redhat.com>

This patch adds an 'selinux' boot parameter which must be used to actually
enable SELinux.

It follows some internal discussion about deployment issues, where a vendor
would want to ship a single kernel image with SELinux built-in, without
requiring the user to use it.

Without specifying selinux=1 as a boot parameter, SELinux will not register
with LSM and selinuxfs will not be registered as a filesystem.  This causes
SELinux to be bypassed entirely from then on, and no performance overhead
is imposed.  Other security modules may then also be loaded if needed.

23 years ago[PATCH] Remove percpufication of in_flight counter in
Andrew Morton [Wed, 3 Sep 2003 18:13:12 +0000 (11:13 -0700)]
[PATCH] Remove percpufication of in_flight counter in

From: Ravikiran G Thirumalai <kiran@in.ibm.com>

The routine disk_round_stats showed up considerably under oprofile for high
disk io load (four processes doing dd to the same disk (different
partitions) on a 4 way).

This is because the counter in_flight which is per-cpu right now gets read
every time disk_round_stats gets called.  Per cpu counters like disk
statistics improve write speed, but reads are slow (since all cpus' local
counter values have to be read and summed up).  Considering the fact that
in_flight counter is modified post disk_round_stats (which reads the
in_flight counter) it is better not to per-cpu this counter.

Following patch does just that.  Below is the profile comparison before and
after the change.  This was on a 4 way PIII Xeon, 1G ram, 2.6.0-test4-mm2.

Before:
c010aa60 2910109  92.2249     poll_idle
c0275340 23208    0.73549     __copy_to_user_ll
c02753b0 11191    0.354657    __copy_from_user_ll
c0114aa0 7168     0.227163    mark_offset_tsc
c011ad10 6767     0.214455    schedule
c011a2b0 6741     0.213631    load_balance
c0138890 6710     0.212648    __generic_file_aio_write_nolock
c011d302 4683     0.14841     .text.lock.sched
c02e4b50 4533     0.143656    ahc_linux_isr
c029cec0 3582     0.113518    disk_round_stats
c0119b40 3509     0.111205    try_to_wake_up
c029d320 3306     0.104771    __make_request
c01567d0 3300     0.104581    __block_write_full_page
c0156c00 3299     0.104549    __block_prepare_write

After:
c010aa60 2777940  92.1302     poll_idle
c0275340 23479    0.778679    __copy_to_user_ll
c02753b0 10943    0.362924    __copy_from_user_ll
c0114aa0 7022     0.232884    mark_offset_tsc
c0138890 6988     0.231757    __generic_file_aio_write_nolock
c011ad10 6607     0.219121    schedule
c011d302 5771     0.191395    .text.lock.sched
c02e4a60 4458     0.147849    ahc_linux_isr
c011a2b0 3921     0.13004     load_balance
c01567d0 3569     0.118366    __block_write_full_page
c029d2a0 3540     0.117404    __make_request
...
c029ceb0 311      0.0103143   disk_round_stats
c011d5b0 299      0.00991631  remove_wait_queue

23 years ago[PATCH] MODULE_ALIAS() in char devices
Andrew Morton [Wed, 3 Sep 2003 18:13:04 +0000 (11:13 -0700)]
[PATCH] MODULE_ALIAS() in char devices

From: Rusty Russell <rusty@rustcorp.com.au>

Previously, default aliases were hardwired into modutils.  Now they should
be inside the modules, using MODULE_ALIAS() (they will be overridden by any
user alias).

23 years ago[PATCH] MODULE_ALIAS() in block devices
Andrew Morton [Wed, 3 Sep 2003 18:12:53 +0000 (11:12 -0700)]
[PATCH] MODULE_ALIAS() in block devices

From: Rusty Russell <rusty@rustcorp.com.au>

Previously, default aliases were hardwired into modutils.  Now they should
be inside the modules, using MODULE_ALIAS() (they will be overridden by any
user alias).

23 years ago[PATCH] might_sleep() improvements
Andrew Morton [Wed, 3 Sep 2003 18:12:43 +0000 (11:12 -0700)]
[PATCH] might_sleep() improvements

From: Mitchell Blank Jr <mitch@sfgoth.com>

This patch makes the following improvements to might_sleep():

 o Add a "might_sleep_if()" macro for when we might sleep only if some
   condition is met.  It's a bit tidier, and has an unlikely() in it.

 o Add might_sleep checks to skb_share_check() and skb_unshare() which
   sometimes need to allocate memory.

 o Make all architectures call might_sleep() in both down() and
   down_interruptible().  Before only ppc, ppc64, and i386 did this check.
   (sh did the check on down() but not down_interruptible())

23 years ago[PATCH] more slab page checking
Andrew Morton [Wed, 3 Sep 2003 18:12:33 +0000 (11:12 -0700)]
[PATCH] more slab page checking

Add checks for kfree() of a page which was allocated with __alloc_pages(),
and for free_pages() of a page which was allocated with kmalloc().

23 years ago[PATCH] proc_misc.c needs irq.h
Andrew Morton [Wed, 3 Sep 2003 18:12:25 +0000 (11:12 -0700)]
[PATCH] proc_misc.c needs irq.h

fs/proc/proc_misc.c: In function `show_stat':
fs/proc/proc_misc.c:423: `irq_desc' undeclared (first use in this function)

23 years ago[PATCH] 8250_acpi taints kernel
Andrew Morton [Wed, 3 Sep 2003 18:12:17 +0000 (11:12 -0700)]
[PATCH] 8250_acpi taints kernel

From: Dmitry Torokhov <dtor_core@ameritech.net>

8250_acpi module does not have MODULE_LICENSE specified.  8250_gsc does not
have it either but as I can't compile it I did not touch it.

23 years ago[PATCH] elevator insertion fixes
Andrew Morton [Wed, 3 Sep 2003 18:12:08 +0000 (11:12 -0700)]
[PATCH] elevator insertion fixes

From: Nick Piggin <piggin@cyberone.com.au>

This fixes a bug in deadline and AS that causes insert_here to be ignored on
blk_fs_requests. This has been causing problems with SCSI requeueing code.
It makes elevator insertion more correct as advertised wrt insert_here and
REQ_SOFTBARRIER.

It also fixes a buglet in the as_requeue code where the request wasn't being
put into the front of the list (in rare cases).

23 years ago[PATCH] add config option for qla1280 SCSI MMIO/ioport
Andrew Morton [Wed, 3 Sep 2003 18:12:00 +0000 (11:12 -0700)]
[PATCH] add config option for qla1280 SCSI MMIO/ioport

From: Andrey Panin <pazke@donpac.ru>

Add a config option which allows ioport/mmio selection for QLA1280 SCSI
driver.

With this patch applied QLA1280 can be used on Visws again.

23 years ago[PATCH] Fix rtc symbol clash and HPET config problems
Andrew Morton [Wed, 3 Sep 2003 18:11:51 +0000 (11:11 -0700)]
[PATCH] Fix rtc symbol clash and HPET config problems

The new HPET RTC emulation code uses a function in rtc.c, get_rtc_time().

So that function was made non-static.  Problem is, the same function name is
used elsewhere by some architectures, so there will be linkage problems.

And rtc_get_time() is used too, so I renamed it to rtc_get_rtc_time().

Also, the HPET code was setting CONFIG_HPET_EMULATE_RTC by hand in a header
file.  Fix it to use the Kconfig system properly.

23 years ago[PATCH] convert /proc/stat to seq_file
Andrew Morton [Wed, 3 Sep 2003 18:11:42 +0000 (11:11 -0700)]
[PATCH] convert /proc/stat to seq_file

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

Anton needs this for ppc64.  Things overflow with a huge number of CPUs.

23 years ago[PATCH] Fix odd code in bio_add_page
Andrew Morton [Wed, 3 Sep 2003 18:11:33 +0000 (11:11 -0700)]
[PATCH] Fix odd code in bio_add_page

From: Neil Brown <neilb@cse.unsw.edu.au>

With the current code in bio_add_page, if fail_segments is ever set, it
stays set, so bio_add_page will eventually fail having recounted the
segmentation once.

I don't think this is intended.  This patch changes the code to allow
success if the recounting the segments helps.

(Jens has acked this)

23 years ago[PATCH] misc fixes
Andrew Morton [Wed, 3 Sep 2003 18:11:24 +0000 (11:11 -0700)]
[PATCH] misc fixes

- non_fatal.c comment fix (Zwane Mwaikambo <zwane@linuxpower.ca>)

- s/elevator/io scheduler/ in ll_rw_blk.c (Jens)

- update KJ mailing list address ("Randy.Dunlap" <rddunlap@osdl.org>)

- unused var in riscom8.c (Adrian Bunk <bunk@fs.tum.de>)

- add help texts to two OSS drivers (Adrian Bunk <bunk@fs.tum.de>)

- "PCMCIA SCSI adapter support" requires CONFIG_MODULES (Adrian Bunk
  <bunk@fs.tum.de>)

23 years ago[IPV{4,6}]: Fixing a bug that reading /proc/net/{udp,udp6} may drop some data.
Hideaki Yoshifuji [Wed, 3 Sep 2003 17:53:25 +0000 (10:53 -0700)]
[IPV{4,6}]: Fixing a bug that reading /proc/net/{udp,udp6} may drop some data.

23 years ago[NET]: Kill NET_PROFILE, has not built for years.
David S. Miller [Wed, 3 Sep 2003 17:51:33 +0000 (10:51 -0700)]
[NET]: Kill NET_PROFILE, has not built for years.

23 years ago[CRYPTO]: remove duplicate #includes in crypto/
Randy Dunlap [Wed, 3 Sep 2003 17:44:50 +0000 (10:44 -0700)]
[CRYPTO]: remove duplicate #includes in crypto/

23 years ago[NET]: remove duplicate #includes in net/
Randy Dunlap [Wed, 3 Sep 2003 17:44:06 +0000 (10:44 -0700)]
[NET]: remove duplicate #includes in net/

23 years ago[NET]: Convert ltpc to new initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:42:21 +0000 (10:42 -0700)]
[NET]: Convert ltpc to new initialization.

Originally from Al Viro
NE11-ltpc
* switched ltpc to dynamic allocation
* ltpc: embedded ->priv
* ltpc: fixed bugs in DMA allocation
* ltpc: fixed resource leaks on failure exits
* ltpc: fixed part of timer bugs (still a-f**ing-plenty of those)
* ltpc: fixed order of freeing bugs
Added
* switch to free_netdev

23 years ago[NET]: Loopback device simplification.
Stephen Hemminger [Wed, 3 Sep 2003 17:41:35 +0000 (10:41 -0700)]
[NET]: Loopback device simplification.

Now that all the magic chain of static devices is gone from Space.c
The initialization of the one remaining static device (ie the loopback driver)
can be simplified.

One small change was to reduce possibility of failing the initialization if
allocation of private data failed by just going without statistics.

23 years ago[NET]: Convert sbni initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:40:58 +0000 (10:40 -0700)]
[NET]: Convert sbni initialization.

Convert sbni driver
- new probing
- single allocation using alloc_netdev for private data

23 years ago[NET]: Convert tr probes to probe_old_netdevs().
Stephen Hemminger [Wed, 3 Sep 2003 17:40:11 +0000 (10:40 -0700)]
[NET]: Convert tr probes to probe_old_netdevs().

Analogous to previous patch.  Instead of dev_base list of static
entries, use a loop and dynamically allocate devices.

Tested only the 'no hardware' case.

23 years ago[NET]: Convert ether probes to probe_old_netdevs().
Stephen Hemminger [Wed, 3 Sep 2003 17:39:24 +0000 (10:39 -0700)]
[NET]: Convert ether probes to probe_old_netdevs().

Convert old ethernet device probing from dev_base linked list
to the probe_old_netdevs.

Blame me for this one ;-)

Builds and runs, but don't have old ISA hardware to really test it.
So please find some or review it carefully.

23 years ago[NET]: Convert cops over to new initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:38:42 +0000 (10:38 -0700)]
[NET]: Convert cops over to new initialization.

More from Al
NE12-cops
* switched cops to dynamic allocation
* cops: embedded ->priv
* cops: fixed ->irq clobbering on autoprobe
Added
* free_netdev

23 years ago[NET]: Convert SDLA to new initialization.
Stephen Hemminger [Wed, 3 Sep 2003 17:37:58 +0000 (10:37 -0700)]
[NET]: Convert SDLA to new initialization.

Based on Al viro's NE10-sdla
* switched sdla to dynamic allocation
* sdla: embedded ->priv
* sdla: fixed resource leaks on failure exits
Additionally fixes.
* get rid of cli/sti
* get rid of MOD/INC

Builds and probes, but don't have the hardware.
Driver has never built on 2.6 before this.

23 years ago[NET]: Add probe_old_netdevs() hook.
Stephen Hemminger [Wed, 3 Sep 2003 17:37:09 +0000 (10:37 -0700)]
[NET]: Add probe_old_netdevs() hook.

This set of patches is a mixture of Al's work to device initialization,
and some of my own to complete it for all the ether, tr, sbni, and loopback
devices.

The first patch adds the hook for converting old driver initialization
code over to dynamic allocation.

This part extracted from Al viro's set of net driver changes for ethertap.

23 years ago[NET]: Use free_netdev() even in error paths.
François Romieu [Wed, 3 Sep 2003 17:36:39 +0000 (10:36 -0700)]
[NET]: Use free_netdev() even in error paths.

23 years ago[NET]: DLCI driver cleanups for 2.6.x
Stephen Hemminger [Wed, 3 Sep 2003 17:35:52 +0000 (10:35 -0700)]
[NET]: DLCI driver cleanups for 2.6.x

- keep list of arrays for devices and use a lock
- make sure header is contiguous before overlaying data structure
- dynamically allocate dev->priv with alloc_netdev
- get rid of MOD_INC/DEC
- free devices on module unload
- keep refcount on slave device's since holding a ptr

23 years ago[ATM]: Lanai driver updates.
Mitchell Blank Jr. [Wed, 3 Sep 2003 17:34:37 +0000 (10:34 -0700)]
[ATM]: Lanai driver updates.

o Big performance improvement.  The version of the driver in the kernel
  still had a "mdelay(1)" after every register write.  This capped
  performance at about 8Mbps and ate tons of CPU time.  (Luckily, most
  users of this card are just terminating a DSL line where its not too
  noticeable)

  However, after removing this delay the card started getting out of
  sync with the driver under stress tests.  After a couple days of chasing
  the bug I finally determine that the card's support for transmitting
  partial PDUs just doesn't quite work as advertised (before we would send
  a partial PDU to completely fill a VCC's transmit buffer and then send
  the rest of the skb when more buffer space filled up).  The usefulness of
  this is somewhat doubtful anyway and removing it cleaned up a lot of code.

  I also added some memory barriers to make sure operations to the card
  happen in the correct order.

  Now for the first time ever we get near line-rate performance out of this
  card (~19Mb/s TCP in netperf between two ~300Mhz machines)

o Locking changes (essentially the patch Chas sent me a couple weeks ago
  with some minor tweaking)  I'm still not sure we're getting 100% of the
  cases right but it's definitely FAR better than the old lock-less version.

o Cleanup the backlog draining code in lanai_shutdown_tx_vci()

o Remove outdated comment describing how to compile the module

o Got rid of the "service_novcc_[tr]x" stats - it's really the same error
  as "service_[tr]x" - there's no reason to count them separately.

o Use the ATM_25_PCR constant instead of computing it for ourselves

23 years ago[ATM]: In atm_getaddr() do not copy_to_user() with locks held.
Chas Williams [Wed, 3 Sep 2003 17:34:02 +0000 (10:34 -0700)]
[ATM]: In atm_getaddr() do not copy_to_user() with locks held.

23 years ago[NET]: Fix ethtool_ops thinko in sungem.c
Jeff Garzik [Wed, 3 Sep 2003 17:33:32 +0000 (10:33 -0700)]
[NET]: Fix ethtool_ops thinko in sungem.c

23 years ago[IPV6]: Remove unnecessary linux/version.h include.
Felipe Damasio [Wed, 3 Sep 2003 17:33:05 +0000 (10:33 -0700)]
[IPV6]: Remove unnecessary linux/version.h include.

23 years ago[NET]: Use list_for_each() where applicable.
Maximilian Attems [Wed, 3 Sep 2003 17:32:06 +0000 (10:32 -0700)]
[NET]: Use list_for_each() where applicable.

23 years ago[NET]: Fix 64-bit warnings in af_netlink.c
Andrew Morton [Wed, 3 Sep 2003 17:27:18 +0000 (10:27 -0700)]
[NET]: Fix 64-bit warnings in af_netlink.c

23 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Wim Van Sebroeck [Thu, 4 Sep 2003 00:25:28 +0000 (02:25 +0200)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog

23 years agoMerge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
Wim Van Sebroeck [Thu, 4 Sep 2003 00:13:40 +0000 (02:13 +0200)]
Merge http://linux-watchdog.bkbits.net/linux-2.5-watchdog
into iguana.be:/home/wim/BitKeeper/projects/linux-2.5-watchdog

23 years ago[WATCHDOG] wafer5823wdt.c - patch4
Wim Van Sebroeck [Wed, 3 Sep 2003 23:59:34 +0000 (01:59 +0200)]
[WATCHDOG] wafer5823wdt.c - patch4

remove module_param's for wdt_start and wdt_stop
fix timeout check in init procedure

23 years agoFix up scsi_alloc_request in sr.c to take a GFP_ flag
James Bottomley [Wed, 3 Sep 2003 16:18:43 +0000 (11:18 -0500)]
Fix up scsi_alloc_request in sr.c to take a GFP_ flag

23 years agoMerge willy/hch fixes
James Bottomley [Wed, 3 Sep 2003 12:40:40 +0000 (07:40 -0500)]
Merge willy/hch fixes

23 years ago[PATCH] sym2 patchset
Matthew Wilcox [Wed, 3 Sep 2003 12:34:05 +0000 (07:34 -0500)]
[PATCH] sym2 patchset

A big pile of sym2-related changes.  I have most of them split apart in
CVS, so I can submit them as individual patches if anyone's interested.

Changelog:
 - Use pci_set_mwi() instead of trying to do it ourselves.
 - Rename PCI_ID_LSI53C1010 to 1010_33 and PCI_ID_LSI53C1010_2 to 1010_66.
 - Turn sym_udelay and sym_mdelay into macros.
 - Move the definition of sym53c8xx_lock near the functions that call it
   and remove the macros that wrapper it.
 - SYM_LINUX_DYNAMIC_DMA_MAPPING is always defined.  (Christoph Hellwig)
 - Remove first_host (Christoph Hellwig)
 - Support for hp C3000 (Grant Grundler)
 - Switch to using pci_name()
 - Remove the #if 0'd code from the pci_driver conversion.
 - Remove the sym_chip typedef.
 - Remove the pcifix option.
 - Remove a redundant printk on driver initialisation.
 - Use rmb() for __READ_BARRIER and wmb() for __WRITE_BARRIER
 - Increment the version to 2.1.17a.

23 years ago[PATCH] ncr & sym1 patches
Matthew Wilcox [Wed, 3 Sep 2003 12:22:10 +0000 (07:22 -0500)]
[PATCH] ncr & sym1 patches

Some misc sym1 and ncr driver changes.

Changelog:
 - Kconfig: Delete sym1 driver from Kconfig
 - Kconfig: Delete SCSI_NCR53C8XX_IOMAPPED, SCSI_NCR53C8XX_PQS_PDS
   and SCSI_NCR53C8XX_SYMBIOS_COMPAT options.
 - ncr53c8xx: Delete SCSI_NCR53C8XX_SYMBIOS_COMPAT option

23 years ago[PATCH] ips: remove arch limitations
David Jeffery [Wed, 3 Sep 2003 12:18:58 +0000 (07:18 -0500)]
[PATCH] ips: remove arch limitations

This patch removes the X86 arch limitation in drivers/scsi/Kconfig,
downgrades the #error check for x86/x86_64/ia64 to a #warning, and
updates an old email address in the help.

It also fixes up a two places in the driver which have 8 spaces instead
of a tab for indention.

23 years ago[PATCH] fix the scsi_logging_level fix
Christoph Hellwig [Wed, 3 Sep 2003 12:17:00 +0000 (07:17 -0500)]
[PATCH] fix the scsi_logging_level fix

We already had a prototype for it, it just was conditional on
CONFIG_SCSI_LOGGING..

23 years ago[PATCH] label needs statement following it
Randy Dunlap [Wed, 3 Sep 2003 12:10:44 +0000 (07:10 -0500)]
[PATCH] label needs statement following it

patch_name: cpqfc_labelend.patch
patch_version: 2003-08-27.18:19:34
author: Randy.Dunlap <rddunlap@osdl.org>
description: cpqfc: label needs a (empty) statement after it;
product: Linux
product_versions: 260-test4
maintainer: support@compaq.com

23 years agoMerge hch/akpm changes
James Bottomley [Wed, 3 Sep 2003 11:53:52 +0000 (06:53 -0500)]
Merge hch/akpm changes

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-rmk
Linus Torvalds [Wed, 3 Sep 2003 09:29:52 +0000 (02:29 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[ARM] Remove more reminants of 26-bit ARM support.
Russell King [Wed, 3 Sep 2003 19:19:25 +0000 (20:19 +0100)]
[ARM] Remove more reminants of 26-bit ARM support.

This removes include/asm-arm/proc-armv entirely, merging the
contents into the relevant include files in include/asm-arm.
We also update various files in arch/arm which reference
definitions in the now non-existent directory.

23 years ago[ARM] Remove more 26-bit ARM support.
Russell King [Wed, 3 Sep 2003 10:27:35 +0000 (11:27 +0100)]
[ARM] Remove more 26-bit ARM support.

Remove more of the redundant 26-bit ARM CPU support from the
32-bit ARM tree.

23 years ago[PATCH] ISDN bugfixes part 1
Karsten Keil [Wed, 3 Sep 2003 08:58:46 +0000 (01:58 -0700)]
[PATCH] ISDN bugfixes part 1

Here is the first part of ISDN bugfixes for 2.6.
It should make ISDN work again with most controllers.

More fixes follow after more testing.

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Wed, 3 Sep 2003 04:11:05 +0000 (21:11 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[wireless airo] build fix when MIC support is disabled
Javier Achirica [Wed, 3 Sep 2003 09:53:05 +0000 (05:53 -0400)]
[wireless airo] build fix when MIC support is disabled

23 years ago[netdrvr] list CONFIG_BMAC in drivers/net/Makefile.lib,
Ernst Persson [Wed, 3 Sep 2003 09:43:41 +0000 (05:43 -0400)]
[netdrvr] list CONFIG_BMAC in drivers/net/Makefile.lib,
as it uses the crc32 library.

23 years ago[netdrvr de4x5] big modernization / cleanup
Marc Zyngier [Wed, 3 Sep 2003 09:39:27 +0000 (05:39 -0400)]
[netdrvr de4x5] big modernization / cleanup

The enclosed patch tries to clean the tulip de4x5 driver, and update
it to some of the 2.6 APIs :

- Use PCI and EISA probing APIs
- Use generic DMA API
- Fix DE425 init on the Jensen
- Remove de4x5 from Space.c

It's been tested on x86 and Alpha, with a DE425 (21040, EISA), a DE435
(21040, PCI) and a quad DLink (4*21143, PCI).

The major problem with this patch is that, because of the Space.c
removal, interfaces get potentially renumbered. This has been
discussed to death on lkml, without any obvious solution. IMHO, we'd
better remove as many drivers as we can from Space.c before
2.6.0-final ships...

23 years ago[wireless airo] fix build with gcc 2.95
Adrian Bunk [Wed, 3 Sep 2003 08:35:56 +0000 (04:35 -0400)]
[wireless airo] fix build with gcc 2.95

23 years agoAvoid a negative in config questions: we don't want to have users
Linus Torvalds [Wed, 3 Sep 2003 03:51:36 +0000 (20:51 -0700)]
Avoid a negative in config questions: we don't want to have users
forced into double negatives.

23 years ago[PATCH] COSA is no longer BROKEN
Adrian Bunk [Wed, 3 Sep 2003 03:49:50 +0000 (20:49 -0700)]
[PATCH] COSA is no longer BROKEN

the compilation of cosa.c was already fixed in your BK tree, so we can
now remove the dependency on BROKEN.

23 years ago[PATCH] PowerMac: Fix build of via-pmu driver with some .config's
Benjamin Herrenschmidt [Wed, 3 Sep 2003 03:14:25 +0000 (20:14 -0700)]
[PATCH] PowerMac: Fix build of via-pmu driver with some .config's

This fixes the build of the via-pmu.c driver when CONFIG_PMAC_PBOOK is
not set.

23 years ago[PATCH] ide: enable LED support for PowerMac
Bartlomiej Zolnierkiewicz [Wed, 3 Sep 2003 03:14:16 +0000 (20:14 -0700)]
[PATCH] ide: enable LED support for PowerMac

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

This adds the Kconfig option for the PowerMac IDE driver "LED" feature
(using the laptop's front LED as a disk activity indicator).  It also
adds a small bit to ide-probe.c that was missing from Jens patch when he
added the activity function infrastructure.  He did add the hwif field,
but not the code to actually enable it.

23 years ago[PATCH] ide: add very basic support for VIA 8237 SATA controller
Bartlomiej Zolnierkiewicz [Wed, 3 Sep 2003 03:14:08 +0000 (20:14 -0700)]
[PATCH] ide: add very basic support for VIA 8237 SATA controller

From Daniela Engert <dani@ngrt.de>.

23 years ago[PATCH] ide: allow LBA48 on Promise 20265
Bartlomiej Zolnierkiewicz [Wed, 3 Sep 2003 03:14:01 +0000 (20:14 -0700)]
[PATCH] ide: allow LBA48 on Promise 20265

It was disabled to workaround a bug in a driver.  The orginal bug was
fixed but the workaround was not removed.

23 years agoMerge bk://ppc.bkbits.net/for-linus-ppc
Linus Torvalds [Wed, 3 Sep 2003 03:05:56 +0000 (20:05 -0700)]
Merge bk://ppc.bkbits.net/for-linus-ppc
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoPPC32: Eliminate one use of struct device name field.
Paul Mackerras [Thu, 4 Sep 2003 08:40:30 +0000 (18:40 +1000)]
PPC32: Eliminate one use of struct device name field.

23 years agoPPC32: Add support for the PPC 440 family of embedded processors.
Paul Mackerras [Thu, 4 Sep 2003 08:16:47 +0000 (18:16 +1000)]
PPC32: Add support for the PPC 440 family of embedded processors.

This has three main parts: (1) support for the 440GP and 440GX processors,
(2) support for the "Ebony" and "Ocotea" reference boards for those processors,
and (3) support for 64-bit physical addresses.  The 440GP and 440GX are "Book E"
processors, and this introduces a CONFIG_BOOKE and some definitions that apply
to all Book E processors.

Having 64-bit physical addresses means that PTEs are now 64 bits.  The PTE pages
stay at 4kB, and the pgdir expands to 8kB.

23 years ago[PATCH] amiflop error handling
Jens Axboe [Tue, 2 Sep 2003 19:04:18 +0000 (12:04 -0700)]
[PATCH] amiflop error handling

amiflop didn't init the queue before assigning it to disk->queue. the
error handling was also immensely screwed, I've cleaned that up too.

23 years agoMerge bk://linux.bkbits.net/linux-2.5
Steve French [Tue, 2 Sep 2003 13:02:46 +0000 (06:02 -0700)]
Merge bk://linux.bkbits.net/linux-2.5
into hostme.bitkeeper.com:/repos/c/cifs/linux-2.5cifs

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Tue, 2 Sep 2003 10:09:58 +0000 (03:09 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agofix bad return code mapping when server lacks hard link support
Steve French [Tue, 2 Sep 2003 08:34:27 +0000 (03:34 -0500)]
fix bad return code mapping when server lacks hard link support

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/net-2.5
David S. Miller [Tue, 2 Sep 2003 08:05:20 +0000 (01:05 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/net-2.5
into kernel.bkbits.net:/home/davem/net-2.5

23 years ago[IPV4]: Do not BUG() on icmp_xmit_lock() contention, just drop.
David S. Miller [Tue, 2 Sep 2003 07:34:26 +0000 (00:34 -0700)]
[IPV4]: Do not BUG() on icmp_xmit_lock() contention, just drop.

23 years ago[NET]: Balance alloc_netdev() with free_netdev() in ethertap.
François Romieu [Tue, 2 Sep 2003 06:28:32 +0000 (23:28 -0700)]
[NET]: Balance alloc_netdev() with free_netdev() in ethertap.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Tue, 2 Sep 2003 05:24:46 +0000 (22:24 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

23 years ago[NET]: ethertap fixes.
Stephen Hemminger [Tue, 2 Sep 2003 05:19:49 +0000 (22:19 -0700)]
[NET]: ethertap fixes.

includes these changes from viro
* switched ethertap to dynamic allocation
* ethertap: embedded ->priv
* ethertap: fixed resource leaks on failure exits
and from me
* get it out of the static device list completely.
* add dependency on NETLINK_DEV
* not really obsolete yet
* configurable number of interfaces

23 years ago[NET]: Convert af_netlink.c over to seq_file.
Stephen Hemminger [Tue, 2 Sep 2003 05:04:11 +0000 (22:04 -0700)]
[NET]: Convert af_netlink.c over to seq_file.

23 years agoMerge kroah.com:/home/greg/linux/BK/bleed-2.5
Greg Kroah-Hartman [Tue, 2 Sep 2003 04:40:32 +0000 (21:40 -0700)]
Merge kroah.com:/home/greg/linux/BK/bleed-2.5
into kroah.com:/home/greg/linux/BK/gregkh-2.6

23 years agoInstead of asking for "broken drivers", ask for a "clean compile".
Linus Torvalds [Tue, 2 Sep 2003 04:30:14 +0000 (21:30 -0700)]
Instead of asking for "broken drivers", ask for a "clean compile".

This makes "allyesconfig" do a better job.

23 years agoAdd the isicom serial driver to the list of drivers that are
Linus Torvalds [Tue, 2 Sep 2003 04:28:20 +0000 (21:28 -0700)]
Add the isicom serial driver to the list of drivers that are
broken on SMP (due to expecting global irq locking).

23 years ago[NETFILTER]: Use CONFIG_BRIDGE_NETFILTER in ipt_REJECT.c
Bart De Schuymer [Tue, 2 Sep 2003 04:23:43 +0000 (21:23 -0700)]
[NETFILTER]: Use CONFIG_BRIDGE_NETFILTER in ipt_REJECT.c