]> git.hungrycats.org Git - linux/log
linux
21 years agoLinux 2.6.4-rc3 v2.6.4-rc3
Linus Torvalds [Tue, 9 Mar 2004 07:55:49 +0000 (23:55 -0800)]
Linux 2.6.4-rc3

21 years ago[PATCH] pmac_zilog 2/2 : Fix various bugs
Benjamin Herrenschmidt [Tue, 9 Mar 2004 07:47:33 +0000 (23:47 -0800)]
[PATCH] pmac_zilog 2/2 : Fix various bugs

This fixes possible lockups in pmac_zilog when beeing flooded with
incoming data (not that other serial drivers share the same race, I told
Russel about it already).  It also fixes some SCC initialization
problems, add some PM callback, and fix the irda setup code.

21 years ago[PATCH] pmac_zillog 1/2 : Cosmetic only, change "up" to "uap" to avoid collision
Benjamin Herrenschmidt [Tue, 9 Mar 2004 07:47:23 +0000 (23:47 -0800)]
[PATCH] pmac_zillog 1/2 : Cosmetic only, change "up" to "uap" to avoid collision

This does cosmetic changes the pmac_zilog, changing the use of "up" as
an identifier in favor "uap" to avoid collision with semaphores, use
proper debug macros, and a few other cosmetic bits.

21 years ago[PATCH] Print function names during do_initcall debugging
Andrew Morton [Tue, 9 Mar 2004 07:47:12 +0000 (23:47 -0800)]
[PATCH] Print function names during do_initcall debugging

From Jan-Benedict Glaw <jbglaw@lug-owl.de>

21 years ago[IRDA]: Move last of irsyms.c to irmod.c
Jean Tourrilhes [Tue, 9 Mar 2004 05:40:15 +0000 (21:40 -0800)]
[IRDA]: Move last of irsyms.c to irmod.c

Original patch from Stephen Hemminger

Move last bits of code out of irsyms and onto irmod.c where
initialization happens.

Move irda_debug parameter out of irsyms.c into irmod.c
and make it a new style module parameter.

21 years ago[IRDA]: Move irda_param related exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:37:29 +0000 (21:37 -0800)]
[IRDA]: Move irda_param related exports out of irsyms.

21 years ago[IRDA]: Move qos related exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:36:57 +0000 (21:36 -0800)]
[IRDA]: Move qos related exports out of irsyms.

21 years ago[IRDA]: Make irda_get_mtt et al. inline and not defines for better type checking.
Stephen Hemminger [Tue, 9 Mar 2004 05:36:28 +0000 (21:36 -0800)]
[IRDA]: Make irda_get_mtt et al. inline and not defines for better type checking.

irda_device_setup can now be static, only called from alloc_irdadev.

21 years ago[IRDA]: More irlap exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:35:32 +0000 (21:35 -0800)]
[IRDA]: More irlap exports out of irsyms.

21 years ago[IRDA]: Make irda_start_timer inline rather than exporting.
Stephen Hemminger [Tue, 9 Mar 2004 05:35:04 +0000 (21:35 -0800)]
[IRDA]: Make irda_start_timer inline rather than exporting.

21 years ago[IRDA]: Move crc16 exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:34:28 +0000 (21:34 -0800)]
[IRDA]: Move crc16 exports out of irsyms.

Also, make type __u16 rather than unsigned short to
match input parameter.

21 years ago[IRDA]: Move async_wrap function exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:33:26 +0000 (21:33 -0800)]
[IRDA]: Move async_wrap function exports out of irsyms.

21 years ago[IRDA]: Move irlmp routines out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:32:46 +0000 (21:32 -0800)]
[IRDA]: Move irlmp routines out of irsyms.

Also, make get_{saddr,daddr} inline and rename
lmp_reasons to irlmp_reasons.

