]> git.hungrycats.org Git - linux/log
linux
23 years ago[CPUFREQ] Move longhaul scale/ratio tables to longhaul header file
Dave Jones [Thu, 4 Sep 2003 04:23:06 +0000 (05:23 +0100)]
[CPUFREQ] Move longhaul scale/ratio tables to longhaul header file

23 years ago[CPUFREQ] Remove the voltage scaling from longhaul driver.
Dave Jones [Thu, 4 Sep 2003 04:02:49 +0000 (05:02 +0100)]
[CPUFREQ] Remove the voltage scaling from longhaul driver.
The 'match voltage to frequency' routine is complete crap and needs
rewriting. (It also only works for a single stepping of C3)
I'll redo it when I find the specs again.
In the meantime, it doesn't work properly, so kill it.

23 years ago[CPUFREQ] Inform user of status of Ezra-T/Nehemiah longhaul support.
Dave Jones [Thu, 4 Sep 2003 03:51:33 +0000 (04:51 +0100)]
[CPUFREQ] Inform user of status of Ezra-T/Nehemiah longhaul support.
These are currently unsupported, and I get quite a lot of mails
asking about it. Hopefully this will be a little more informative
than 'unknown CPU'.

23 years ago[CPUFREQ] Clean up clock_ratio calculation.
Dave Jones [Thu, 4 Sep 2003 03:38:00 +0000 (04:38 +0100)]
[CPUFREQ] Clean up clock_ratio calculation.

23 years ago[CPUFREQ] Fix longhaul's mult,fsb -> MHz conversions.
Dave Jones [Thu, 4 Sep 2003 03:23:31 +0000 (04:23 +0100)]
[CPUFREQ] Fix longhaul's mult,fsb -> MHz conversions.
this was wrong in several places by a factor of 100.
Introduce a calc_speed helper to make this harder to get wrong.
Additionally, clean up some printk's to print out useful values
like MinMult=3.5x instead of MinMult(x10)=35.

23 years ago[CPUFREQ] Fix use of fsb before initialisation in longhaul.
Dave Jones [Thu, 4 Sep 2003 02:48:51 +0000 (03:48 +0100)]
[CPUFREQ] Fix use of fsb before initialisation in longhaul.

23 years ago[CPUFREQ] Cache FSB in longhaul driver.
Dave Jones [Thu, 4 Sep 2003 02:24:52 +0000 (03:24 +0100)]
[CPUFREQ] Cache FSB in longhaul driver.

23 years ago[CPUFREQ] Inform user about broken powernow-k7 PST tables.
Dave Jones [Wed, 3 Sep 2003 03:54:08 +0000 (04:54 +0100)]
[CPUFREQ] Inform user about broken powernow-k7 PST tables.

23 years ago[CPUFREQ] fix speedstep-ich's .name to reflect its real name
Dave Jones [Wed, 3 Sep 2003 03:27:43 +0000 (04:27 +0100)]
[CPUFREQ] fix speedstep-ich's .name to reflect its real name

23 years ago[CPUFREQ] new cpufreq_driver->resume callback, needed (at least) for speedstep-smi.
Dave Jones [Wed, 3 Sep 2003 03:19:46 +0000 (04:19 +0100)]
[CPUFREQ] new cpufreq_driver->resume callback, needed (at least) for speedstep-smi.

23 years ago[CPUFREQ] Fix incorrect entry in Kconfig
Dave Jones [Wed, 3 Sep 2003 03:14:06 +0000 (04:14 +0100)]
[CPUFREQ] Fix incorrect entry in Kconfig

23 years ago[CPUFREQ][ARM] allow for easier Kconfig usage on ARM, and more features for SA11x0...
Dave Jones [Wed, 3 Sep 2003 03:03:50 +0000 (04:03 +0100)]
[CPUFREQ][ARM] allow for easier Kconfig usage on ARM, and more features for SA11x0 users.

23 years ago[CPUFREQ][X86] Small fixes necessary to separate the governors from policies.
Dave Jones [Wed, 3 Sep 2003 02:53:30 +0000 (03:53 +0100)]
[CPUFREQ][X86] Small fixes necessary to separate the governors from policies.

23 years ago[CPUFREQ][SPARC64] Small fixes necessary to separate the governors from policies.
Dave Jones [Wed, 3 Sep 2003 02:47:33 +0000 (03:47 +0100)]
[CPUFREQ][SPARC64] Small fixes necessary to separate the governors from policies.

