- 01 Sep, 2003 40 commits
-
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Linus Torvalds authored
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.
-
Linus Torvalds authored
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.
-
Ben Collins authored
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
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
where it belongs.
-
Jeff Garzik authored
-
Jeff Garzik authored
-
bk://kernel.bkbits.net/jgarzik/misc-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
when programming PCI cache line size. Just to be on the safe side. Suggested by Ingo Oeser.
-
Jeff Garzik authored
into redhat.com:/spare/repo/net-drivers-2.5
-
Jeff Garzik authored
Helpers moved: netif_poll_{enable,disable}, __netif_rx_complete, netif_tx_disable Use the helpers in net/core/dev.c.
-
Greg Ungerer authored
This patch creates a sections.h for the m68knommu architecture. Nothing special needed, just an include of the generic code.
-
Greg Ungerer authored
This patch creates a local.h for the m68knommu arhcitecture. Like most others architectures it is just an include of the generic one.
-
Greg Ungerer authored
-
Matthew Dharm authored
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.
-
bk://bk.arm.linux.org.uk/linux-2.6-pcmciaLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
-
Jeff Garzik authored
Also, call pci_disable_device() in PCI ->remove handler, to match pci_enable_device() in PCI ->probe handler.
-
Jeff Garzik authored
(preferred over alloc_etherdev + 8390-specific ethdev_init)
-
Jeff Garzik authored
-
Linus Torvalds authored
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.
-
bk://kernel.bkbits.net/acme/scsi-2.6Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Arnaldo Carvalho de Melo authored
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Jens Axboe authored
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.
-
Hirofumi Ogawa authored
From René Scharfe <l.s.r@web.de> As a result the size of vfat.o drops by 384 bytes in my build.
-
bk://kernel.bkbits.net/jgarzik/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/jgarzik/pci-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
use the PCI layer instead to provide those for us.
-
Jeff Garzik authored
* 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
-
Jeff Garzik authored
Modifies drivers atm/eni.c, ide/pci/cmd64x.c, and ide/pci/ns87415.c. Ack'd by DaveM.
-
Stelian Pop authored
This implements the needed 'release' callback in order to make videodev/sysfs happy again.
-
Stelian Pop authored
This reenables the CAPTURE button events in the sonypi driver, which were lost with the latest patch...
-
Jens Axboe authored
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.
-
bk://kernel.bkbits.net/davem/tg3-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
-
David S. Miller authored
-
David S. Miller authored
-