21 years ago[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.
Stephen Hemminger [Tue, 9 Mar 2004 05:32:00 +0000 (21:32 -0800)]
[IRDA]: Move iriap routines out of irsyms, rename missing to irias_missing.

21 years ago[IRDA]: Move irttp exports out of irsyms.
Stephen Hemminger [Tue, 9 Mar 2004 05:31:15 +0000 (21:31 -0800)]
[IRDA]: Move irttp exports out of irsyms.

21 years ago[IRDA]: Move hashbin exports out of irsyms and into irqueue.
Stephen Hemminger [Tue, 9 Mar 2004 05:30:46 +0000 (21:30 -0800)]
[IRDA]: Move hashbin exports out of irsyms and into irqueue.

21 years ago[IRDA]: Flush irtty symbols that were exported but never used.
Jean Tourrilhes [Tue, 9 Mar 2004 05:30:09 +0000 (21:30 -0800)]
[IRDA]: Flush irtty symbols that were exported but never used.

21 years ago[IRDA]: Move proc_irda export out of irsyms.c into irproc.c
Stephen Hemminger [Tue, 9 Mar 2004 05:25:54 +0000 (21:25 -0800)]
[IRDA]: Move proc_irda export out of irsyms.c into irproc.c

21 years ago[PATCH] R128 DRI limits checking.
Dave Jones [Tue, 9 Mar 2004 01:09:21 +0000 (17:09 -0800)]
[PATCH] R128 DRI limits checking.

This got fixed in 2.4, but somehow got missed in 2.6.

21 years ago[PATCH] Clean up hotplug slab some more
Rusty Russell [Mon, 8 Mar 2004 14:49:26 +0000 (06:49 -0800)]
[PATCH] Clean up hotplug slab some more

This is a cleaner fix for the previous bogon fix.

21 years agoFix bogon in slab hotplug cleanup from Rusty.
Linus Torvalds [Mon, 8 Mar 2004 14:20:06 +0000 (06:20 -0800)]
Fix bogon in slab hotplug cleanup from Rusty.

21 years ago[PATCH] minor slab cleanups for hotplug CPUs
Rusty Russell [Mon, 8 Mar 2004 14:06:22 +0000 (06:06 -0800)]
[PATCH] minor slab cleanups for hotplug CPUs

- Move free_block prototype, and ac_entry and ac_data functions up in file.

- Use list_for_each_entry in cpuup_callback.

- Remove unneccessary g_cpucache_up in cpuup_callback.

- Make reap_timer_func take CPU number as data, and check if that is
  offline before rescheduing (noop without CONFIG_HOTPLUG_CPU).

21 years ago[PATCH] remove sparc64's num_possible_cpus()
Rusty Russell [Mon, 8 Mar 2004 14:06:12 +0000 (06:06 -0800)]
[PATCH] remove sparc64's num_possible_cpus()

Levent Serinol <levent.serinol@mynet.com> found that the hotplug cpu
patch broke Sparc64.  I introduced a num_possible_cpus(), which
Sparc64 already has.  Remove the Sparc64 one.

I also removed Sparc64's cpu_online() macro: it's in linux/cpumask.h
already.

21 years ago[PATCH] minor cleanups for hotplug CPUs
Rusty Russell [Mon, 8 Mar 2004 14:06:03 +0000 (06:06 -0800)]
[PATCH] minor cleanups for hotplug CPUs

Note that without CONFIG_HOTPLUG_CPU, online cpus == possible cpus, so
substitutions are a noop.

- Changes show_stat to print out stats for every possible cpu, not
  just online CPUs.

- Allocate mem in stat_open on possible, not online_cpus.

- Add conventient macros to cpu.h: especially cpu_is_offline() for
  testing if a cpu is still online.

- Add a num_possible_cpus() similar to num_online_cpus(), and define
  cpu_possible_mask for UP.

- Allow printk on down cpus once system is running.

- Mask cpumask with possible, not online cpus, for sys_getaffinity().

21 years ago[PATCH] introduce __drain_pages() to take a CPU number
Rusty Russell [Mon, 8 Mar 2004 14:05:53 +0000 (06:05 -0800)]
[PATCH] introduce __drain_pages() to take a CPU number

Extracts core of drain_pages() for hotcpu use.  Trivial.

Hotplug CPU needs to drain pages on a downed CPU (usually it's the
current cpu).  Introduce "__drain_pages", make the CPU an argument,
and expose it if CONFIG_HOTPLUG_CPU as well as CONFIG_PM.

21 years agoMerge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:26:26 +0000 (05:26 -0800)]
Merge bk://kernel.bkbits.net/jgarzik/via-crypto-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Mon, 8 Mar 2004 18:52:07 +0000 (13:52 -0500)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/via-crypto-2.5

21 years agoMerge bk://gkernel.bkbits.net/libata-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:25:45 +0000 (05:25 -0800)]
Merge bk://gkernel.bkbits.net/libata-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years ago[libata sata_promise] provide proper SCSI completion function
Jeff Garzik [Mon, 8 Mar 2004 17:33:25 +0000 (12:33 -0500)]
[libata sata_promise] provide proper SCSI completion function

Promise driver uses a custom error handling function, so we need
the fix that was applied to the libata core:  the SCSI error
handling thread requires that we complete commands using a special
completion function, since the normal one doesn't work inside
the error handling thread.

21 years ago[libata ata_piix] Make sure annoying BIOSen don't disable our interrupts
Jeff Garzik [Mon, 8 Mar 2004 17:23:20 +0000 (12:23 -0500)]
[libata ata_piix] Make sure annoying BIOSen don't disable our interrupts

21 years ago[libata] Include linux/suspend.h
Jeff Garzik [Mon, 8 Mar 2004 17:06:54 +0000 (12:06 -0500)]
[libata] Include linux/suspend.h

21 years ago[PATCH] sata vs suspend-to-ram
Arjan van de Ven [Mon, 8 Mar 2004 16:56:57 +0000 (11:56 -0500)]
[PATCH] sata vs suspend-to-ram

The following patch is a very crude one to at least not make sata block
suspend-to-ram entirely. Probably you want more powermanagement handling as
well... but it's a start