23 years ago[CPUFREQ][SH] Small fixes necessary to separate the governors from policies.
Dave Jones [Wed, 3 Sep 2003 02:35:15 +0000 (03:35 +0100)]
[CPUFREQ][SH] Small fixes necessary to separate the governors from policies.

23 years ago[CPUFREQ][PPC] Small fixes necessary to separate the governors from policies.
Dave Jones [Wed, 3 Sep 2003 02:10:20 +0000 (03:10 +0100)]
[CPUFREQ][PPC] Small fixes necessary to separate the governors from policies.

23 years ago[CPUFREQ] Add the "performance" and "powersave" governors as modules.
Dave Jones [Wed, 3 Sep 2003 01:57:16 +0000 (02:57 +0100)]
[CPUFREQ] Add the "performance" and "powersave" governors as modules.
Also add a config option so that the default governor [which is loaded
and enabled at boot] is started. Note that if you select "performance"
here, the CPU will be set to the highest possible frequency even if
the CPU was booted at a lower frequency. If you select "userspace",
the frequency will stay the same.

23 years ago[CPUFREQ] Completely separate governors from policies.
Dave Jones [Wed, 3 Sep 2003 01:50:10 +0000 (02:50 +0100)]
[CPUFREQ] Completely separate governors from policies.
Governors are for CPUfreq drivers which have a ->target callback,
Policies are for CPUfreq drivers which have a ->setpolicy callback.
Also, the "hardwired" governors "powersave" and "performance" are removed.

23 years ago[CPUFREQ] Fix various oddities in the userspace governer.
Dave Jones [Wed, 3 Sep 2003 01:42:28 +0000 (02:42 +0100)]
[CPUFREQ] Fix various oddities in the userspace governer.

23 years ago[CPUFREQ] Move drivers/cpufreq/userspace.c to drivers/cpufreq/cpufreq_userspace.c
Dave Jones [Wed, 3 Sep 2003 01:14:53 +0000 (02:14 +0100)]
[CPUFREQ] Move drivers/cpufreq/userspace.c to drivers/cpufreq/cpufreq_userspace.c
Module names of 'userspace' aren't very informative.

23 years ago[CPUFREQ] fix up two typos.
Dave Jones [Wed, 3 Sep 2003 00:31:13 +0000 (01:31 +0100)]
[CPUFREQ] fix up two typos.
cpuferq hakcers cnat spel.

23 years ago[CPUFREQ] Move kernel/cpufreq.c to drivers/cpufreq/cpufreq.c
Dave Jones [Wed, 3 Sep 2003 00:07:47 +0000 (01:07 +0100)]
[CPUFREQ] Move kernel/cpufreq.c to drivers/cpufreq/cpufreq.c
Also remove $Id$ tag.
No other code change.

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[PATCH] Fix non-modular compile of 3c515.c
Jeff Garzik [Tue, 2 Sep 2003 04:19:19 +0000 (21:19 -0700)]
[PATCH] Fix non-modular compile of 3c515.c

23 years agoFix keyboard double E0-sequence release case
Linus Torvalds [Tue, 2 Sep 2003 02:53:49 +0000 (19:53 -0700)]
Fix keyboard double E0-sequence release case

From Andries Brouwer <aebr@win.tue.nl>: we discard the double
release keypress, but we did it without clearing the "last byte
was E0" flag. So the next byte in the input stream would get
corrupted.

23 years ago[PATCH] Mark more drivers BROKEN{,ON_SMP}
Adrian Bunk [Tue, 2 Sep 2003 02:22:52 +0000 (19:22 -0700)]
[PATCH] Mark more drivers BROKEN{,ON_SMP}

- let more drivers that don't compile depend on BROKEN
- MTD_BLKMTD is fixed, remove the dependency on BROKEN
- let all drivers that don't compile on SMP (due to cli/sti usage)
  depend on a BROKEN_ON_SMP that is only defined if !SMP || BROKEN
- #include interrupt.h for dummy cli/sti/... in two files to fix the
  UP compilation of these files

I marked only drivers that are broken for a long time and where I don't
know about existing fixes with BROKEN or BROKEN_ON_SMP.

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

23 years ago[PATCH] ide: forward-port siimage driver changes from 2.4.22
Bartlomiej Zolnierkiewicz [Tue, 2 Sep 2003 00:43:40 +0000 (17:43 -0700)]
[PATCH] ide: forward-port siimage driver changes from 2.4.22

ide: forward-port siimage driver changes from 2.4.22

23 years ago[PATCH] ide: fix ide_unregister() vs. driver model
Bartlomiej Zolnierkiewicz [Tue, 2 Sep 2003 00:43:31 +0000 (17:43 -0700)]
[PATCH] ide: fix ide_unregister() vs. driver model

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

This patch seem to have been lost, so here it is again.  It fixes an Ooops
on unregistering hwifs due to the device model now having mandatory
release() functions.  It also close the possible race we had on release if
the entry was in use (by or /sys typically) by using a semaphore waiting
for the release() to be called after doing an unregister.

23 years ago[PATCH] Fix compile for raw1394
Ben Collins [Tue, 2 Sep 2003 00:43:23 +0000 (17:43 -0700)]
[PATCH] Fix compile for raw1394

Include vmalloc.h to fix compilation of raw1394.c

23 years ago[PATCH] scsi cleanups
Arnaldo Carvalho de Melo [Tue, 2 Sep 2003 00:38:37 +0000 (17:38 -0700)]
[PATCH] scsi cleanups

  o scsi/imm.h: use c99 style initialization

  As far as I verified this also fixes a bug when doing the
  table lookup for IMM_EPP_32, that would result in "Unknown"
  as IMM_EPP_32 is equal to 6 and there is the #ifdef...