21 years agoMerge bk://gkernel.bkbits.net/net-drivers-2.5
Linus Torvalds [Mon, 8 Mar 2004 13:25:02 +0000 (05:25 -0800)]
Merge bk://gkernel.bkbits.net/net-drivers-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years ago[PATCH] pcnet32 transmit hang fix
Don Fry [Mon, 8 Mar 2004 16:23:53 +0000 (11:23 -0500)]
[PATCH] pcnet32 transmit hang fix

The pcnet32 driver will hang after a few frames (<30) with the 79C971
(and probably the 79C972 though I don't have the hardware to prove it).
By interrupting slightly more frequently the hang will not occur.

21 years ago[PATCH] Fix hp100 EISA probing
Marc Zyngier [Mon, 8 Mar 2004 16:23:45 +0000 (11:23 -0500)]
[PATCH] Fix hp100 EISA probing

>>>>> "Pawel" == Pawel Sokolowski <falcon@muflon.linux.pl> writes:

Pawel> This machine has RAM BIOS booted from floppy. I ran it and EISA
Pawel> configure utility to check this once more. Card is enabled and not
Pawel> locked. I added eisa_bus.enable_dev=2 parameter but it didn't help much.
Pawel> I'm getting:

Pawel> EISA: Probing bus 0 at eisa0
Pawel> EISA: Mainboard HWPC061 detected.
Pawel> EISA: slot 2 : HWP1940 detected (forced enabled).
Pawel> EISA: Detected 1 card.

Pawel> I added this final entry you mailed but nothing changed. Still - module
Pawel> loads and unloads cleanly and without any warnings on 2.6.4-rc1. But
Pawel> does nothing - not a single line in logs/dmesg after it's loaded. Card
Pawel> does not work after modprobe, I can't get interface up.

Ok, found it.

It really looks like the new EISA probing code in hp100 never got
tested, since a precious offset has disappeared during the rewriting
process.

Please note that you still need to enable the device by hand, since
your BIOS (or maybe the EISA CFG file, since I'm seeing the exact same
problem on a Compaq machine here) doesn't properly enable the card.

Here is what I'm getting on my test system :

EISA: Probing bus 0 at 0000:00:0f.0
EISA: Mainboard CPQ0541 detected.
EISA: slot 1 : DEC4250 detected.
EISA: slot 2 : UNB0048 detected.
EISA: slot 3 : HWP1940 detected (forced enabled).
hp100: Using (slow) programmed i/o mode.
hp100: at 0x3c38, IRQ 3, EISA bus, 128k SRAM (rx/tx 75%).
hp100: Adapter is attached to 10Mb/s network (10baseT).
EISA: slot 4 : NVL0701 detected.

21 years ago[PATCH] make module code use stop_machine.c
Rusty Russell [Mon, 8 Mar 2004 09:12:54 +0000 (01:12 -0800)]
[PATCH] make module code use stop_machine.c

Now we've moved the bogolock code out to stop_machine.c and
generalized it a little, use it in module.c and delete the duplicate
code there.

21 years ago[PATCH] stop_machine_run: Move Bogolock Code Out of module.c
Rusty Russell [Mon, 8 Mar 2004 09:12:45 +0000 (01:12 -0800)]
[PATCH] stop_machine_run: Move Bogolock Code Out of module.c

The "bogolock" code was introduced in module.c, as a way of freezing
the machine when we wanted to remove a module.  This patch moves it
out to stop_machine.c and stop_machine.h.

Since the code changes affinity and proirity, it's impolite to hijack
the current context, so we use a kthread.  This means we have to pass
the function rather than implement "stop_machine()" and
"restart_machine()".

21 years agoMerge bk://kernel.bkbits.net/davem/sparc-2.6
Linus Torvalds [Mon, 8 Mar 2004 08:07:55 +0000 (00:07 -0800)]
Merge bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge bk://kernel.bkbits.net/davem/net-2.6
Linus Torvalds [Mon, 8 Mar 2004 07:49:20 +0000 (23:49 -0800)]
Merge bk://kernel.bkbits.net/davem/net-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
David S. Miller [Mon, 8 Mar 2004 07:41:45 +0000 (23:41 -0800)]
Merge davem@nuts.davemloft.net:/disk1/BK/sparc-2.6
into kernel.bkbits.net:/home/davem/sparc-2.6

21 years agoMerge http://jfs.bkbits.net/linux-2.5
Linus Torvalds [Mon, 8 Mar 2004 07:29:40 +0000 (23:29 -0800)]
Merge http://jfs.bkbits.net/linux-2.5
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge jfs@jfs.bkbits.net:linux-2.5
Dave Kleikamp [Mon, 8 Mar 2004 10:54:41 +0000 (04:54 -0600)]
Merge jfs@jfs.bkbits.net:linux-2.5
into austin.ibm.com:/shaggy/bk/jfs-2.5

21 years agoJFS: Add lots of missing statics and remove dead code
Dave Kleikamp [Mon, 8 Mar 2004 09:55:54 +0000 (03:55 -0600)]
JFS: Add lots of missing statics and remove dead code

Submitted by Christoph Hellwig

21 years agoJFS: Avoid incrementing i_count on file create
Dave Kleikamp [Mon, 8 Mar 2004 08:40:34 +0000 (02:40 -0600)]
JFS: Avoid incrementing i_count on file create

Committing a transaction creating a file required insuring that the
inode stayed in cache until the journal was written to.  i_count was
being incremented until the transaction was complete.

However, incrementing i_count caused fcntl(S_SETLEASE) to fail.  I
reworked the transaction code so that the inode does not have to
stay in-memory while the transaction is being committed.

Thanks to Steve French for figuring out why setlease was failing.

21 years agoJFS: warn users of inaccessible file names
Dave Kleikamp [Mon, 8 Mar 2004 07:24:03 +0000 (01:24 -0600)]
JFS: warn users of inaccessible file names

When no iocharset is specified, the default action is to trivially
map each byte into the low order of the 16-bit unicode character.
If an existing name exists that has a non-zero high order byte, the
file will be inaccessible without remounting with iocharset set to
a charset that supports the character.

This patch will cause a warning to be issued to the syslog (no more
than five times) suggesting that the volume be mounted with
iocharset=utf8 in order to access the file.

21 years ago[PATCH] gcc-3.5 io_apic.c build fix
Andrew Morton [Mon, 8 Mar 2004 06:42:46 +0000 (22:42 -0800)]
[PATCH] gcc-3.5 io_apic.c build fix

From: Valdis.Kletnieks@vt.edu

The send_IPI_self() in smp.c was fixed but the one in io_apic.c was not.

21 years ago[PATCH] vma corruption fix
Andrew Morton [Mon, 8 Mar 2004 06:42:37 +0000 (22:42 -0800)]
[PATCH] vma corruption fix

From: Hugh Dickins <hugh@veritas.com>

Fixes bugzilla #2219

fork's dup_mmap leaves child mm_rb as copied from parent mm while doing all
the copy_page_ranges, and then calls build_mmap_rb without holding
page_table_lock.

try_to_unmap_one's find_vma (holding page_table_lock not mmap_sem) coming
on another cpu may cause mm mayhem.  It may leave the child's mmap_cache
pointing to a vma of the parent mm.

When the parent exits and the child faults, quite what happens rather
depends on what junk then inhabits vm_page_prot, which gets set in the page
table, with page_add_rmap adding the ptep, but junk pte likely to fail the
tests for page_remove_rmap.

Eventually the child exits, the page table is freed and try_to_unmap_one
oopses on null ptep_to_mm (but in a kernel with rss limiting, usually
page_referenced hits the null ptep_to_mm first).

This took me days and days to unravel!  Big thanks to Matthieu for
reporting it with a good test case.

21 years ago[PATCH] update filemap_flush() comments
Andrew Morton [Mon, 8 Mar 2004 06:42:27 +0000 (22:42 -0800)]
[PATCH] update filemap_flush() comments

It provides a best-effort, minimum-latency "get all the writeout
underway" function.

21 years agoJFS: setting xattr should update ctime
Dave Kleikamp [Mon, 8 Mar 2004 06:37:12 +0000 (00:37 -0600)]
JFS: setting xattr should update ctime

21 years agoAdd missing QUEUE_FLAG_REENTER bit from Jens'
Linus Torvalds [Mon, 8 Mar 2004 04:59:06 +0000 (20:59 -0800)]
Add missing QUEUE_FLAG_REENTER bit from Jens'
blk_start_queue() fix.

21 years ago[PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers
Bartlomiej Zolnierkiewicz [Mon, 8 Mar 2004 04:49:53 +0000 (20:49 -0800)]
[PATCH] fix CONFIG_PDC202XX_FORCE/BURST for modular pdc202xx new/old drivers

From: Jakub Bogusz <qboosh@pld-linux.org>

21 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.6
Linus Torvalds [Mon, 8 Mar 2004 04:48:00 +0000 (20:48 -0800)]
Merge bk://kernel.bkbits.net/davem/tg3-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux

21 years agoMerge nuts.davemloft.net:/disk1/BK/network-2.6
David S. Miller [Mon, 8 Mar 2004 04:32:25 +0000 (20:32 -0800)]
Merge nuts.davemloft.net:/disk1/BK/network-2.6
into nuts.davemloft.net:/disk1/BK/net-2.6

21 years ago[PATCH] proper error cleanup on security_acct hook
Chris Wright [Mon, 8 Mar 2004 04:29:33 +0000 (20:29 -0800)]
[PATCH] proper error cleanup on security_acct hook

Noted by Stephen Smalley: sys_acct does not properly clean up the open
file when the security_acct hook returns an error.

Fixed thus.

21 years ago[PATCH] fix blk_start_queue()
Jens Axboe [Mon, 8 Mar 2004 04:29:23 +0000 (20:29 -0800)]
[PATCH] fix blk_start_queue()

Here's the second attempt at fixing blk_start_queue().  The only change
since last version is using proper atomic bitops.  If we moved the
read/write full to a different variable, we could rely on the queue lock
for plugging and stop/start of queue (by far the most used bit
operations there) and skip the atomic bitops.

21 years ago[IPV4/IPV6]: Add sysctl limits for mcast src filters.
David Stevens [Mon, 8 Mar 2004 04:15:15 +0000 (20:15 -0800)]
[IPV4/IPV6]: Add sysctl limits for mcast src filters.

21 years ago[IPVS]: Code tidy up.
Wensong Zhang [Mon, 8 Mar 2004 04:01:40 +0000 (20:01 -0800)]
[IPVS]: Code tidy up.

Patch from Horms <horms@vergenet.net>

1. The trailing '\n' was missing, it has been added
2. The protocol is already in host byte order,
   the ntohl() call has been removed

21 years ago[NETFILTER]: In ip_route_me_harder, don't forget to set fl.proto
Herbert Xu [Mon, 8 Mar 2004 03:55:42 +0000 (19:55 -0800)]
[NETFILTER]: In ip_route_me_harder, don't forget to set fl.proto

21 years agoMerge nuts.davemloft.net:/disk1/BK/tg3work-2.6
David S. Miller [Mon, 8 Mar 2004 03:32:00 +0000 (19:32 -0800)]
Merge nuts.davemloft.net:/disk1/BK/tg3work-2.6
into nuts.davemloft.net:/disk1/BK/tg3-2.6

21 years ago[TIGON3]: Update driver version and reldate.
David S. Miller [Mon, 8 Mar 2004 03:25:39 +0000 (19:25 -0800)]
[TIGON3]: Update driver version and reldate.

21 years ago[TIGON3]: Always force PHY reset after major hw config changes.
David S. Miller [Mon, 8 Mar 2004 03:24:08 +0000 (19:24 -0800)]
[TIGON3]: Always force PHY reset after major hw config changes.

21 years ago[TIGON3]: Allow MAC address changing even when iface is up.
David S. Miller [Mon, 8 Mar 2004 03:08:13 +0000 (19:08 -0800)]
[TIGON3]: Allow MAC address changing even when iface is up.

21 years ago[PATCH] blk_insert_request() buglet
Jens Axboe [Mon, 8 Mar 2004 00:03:34 +0000 (16:03 -0800)]
[PATCH] blk_insert_request() buglet

blk_insert_request() unconditionally calls q->request_fn(q) regardless
of the plug state of the queue. This means that we could invoke
request_fn with a plugged queue, which is an invalid state.

Also fix a Jamesism style in there.

21 years ago[PATCH] xfs: filemap_flush() unresolved
Nathan Scott [Mon, 8 Mar 2004 00:03:25 +0000 (16:03 -0800)]
[PATCH] xfs: filemap_flush() unresolved

filemap_flush() needs exporting for modular XFS builds.

21 years ago[PATCH] small iSeries cleanup
Stephen Rothwell [Mon, 8 Mar 2004 00:03:15 +0000 (16:03 -0800)]
[PATCH] small iSeries cleanup

This got missed in my cleanup if iSeries_vio_dev.

21 years ago[PATCH] 2.6.x wanXL driver update
Krzysztof Halasa [Sun, 7 Mar 2004 14:28:25 +0000 (09:28 -0500)]
[PATCH] 2.6.x wanXL driver update

The attached patch updates wanXL card driver. Please apply to Linux 2.6.
Thanks.

Changes:
* fixed initialization kernel panic, introduced with recent alloc_netdev()
  wan patch,
* wanxl_rx_intr() port# now checked before accessing port structure,
* cleanups etc.
--
Krzysztof Halasa, B*FH

21 years ago[PATCH] missing setup for National DP83840 PHY rev b/c
Scott Feldman [Sun, 7 Mar 2004 14:28:18 +0000 (09:28 -0500)]
[PATCH] missing setup for National DP83840 PHY rev b/c

* Add National DP83840 PHY rev b/c setup.  Only rev a was being setup.

21 years ago[PATCH] tulip printk cleanup
Andrew Morton [Sun, 7 Mar 2004 14:28:10 +0000 (09:28 -0500)]
[PATCH] tulip printk cleanup

From: Joe Perches <joe@perches.com>

Use %08llx for a dma_addr_t, not the recently-added %llx.

21 years ago[PATCH] add blk_queue_stopped() helper function
Jens Axboe [Sun, 7 Mar 2004 00:02:56 +0000 (16:02 -0800)]
[PATCH] add blk_queue_stopped() helper function

The carmel driver will want to use this rather
than muck around in queue internals directly.

21 years ago[PATCH] arc4.c compile fix for older gcc's
Andrew Morton [Sun, 7 Mar 2004 00:02:47 +0000 (16:02 -0800)]
[PATCH] arc4.c compile fix for older gcc's

Declarations come before statements, please.

Current gcc warns about this too, bless them:

crypto/arc4.c: In function `arc4_crypt':
crypto/arc4.c:65: warning: ISO C90 forbids mixed declarations and code

21 years ago[PATCH] floppy oops fix
Andrew Morton [Sat, 6 Mar 2004 16:52:03 +0000 (08:52 -0800)]
[PATCH] floppy oops fix

From: Zwane Mwaikambo <zwane@linuxpower.ca>

It looks like a block request snuck through before we had initialised the
motor_off_timer timers.  So I pushed the timer init earlier.

21 years ago[PATCH] OSS Sound Driver Forte needs ac97_codec
Andrew Morton [Sat, 6 Mar 2004 16:51:53 +0000 (08:51 -0800)]
[PATCH] OSS Sound Driver Forte needs ac97_codec

From: Marc-Christian Petersen <m.c.p@wolk-project.de>

OSS Sound Driver Forte needs ac97_codec.

21 years ago[PATCH] fix i2c compile warnings
Andrew Morton [Sat, 6 Mar 2004 16:51:43 +0000 (08:51 -0800)]
[PATCH] fix i2c compile warnings

drivers/i2c/busses/i2c-elv.c: In function `i2c_bitelv_init':

drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-elv.c:155: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-velleman.c: In function `i2c_bitvelle_init':
drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)
drivers/i2c/busses/i2c-velleman.c:141: warning: unsigned int format, long int arg (arg 2)

21 years ago[PATCH] Documentation/cdrom/ide-cd fix
Andrew Morton [Sat, 6 Mar 2004 16:51:32 +0000 (08:51 -0800)]
[PATCH] Documentation/cdrom/ide-cd fix

From: David Joerg <davidjoerg@web.de>

Fix the description of the IO ports for the IDE primary and secondary
interfaces.

21 years ago[PATCH] alpha ptrace race fix
Andrew Morton [Sat, 6 Mar 2004 16:51:22 +0000 (08:51 -0800)]
[PATCH] alpha ptrace race fix

From: Aneesh Kumar KV <aneesh.kumar@digital.com>

We need to set the tasks's exit code prior to waking it, not afterwards.

Acked by rth.

21 years ago[PATCH] Fix nobh_prepare_write() race
Andrew Morton [Sat, 6 Mar 2004 16:51:13 +0000 (08:51 -0800)]
[PATCH] Fix nobh_prepare_write() race

Dave Kleikamp <shaggy@austin.ibm.com> points out a race between
nobh_prepare_write() and end_buffer_read_sync().  end_buffer_read_sync()
calls unlock_buffer(), waking the nobh_prepare_write() thread, which
immediately frees the buffer_head.  end_buffer_read_sync() then calls
put_bh() which decrements b_count for the already freed structure.  The
SLAB_DEBUG code detects the slab corruption.

We fix this by giving nobh_prepare_write() a private buffer_head end_o
handler which doesn't touch the buffer's contents after unlocking it.

21 years ago[PATCH] CONFIG_LBD fixes
Andrew Morton [Sat, 6 Mar 2004 16:51:03 +0000 (08:51 -0800)]
[PATCH] CONFIG_LBD fixes

From: Eric Sandeen <sandeen@sgi.com>

Several functions in buffer.c are using unsigned long where they should be
using sector_t.

Also, use pgoff_t in several places so it is easier to tell what is beingused
as a pagecache index, what is being used as a disk index and what is being
used as an offset-into-page.

21 years ago[PATCH] fix oops in emu10k1_wavein_open() error recovery
Andrew Morton [Sat, 6 Mar 2004 16:50:53 +0000 (08:50 -0800)]
[PATCH] fix oops in emu10k1_wavein_open() error recovery

If a large pci_alloc_consistent() GFP_ATOMIC allocation fails this driver's
recovery code will call emu10k1_wavein_close() far earlier than it should: it
goes splat in emu10k1_timer_uninstall().

Fix it by simply removing that call: we haven't allocated any resources yet
anyway.

Note that one of the callers of emu10k1_wavein_open(), emu10k1_audio_read()
will sit there stupidly retrying the open.  But it has a sleep in there so
something might eventually give way.

21 years ago[PATCH] i2o subsystem minor bugfixes
Andrew Morton [Sat, 6 Mar 2004 16:50:43 +0000 (08:50 -0800)]
[PATCH] i2o subsystem minor bugfixes

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

drivers/message/i2o/i2o_block.c:

 - corrected the initialization sequence of the request queues.

 - added initialization to queue spinlocks.

 - release device in i2o_scan because else the device could not be queried.

 - i2o_block event threads wait on signal KILL but signal TERM was sent.

drivers/message/i2o/i2o_core.c:

 - set the HRT length to 0 at initialization, to avoid calling free on
   unallocated memory.

 - i2o_core event threads wait on signal KILL but signal TERM was sent.

 - added a limit of 3 tries to get the HRT from the controller.

 - removed the dpt parameter, which was used to force DPT controllers get
   handled by the i2o driver.  Now all available i2o controllers will be
   handled by this driver.

drivers/message/i2o/i2o_scsi.c:

 - beautifying of printk calls.

 - added scsi_unregister to properly clean up on module unload.

drivers/message/i2o/Kconfig:

 - added help for i2o_block and i2o_scsi to describe the differences between
   the two drivers.

include/linux/i2o-dev.h:

 - cleaned typo "tate" into "state".

include/linux/i2o.h:

 - removed defines from i2o_block and insert it here.

(Acked by Alan)

21 years ago[PATCH] v4l1 compatibility module fix.
Andrew Morton [Sat, 6 Mar 2004 16:50:34 +0000 (08:50 -0800)]
[PATCH] v4l1 compatibility module fix.

From: Gerd Knorr <kraxel@bytesex.org>

This patch fixes a bug in the v4l1-compat module and makes it pass the
correct buffer type to the v4l2 driver on VIDIOC_STREAM(ON|OFF) ioctls.

21 years ago[PATCH] add missing MODULE_LICENSEs
Andrew Morton [Sat, 6 Mar 2004 16:50:22 +0000 (08:50 -0800)]
[PATCH] add missing MODULE_LICENSEs

From: Arjan van de Ven <arjanv@redhat.com>

21 years ago[PATCH] ext2/ext3 -ENOSPC bug
Andrew Morton [Sat, 6 Mar 2004 16:50:11 +0000 (08:50 -0800)]
[PATCH] ext2/ext3 -ENOSPC bug

From: Chris Mason <mason@suse.com>

find_group_other looks buggy for ext2 and ext3 in 2.6, it can cause -ENOSPC
errors when the fs has plenty of free room.

To hit the bug, you need a filesystem where:

parent_group has no free blocks (but might have free inodes) Every other
group with free inodes has no free blocks.

That gets you down to the final linear search in find_group_other.  The
linear search has two bugs:

group = parent_group + 1; means we start searching at parent_group + 2
because the loop increments group before using it.

for(i = 2 ; i < ngroups ; i++) means we don't search through all the
groups.

The end result is that parent_group and parent_group + 1 are not checked
for free inodes in the final linear search.  ext3 has the same problem.

21 years ago[PATCH] sb16 sample size fix
Andrew Morton [Sat, 6 Mar 2004 16:50:01 +0000 (08:50 -0800)]
[PATCH] sb16 sample size fix

From: Andreas Kies <andikies@t-online.de>

Fix improperly handled 16 bit sample size.  If you use an odd number of
bytes in 16 bit mode the driver fails to work.

21 years ago[PATCH] serial_core.h needs sched.h
Andrew Morton [Sat, 6 Mar 2004 16:49:52 +0000 (08:49 -0800)]
[PATCH] serial_core.h needs sched.h

In file included from drivers/misc/ibmasm/uart.c:27:
include/linux/serial_core.h: In function `uart_handle_dcd_change':
include/linux/serial_core.h:407: `TASK_INTERRUPTIBLE' undeclared (first use in this function)

21 years ago[PATCH] kill a dead function in lockd
Andrew Morton [Sat, 6 Mar 2004 16:49:42 +0000 (08:49 -0800)]
[PATCH] kill a dead function in lockd

From: Christoph Hellwig <hch@lst.de>

sleep_on hurts my eyes and this offender is compltely unused, so..

21 years ago[PATCH] c99 initializers for cs46xx_wrapper
Andrew Morton [Sat, 6 Mar 2004 16:49:31 +0000 (08:49 -0800)]
[PATCH] c99 initializers for cs46xx_wrapper

From: Arnd Bergmann <arnd@arndb.de>

This use of deprecated struct initializers was hidden behind macro magic
and has appearantly not been noticed before.

21 years ago[PATCH] Fix initrd Kconfig dependencies
Andrew Morton [Sat, 6 Mar 2004 16:49:21 +0000 (08:49 -0800)]
[PATCH] Fix initrd Kconfig dependencies

From: "Jim Gifford" <maillist@jg555.com>

Prevent initrd from being built if ram device is built as a module.

21 years ago[PATCH] char/rio/rioctrl: fix ioctl return values
Andrew Morton [Sat, 6 Mar 2004 16:49:11 +0000 (08:49 -0800)]
[PATCH] char/rio/rioctrl: fix ioctl return values

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

From: Tony Breeds <tony@bakeyournoodle.com>

It fixes 3 places where the ioctl returns positives instead of negatives.
I've gotten feedback from the maintainer (Rogier Wolff (sp?) and he has no
objections.

21 years ago[PATCH] fix put_compat_timespec prototype
Andrew Morton [Sat, 6 Mar 2004 16:49:01 +0000 (08:49 -0800)]
[PATCH] fix put_compat_timespec prototype

From: Arnd Bergmann <arnd@arndb.de>

The wrong argument in put_compat_timespec is marked const, causing
unnecessary compiler warnings.

21 years ago[PATCH] ppc64: Convert mm_context_t to a struct
Andrew Morton [Sat, 6 Mar 2004 16:48:52 +0000 (08:48 -0800)]
[PATCH] ppc64: Convert mm_context_t to a struct

From: David Gibson <david@gibson.dropbear.id.au>

Converts the mm_context_t on ppc64 to be a struct.  This lets us separate
the low_hpages flag into a separate field rather than folding it into the
actual context id.  That makes things neater, since the flag is
conceptually separate and has, for example, should be propogate across a
fork whereas the context ID obviously isn't.  The mm_context_id is the only
place to put arch-specific information in the mm_struct.

This patch will also make some interesting extensions to the hugepage
support much easier, such as allowing dynamic resizing of the hugepage
address space, or using special pagetables for hugepages.

21 years ago[PATCH] ppc64: iSeries virtual cdrom driver
Andrew Morton [Sat, 6 Mar 2004 16:48:42 +0000 (08:48 -0800)]
[PATCH] ppc64: iSeries virtual cdrom driver

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch adds the virtual cdrom driver for PPC64 iSeries.

21 years ago[PATCH] ppc64: iSeries_vio_dev cleanup
Andrew Morton [Sat, 6 Mar 2004 16:48:32 +0000 (08:48 -0800)]
[PATCH] ppc64: iSeries_vio_dev cleanup

From: Stephen Rothwell <sfr@canb.auug.org.au>

This patch declares iSeries_vio_dev in an include file and includes it where
necessary.  It also fixes arch/ppc64/kernel/mf.c to use the generic dma API
with iSeries_vio_dev.

21 years ago[PATCH] ppc64: Make xmon survive exit after soft reset
Andrew Morton [Sat, 6 Mar 2004 16:48:23 +0000 (08:48 -0800)]
[PATCH] ppc64: Make xmon survive exit after soft reset

From: Olof Johansson <olof@austin.ibm.com>

Below patch makes xmon survive a softreset invokation (and quite likely
invocations because of other traps as well).

21 years ago[PATCH] fastcall / regparm fixes
Andrew Morton [Sat, 6 Mar 2004 16:48:11 +0000 (08:48 -0800)]
[PATCH] fastcall / regparm fixes

From: Gerd Knorr <kraxel@suse.de>

Current gcc's error out if a function's declaration and definition disagree
about the register passing convention.

The patch adds a new `fastcall' declatation primitive, and uses that in all
the FASTCALL functions which we could find.  A number of inconsistencies were
fixed up along the way.

21 years ago[PATCH] drivers/sbus/char/vfc_dev.c needs mm.h
Andrew Morton [Sat, 6 Mar 2004 16:47:59 +0000 (08:47 -0800)]
[PATCH] drivers/sbus/char/vfc_dev.c needs mm.h

From: Jakub Bogusz <qboosh@pld-linux.org>

drivers/sbus/char/vfc_dev.c: In function `vfc_mmap':
drivers/sbus/char/vfc_dev.c:623: error: dereferencing pointer to incomplete type

21 years ago[PATCH] dm: remove v1 ioctl interface
Andrew Morton [Sat, 6 Mar 2004 16:47:49 +0000 (08:47 -0800)]
[PATCH] dm: remove v1 ioctl interface

From: Joe Thornber <thornber@redhat.com>

Remove the version-1 ioctl interface.

21 years ago[PATCH] svcauth_gss oops fix
Andrew Morton [Sat, 6 Mar 2004 16:47:39 +0000 (08:47 -0800)]
[PATCH] svcauth_gss oops fix

From: "J. Bruce Fields" <bfields@fieldses.org>

I've done some testing with 2.6.4-rc1.  It looks fine, except that one
critical patch got dropped somewhere along the way, without which
rpcsec_gss will oops.

We've changed gss_get_mic to write mic in place instead of kmalloc'ing new
memory for it; change must also be reflected in server side code.

21 years agoMerge bk://kernel.bkbits.net/wesolows/sparc32-2.6
David S. Miller [Sat, 6 Mar 2004 08:44:52 +0000 (00:44 -0800)]
Merge bk://kernel.bkbits.net/wesolows/sparc32-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6

21 years ago[PATCH] Fix knfsd filehandles...
Trond Myklebust [Sat, 6 Mar 2004 08:11:47 +0000 (00:11 -0800)]
[PATCH] Fix knfsd filehandles...

Here's a fix for an obvious typo in changeset
neilb@cse.unsw.edu.au|ChangeSet|20040305155724|31191
that was causing ESTALE errors galore on my NFS testrig.

21 years agoMerge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
David S. Miller [Sat, 6 Mar 2004 04:19:57 +0000 (20:19 -0800)]
Merge nuts.davemloft.net:/disk1/BK/sparcwork-2.6
into nuts.davemloft.net:/disk1/BK/sparc-2.6