ChangeSet@1.1386, 2003-09-02 00:11:07-03:00, acme@allegro.kerneljanitors.org
  o scsi/*.h: remove not needed #define NULL

ChangeSet@1.1385, 2003-09-02 00:05:16-03:00, acme@allegro.kerneljanitors.org
  o scsi/3w-xxx.h: use c99 style init

23 years ago[BLUETOOTH]: Fix typo in module alias changes.
David S. Miller [Mon, 1 Sep 2003 23:40:58 +0000 (16:40 -0700)]
[BLUETOOTH]: Fix typo in module alias changes.

23 years ago[NET]: Use MODULE_ALIAS() in network families.
Rusty Russell [Mon, 1 Sep 2003 21:38:35 +0000 (14:38 -0700)]
[NET]: Use MODULE_ALIAS() in network families.

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[SUNHME]: Fix non-sbus build.
Jeff Garzik [Mon, 1 Sep 2003 21:24:40 +0000 (14:24 -0700)]
[SUNHME]: Fix non-sbus build.

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Mon, 1 Sep 2003 21:21:29 +0000 (14:21 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

23 years agoBe a lot more careful about TS_USEDFPU and preemption
Linus Torvalds [Mon, 1 Sep 2003 17:37:25 +0000 (10:37 -0700)]
Be a lot more careful about TS_USEDFPU and preemption

We had some races where we testecd (or set) TS_USEDFPU together
with sequences that depended on the setting (like clearing or
setting the TS flag in %cr0) and we could be preempted in between,
which screws up the FPU state, since preemption will itself change
USEDFPU and the TS flag.

This makes it a lot more explicit: the "internal" low-level FPU
functions ("__xxxx_fpu()") all require preemption to be disabled,
and the exported "real" functions will make sure that is the case.

One case - in __switch_to() - was switched to the non-preempt-safe
internal version, since the scheduler itself has already disabled
preemption.

23 years agoFix del_timer_sync() SMP memory ordering (from Tejun Huh <tejun@aratech.co.kr>)
Linus Torvalds [Mon, 1 Sep 2003 17:05:56 +0000 (10:05 -0700)]
Fix del_timer_sync() SMP memory ordering (from Tejun Huh <tejun@aratech.co.kr>)

From Tejun's posting:
>
> This patch fixes a race between del_timer_sync and recursive timers.
> Current implementation allows the value of timer->base that is used
> for timer_pending test to be fetched before finishing running_timer
> test, so it's possible for a recursive time to be pending after
> del_timer_sync.  Adding smp_rmb before timer_pending removes the race.

23 years ago[PATCH] Update IEEE1394 (r1047)
Ben Collins [Mon, 1 Sep 2003 13:16:27 +0000 (06:16 -0700)]
[PATCH] Update IEEE1394 (r1047)

subsys   : - Added hpsb_make_streampacket() helper
           - Fix re-probe of bus after reset, when node's generation
     changes
   - Missing spinlock.h include for csr.c

general  : - Fix a few warnings from size mismatches in printk's

raw1394  : - Added RAW1394_REQ_ASYNC_STREAM
           - Use vmalloc/vfree for larger buffer support

ohci1394 : - Fix a few endianess bugs in ISO routines

eth1394  : - Fix cleanup of failed packets

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

23 years ago[NET] move ethtool_op_set_tx_csum from 8139cp drvr to net/core/ethtool.c,
Jeff Garzik [Mon, 1 Sep 2003 16:25:59 +0000 (12:25 -0400)]
[NET] move ethtool_op_set_tx_csum from 8139cp drvr to net/core/ethtool.c,
where it belongs.

23 years ago[netdrvr fealnx] merge typo build fix (non-x86) from 2.4
Jeff Garzik [Mon, 1 Sep 2003 13:18:05 +0000 (09:18 -0400)]
[netdrvr fealnx] merge typo build fix (non-x86) from 2.4

23 years ago[netdrvr] ethtool_ops for epic100, fealnx, winbond-840, via-rhine
Jeff Garzik [Mon, 1 Sep 2003 13:05:15 +0000 (09:05 -0400)]
[netdrvr] ethtool_ops for epic100, fealnx, winbond-840, via-rhine

23 years agoMerge bk://kernel.bkbits.net/jgarzik/misc-2.5
Linus Torvalds [Mon, 1 Sep 2003 11:22:13 +0000 (04:22 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/misc-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[PCI, ia32] don't assume "c->x86 > 6" applies to non-Intel CPUs
Jeff Garzik [Mon, 1 Sep 2003 16:59:42 +0000 (12:59 -0400)]
[PCI, ia32] don't assume "c->x86 > 6" applies to non-Intel CPUs
when programming PCI cache line size.

Just to be on the safe side.  Suggested by Ingo Oeser.

23 years agoMerge redhat.com:/spare/repo/linux-2.5
Jeff Garzik [Mon, 1 Sep 2003 11:14:26 +0000 (07:14 -0400)]
Merge redhat.com:/spare/repo/linux-2.5
into redhat.com:/spare/repo/net-drivers-2.5

23 years ago[NET] move netif_* helpers from tg3 driver to linux/netdevice.h
Jeff Garzik [Mon, 1 Sep 2003 10:56:05 +0000 (06:56 -0400)]
[NET] move netif_* helpers from tg3 driver to linux/netdevice.h

Helpers moved:
netif_poll_{enable,disable}, __netif_rx_complete, netif_tx_disable

Use the helpers in net/core/dev.c.

23 years ago[PATCH] create an m68knommu sections.h
Greg Ungerer [Mon, 1 Sep 2003 10:38:26 +0000 (03:38 -0700)]
[PATCH] create an m68knommu sections.h

This patch creates a sections.h for the m68knommu architecture.
Nothing special needed, just an include of the generic code.

23 years ago[PATCH] create an m68knommu local.h
Greg Ungerer [Mon, 1 Sep 2003 10:38:17 +0000 (03:38 -0700)]
[PATCH] create an m68knommu local.h

This patch creates a local.h for the m68knommu arhcitecture. Like
most others architectures it is just an include of the generic one.

23 years ago[PATCH] irqreturn_t fixes for m68knommu irq.h
Greg Ungerer [Mon, 1 Sep 2003 10:38:09 +0000 (03:38 -0700)]
[PATCH] irqreturn_t fixes for m68knommu irq.h

23 years ago[PATCH] sr.c should issue TEST_UNIT_READY
Matthew Dharm [Mon, 1 Sep 2003 10:37:10 +0000 (03:37 -0700)]
[PATCH] sr.c should issue TEST_UNIT_READY

The linux/drivers/scsi/sr.c code will issue a MODE_SENSE[_10] command to
a device as the first command sent to the device.  If the device has
just come out of reset, it will likely respond with a UNIT_ATTENTION /
NOT_READY status, which causes the MODE_SENSE to fail.  In fact, the
device may have several UNIT_ATTENTION conditions queued up (power-up
reset, media change, etc.)

This results in the mode page 0x2a data not being properly read and
interpreted.  As an end-effect, things like packet-writing don't work
(because the writeable bit is not set).

The solution to this is to issue one or more TEST_UNIT_READY commands to
the device to clear any pending UNIT_ATTENTION conditions.  This is the
technique used by sd.c -- in fact, this code was lifted directly from
sd.c

At some point in the future, abstraction of this initial TEST_UNIT_READY
code between all high-level SCSI drivers may be apropriate.  For now,
this patch makes sr.c issue TEST_UNIT_READY to clear the UNIT_ATTENTION,
thus allowing the mode page 0x2a code to work properly.  Given the
approaching 2.6.0-final release, I urge that this patch be accepted.

23 years agoMerge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
Linus Torvalds [Mon, 1 Sep 2003 10:32:04 +0000 (03:32 -0700)]
Merge bk://bk.arm.linux.org.uk/linux-2.6-pcmcia
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[netdrvr ne2k-pci] ethtool_ops support
Jeff Garzik [Mon, 1 Sep 2003 09:03:08 +0000 (05:03 -0400)]
[netdrvr ne2k-pci] ethtool_ops support

23 years ago[netdrvr ne2k-pci] allocate netdev+8390 struct using new alloc_ei_netdev()
Jeff Garzik [Mon, 1 Sep 2003 08:58:58 +0000 (04:58 -0400)]
[netdrvr ne2k-pci] allocate netdev+8390 struct using new alloc_ei_netdev()

Also, call pci_disable_device() in PCI ->remove handler,
to match pci_enable_device() in PCI ->probe handler.

23 years ago[netdrvr 8390] new function alloc_ei_netdev()
Jeff Garzik [Mon, 1 Sep 2003 08:50:25 +0000 (04:50 -0400)]
[netdrvr 8390] new function alloc_ei_netdev()

(preferred over alloc_etherdev + 8390-specific ethdev_init)

23 years ago[netdrvr de2104x] ethtool_ops support
Jeff Garzik [Mon, 1 Sep 2003 07:06:15 +0000 (03:06 -0400)]
[netdrvr de2104x] ethtool_ops support

23 years agoDon't claim exclusive ownership of the device when doing
Linus Torvalds [Mon, 1 Sep 2003 05:24:11 +0000 (22:24 -0700)]
Don't claim exclusive ownership of the device when doing
the SG_IO and SCSI_IOCTL_SEND_COMMAND ioctl's. That just
screws things up when the drive is mounted.

If somebody wants exclusive access, he should indicate that
at open time.

23 years agoMerge bk://kernel.bkbits.net/acme/scsi-2.6
Linus Torvalds [Mon, 1 Sep 2003 04:18:09 +0000 (21:18 -0700)]
Merge bk://kernel.bkbits.net/acme/scsi-2.6
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoo scsi: remove include procfs_h from hosts.h
Arnaldo Carvalho de Melo [Mon, 1 Sep 2003 15:01:44 +0000 (12:01 -0300)]
o scsi: remove include procfs_h from hosts.h

23 years agoMerge nuts.ninka.net:/disk1/davem/BK/network-2.5
David S. Miller [Mon, 1 Sep 2003 04:06:51 +0000 (21:06 -0700)]
Merge nuts.ninka.net:/disk1/davem/BK/network-2.5
into nuts.ninka.net:/disk1/davem/BK/net-2.5

23 years ago[PATCH] IO scheduler, not elevator
Jens Axboe [Mon, 1 Sep 2003 03:34:08 +0000 (20:34 -0700)]
[PATCH] IO scheduler, not elevator

I've been trying to remove these, but apparently new ones crop up. Lets
just call it io scheduler, none of the ones in the kernel are using the
classic elevator algorithm.

23 years ago[PATCH] vfat_valid_longname() cleanup
Hirofumi Ogawa [Mon, 1 Sep 2003 03:27:00 +0000 (20:27 -0700)]
[PATCH] vfat_valid_longname() cleanup

From RenĂ© Scharfe <l.s.r@web.de>

As a result the size of vfat.o drops by 384 bytes in my build.

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
Linus Torvalds [Mon, 1 Sep 2003 03:26:16 +0000 (20:26 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/jgarzik/pci-2.5
Linus Torvalds [Mon, 1 Sep 2003 03:25:26 +0000 (20:25 -0700)]
Merge bk://kernel.bkbits.net/jgarzik/pci-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[video planb] don't hardware pci command/cacheline/latency values,
Jeff Garzik [Mon, 1 Sep 2003 07:41:34 +0000 (03:41 -0400)]
[video planb] don't hardware pci command/cacheline/latency values,
use the PCI layer instead to provide those for us.

23 years ago[tokenring lanstreamer] clean up MWI / PCI_CACHE_LINE_SIZE usage
Jeff Garzik [Mon, 1 Sep 2003 07:31:03 +0000 (03:31 -0400)]
[tokenring lanstreamer] clean up MWI / PCI_CACHE_LINE_SIZE usage

* remove PCI_CACHE_LINE_SIZE workaround, PCI core already does
  this for us.  (main change)
* propagate pci_set_dma_mask return value
* add 'ULL' suffix to pci_set_dma_mask arg
* propagate pci_enable_device return value
* call pci_set_mwi, check and propagate its return value
* call pci_clear_mwi and pci_disable_device on close, and probe error
* call iounmap when cleaning up

23 years ago[PCI] Remove cases where PCI_CACHE_LINE_SIZE is hardcoded.
Jeff Garzik [Mon, 1 Sep 2003 07:24:50 +0000 (03:24 -0400)]
[PCI] Remove cases where PCI_CACHE_LINE_SIZE is hardcoded.

Modifies drivers atm/eni.c, ide/pci/cmd64x.c, and
ide/pci/ns87415.c.  Ack'd by DaveM.

23 years ago[PATCH] meye driver update
Stelian Pop [Mon, 1 Sep 2003 03:25:05 +0000 (20:25 -0700)]
[PATCH] meye driver update

This implements the needed 'release' callback in order to make
videodev/sysfs happy again.

23 years ago[PATCH] reenable CAPTURE button in sonypi
Stelian Pop [Mon, 1 Sep 2003 03:24:33 +0000 (20:24 -0700)]
[PATCH] reenable CAPTURE button in sonypi

This reenables the CAPTURE button events in the sonypi driver, which
were lost with the latest patch...

23 years ago[PATCH] software hd led support
Jens Axboe [Mon, 1 Sep 2003 03:18:28 +0000 (20:18 -0700)]
[PATCH] software hd led support

This adds support for software controlled hard drive LED activity.

This is really nice on such machines as Apple Powerbooks, where there is
no such LED in the first place and the sleep/suspend LED isn't used for
anything when the machine is running.

23 years agoMerge bk://kernel.bkbits.net/davem/tg3-2.5
Linus Torvalds [Mon, 1 Sep 2003 02:46:16 +0000 (19:46 -0700)]
Merge bk://kernel.bkbits.net/davem/tg3-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years agoMerge bk://kernel.bkbits.net/davem/net-2.5
Linus Torvalds [Mon, 1 Sep 2003 02:44:03 +0000 (19:44 -0700)]
Merge bk://kernel.bkbits.net/davem/net-2.5
into home.osdl.org:/home/torvalds/v2.5/linux

23 years ago[IPV6]: Fix printf format in ip6fl_fl_seq_show.
David S. Miller [Mon, 1 Sep 2003 00:38:30 +0000 (17:38 -0700)]
[IPV6]: Fix printf format in ip6fl_fl_seq_show.

23 years ago[IPV6]: linger member of ip6_flowlabel needs to be a long.
David S. Miller [Mon, 1 Sep 2003 00:33:17 +0000 (17:33 -0700)]
[IPV6]: linger member of ip6_flowlabel needs to be a long.

23 years ago[IPV6]: Fix types in fl6_renew().
David S. Miller [Mon, 1 Sep 2003 00:30:14 +0000 (17:30 -0700)]
[IPV6]: Fix types in fl6_renew().

23 years ago[IPV6]: Fix timer handling in ip6_flowlabel.c
Vinay K. Nallamothu [Mon, 1 Sep 2003 00:17:57 +0000 (17:17 -0700)]
[IPV6]: Fix timer handling in ip6_flowlabel.c
- Use time_{before,after}() macros.
- Use mod_timer instead of del_timer/add_timer
- Properly synchronize timer resetting using ip6_fl_lock.

23 years ago[NET]: Remove reference to CONFIG_IA64_SGI_SN1, it is gone.
Christoph Hellwig [Sun, 31 Aug 2003 19:42:15 +0000 (12:42 -0700)]
[NET]: Remove reference to CONFIG_IA64_SGI_SN1, it is gone.

23 years ago[IPV6]: Remove sockets from ip6_tunnel.c
Ville Nuorvala [Sun, 31 Aug 2003 18:55:15 +0000 (11:55 -0700)]
[IPV6]: Remove sockets from ip6_tunnel.c

23 years ago[IPV6]: Set dev->{dev_addr,broadcast} in ip6_tnls.
Ville Nuorvala [Sun, 31 Aug 2003 18:53:57 +0000 (11:53 -0700)]
[IPV6]: Set dev->{dev_addr,broadcast} in ip6_tnls.

23 years ago[IPV6]: Use free_netdev as ip6_tunnel device destructor.
Ville Nuorvala [Sun, 31 Aug 2003 18:52:11 +0000 (11:52 -0700)]
[IPV6]: Use free_netdev as ip6_tunnel device destructor.

23 years ago[IPV6]: Fix two bugs in ip6_tunnel.c ICMP error handling.
Ville Nuorvala [Sun, 31 Aug 2003 18:47:35 +0000 (11:47 -0700)]
[IPV6]: Fix two bugs in ip6_tunnel.c ICMP error handling.

Fix byte order of info parameter in ip6ip6_err().

23 years ago[BRIDGE]: Create CONFIG_BRIDGE_NETFILTER and use it instead of messy tests.
Bart De Schuymer [Sun, 31 Aug 2003 18:44:39 +0000 (11:44 -0700)]
[BRIDGE]: Create CONFIG_BRIDGE_NETFILTER and use it instead of messy tests.

23 years ago[IPV6]: Fix typo in icmp BUG() fix.
David S. Miller [Sun, 31 Aug 2003 18:38:12 +0000 (11:38 -0700)]
[IPV6]: Fix typo in icmp BUG() fix.

23 years ago[IPV6]: Do not BUG() on icmp6 socket contention, just drop.
David S. Miller [Sun, 31 Aug 2003 18:33:48 +0000 (11:33 -0700)]
[IPV6]: Do not BUG() on icmp6 socket contention, just drop.

23 years ago[NET]: Convert netdev_rx_stat to per-cpu data.
Christoph Hellwig [Sun, 31 Aug 2003 18:19:19 +0000 (11:19 -0700)]
[NET]: Convert netdev_rx_stat to per-cpu data.

23 years ago[IPV6]: Use per-cpu data for icmp sockets.
Christoph Hellwig [Sun, 31 Aug 2003 18:15:03 +0000 (11:15 -0700)]
[IPV6]: Use per-cpu data for icmp sockets.

23 years ago[NET]: Add MODULE_LICENSE to xfrm_user.c
Herbert Xu [Sun, 31 Aug 2003 18:12:45 +0000 (11:12 -0700)]
[NET]: Add MODULE_LICENSE to xfrm_user.c

23 years ago[TG3]: ICH2 needs MBOX write reorder bug workaround too.
Xose Vazquez Perez [Sun, 31 Aug 2003 18:11:37 +0000 (11:11 -0700)]
[TG3]: ICH2 needs MBOX write reorder bug workaround too.

23 years ago[SPARC]: Mark get_rtc_time() static in SBUS rtc driver.
David S. Miller [Sun, 31 Aug 2003 17:29:32 +0000 (10:29 -0700)]
[SPARC]: Mark get_rtc_time() static in SBUS rtc driver.

23 years agoMerge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
Jeff Garzik [Sun, 31 Aug 2003 17:26:35 +0000 (13:26 -0400)]
Merge bk://kernel.bkbits.net/jgarzik/net-drivers-2.6
into redhat.com:/spare/repo/net-drivers-2.5

23 years ago[netdrvr 8139cp] PCI MWI cleanup; remove unneeded workaround
Jeff Garzik [Sun, 31 Aug 2003 16:14:47 +0000 (12:14 -0400)]
[netdrvr 8139cp] PCI MWI cleanup; remove unneeded workaround

* The PCI layer now handles incorrect cacheline size settings,
  as it should.  Remove our own workarounds.
* Move pci_set_mwi up much earlier in the probe process,
  and check its return value.
* Call pci_clear_mwi() in ->probe error handling
* Call pci_clear_mwi() in ->remove

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/tg3-2.5
David S. Miller [Sun, 31 Aug 2003 16:08:24 +0000 (09:08 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/tg3-2.5
into nuts.ninka.net:/disk1/davem/BK/tg3-2.5

23 years agoMerge nuts.ninka.net:/home/davem/src/BK/sparc-2.5
David S. Miller [Sun, 31 Aug 2003 15:59:39 +0000 (08:59 -0700)]
Merge nuts.ninka.net:/home/davem/src/BK/sparc-2.5
into nuts.ninka.net:/disk1/davem/BK/sparc-2.5

23 years agoMerge
David S. Miller [Sun, 31 Aug 2003 15:52:50 +0000 (08:52 -0700)]
Merge

23 years ago[PATCH] Add documentation for /proc/stat
Andrew Morton [Sun, 31 Aug 2003 11:36:56 +0000 (04:36 -0700)]
[PATCH] Add documentation for /proc/stat

From: "Bryan O'Sullivan" <bos@serpentine.com>

This patch adds documentation for the contents of the /proc/stat file.

23 years ago[PATCH] ext3_setxattr() oops fix
Andrew Morton [Sun, 31 Aug 2003 11:36:48 +0000 (04:36 -0700)]
[PATCH] ext3_setxattr() oops fix

If journal_start() fails it returns an ERR_PTR.  Best not pass that into
journal_stop().

23 years ago[PATCH] tty oops fix
Andrew Morton [Sun, 31 Aug 2003 11:36:41 +0000 (04:36 -0700)]
[PATCH] tty oops fix

Ancient bug, reported by Hiroshi Inoue <inoueh@uranus.dti.ne.jp>:

 1. login to tty2 (not tty1)
 2. start kon (Kanji cONsole emulator, console which support
    Japanese characters)
 3. exit kon
 4. logout

It oopses in the debugging function check_tty_count(), walking a list_head
which has been list_del()'d.   Call trace is:

#0  check_tty_count (tty=0x10d42000, routine=0xc817b00 ".paths") at include/asm/processor.h:583
#1  0x022c6c00 in do_tty_hangup (data=0x10d42000) at drivers/char/tty_io.c:426
#2  0x022c6f60 in tty_vhangup (tty=0xc817b00) at drivers/char/tty_io.c:536
#3  0x022c6fcc in disassociate_ctty (on_exit=1) at drivers/char/tty_io.c:574
#4  0x02127aee in do_exit (code=0) at kernel/exit.c:718
#5  0x02127caa in do_group_exit (exit_code=0) at kernel/exit.c:796
#6  0x02127cbc in sys_exit_group (error_code=0) at kernel/exit.c:807

The tty refcount is zero, so everything seems consistent and sensible.  The
fix just uses list_del_init() on that list_head.

Heaven knows what the locking for tty->count is though.  Some bizarre mixture
of BKL, tty_sem and nothing at all.

23 years ago[PATCH] scsi_unregister() oops fix
Andrew Morton [Sun, 31 Aug 2003 11:36:33 +0000 (04:36 -0700)]
[PATCH] scsi_unregister() oops fix

Some drivers such as aha1542 and aic7xxx_old will call scsi_register() and
then, if some succeeding operations fails they will call scsi_unregister(),
without an intervening scsi_set_host().

This causes an oops in scsi_put_device(), because kobj->parent is NULL.

In other words, scsi_register() immediately followed by scsi_unregister()
is guaranteed to oops.

The patch makes scsi_host_dev_release() more robust against this usage
pattern.

23 years ago[PATCH] handle setup_swap_extents() error in swapon.
Andrew Morton [Sun, 31 Aug 2003 11:36:26 +0000 (04:36 -0700)]
[PATCH] handle setup_swap_extents() error in swapon.

From: Hugh Dickins <hugh@veritas.com>

It's good that swapon fails on a tmpfs file ("swapfile has holes"), but not
good that it then hangs up: note error from setup_swap_extents.

23 years ago[PATCH] fix advansys.c if !CONFIG_PROC_FS
Andrew Morton [Sun, 31 Aug 2003 11:36:19 +0000 (04:36 -0700)]
[PATCH] fix advansys.c if !CONFIG_PROC_FS

From: Adrian Bunk <bunk@fs.tum.de>

The patch below fixes a compile error in drivers/scsi/advansys.c if
!CONFIG_PROC_FS.