David S. Miller [Wed, 8 May 2002 15:34:22 +0000 (08:34 -0700)]
Soft-fp fix:
- Fix handling of implicit 1 bit of fraction part when converting
from int to float. We cannot handle it properly unless we
defer implicit 1 bit handling till after rounding as
rounding may move where the implicit 1 bit is in
the final converted integer.
Linus Torvalds [Wed, 8 May 2002 09:10:48 +0000 (02:10 -0700)]
Merge penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux-2.5-pci
into penguin.transmeta.com:/home/penguin/torvalds/repositories/kernel/linux
Old pcmcia-cs versions expect the pcmcia modules in
/lib/modules/`uname -r`/pcmcia, so we symlinked them for compatibility.
According to the comment, the generation of these links should have
been removed in 2.4, so it's definitely time for it to go now.
David Brownell [Tue, 7 May 2002 07:55:20 +0000 (00:55 -0700)]
[PATCH] PATCH 2.5.14 -- ehci misc fixes
- Report better errors, and in one case the correct one.
- Adds strategic wmb() calls
- Claims the right (scaled) ISO bandwidth
- Uses non-CVS version ID
This will likely resolve that Archos MP3 Jukebox issue, where "-104"
(-ECONNRESET) was appearing mysteriously.
David Brownell [Tue, 7 May 2002 03:45:21 +0000 (20:45 -0700)]
[PATCH] USB usbnet driver update
- generalizes/cleans keventd support to also handle
* rx stalls (and usb 2.0 transaction translator unplug)
* rx memory shortfalls (latent bug Oliver noticed)
* cleanup on device disconnect (quiesce first)
- merges Brad's patch to use the IEEE802 "locally assigned" bit
- fixes a couple minor bugs on error paths (leak, bogus diagnostic)
- updates some comments
Andrew Morton [Tue, 7 May 2002 03:33:53 +0000 (20:33 -0700)]
[PATCH] Fix: writing to the swap space
Ah. That's some left-over code. Reads will be OK, but writes will be
unexpectedly asynchronous. Nothing in the kernel uses that function for
writes so it didn't show up.
[PATCH] USE_STANDARD_AS_RULE in i386 arch Makefiles
In Rules.make, a comment says:
# Old makefiles define their own rules for compiling .S files,
# but these standard rules are available for any Makefile that
# wants to use them. Our plan is to incrementally convert all
# the Makefiles to these standard rules. -- rmk, mec
Ivan Kokshaysky [Tue, 7 May 2002 03:27:41 +0000 (20:27 -0700)]
[PATCH] 2.5.14: New PCI allocation code (alpha, arm, parisc) [2/2]
Summary of changes:
- alpha, arm: code related to PCI-PCI bridges from pcibios_fixup_bus()
removed - now it's generic;
- pdev_sort_resource: sort resources all together, no matter IO or memory;
- pbus_assign_resources_sorted: ditto;
- pci_bridge_check_ranges, pci_setup_bridge: changed for prefetch support;
- pbus_size_io, pbus_size_mem: core stuff; tested with randomly generated
sets of resources;
- pbus_size_bridges: pass #2 (pass #1 is PCI probing, common for all archs);
- pbus_assign_resources: pass #3.
Ivan Kokshaysky [Tue, 7 May 2002 03:27:32 +0000 (20:27 -0700)]
[PATCH] 2.5.14: New PCI allocation code (alpha, arm, parisc) [1/2]
This changes PCI resource allocation algorithm to 3 passes vs.
current 2 passes. Extra pass is used for calculation of required
size and alignment of PCI buses behind PCI-PCI bridges. After
that, in the pass #3, these buses get allocated like regular
PCI devices. This gives tighter PCI IO and memory packing -
for instance, this fixes allocation problems on certain alphas
with very small (112Mb) PCI memory range. Also, the new code
- will allow mixed approach to resource allocation:
architecture can keep BIOS settings for some devices,
and re-allocate resources for others, including improperly
initialized bridges;
- makes prefetchable ranges support much simpler;
- allows sizing of IO and memory ranges for the host
bridges, which might be very useful in some situations.
It was tested on various alphas; I haven't heard any complaints
from rmk and rth, so probably all of this is ok. :-)
Part 1:
- for all archs, 4th argument (align) added to
pcibios_align_resource (and its callers).
It's necessary because this function will be called for
bus resources as well, and in this case size != alignment.
- for several archs, dead/bogus code removed from
pcibios_fixup_pbus_ranges().
Petr Vandrovec [Tue, 7 May 2002 03:21:23 +0000 (20:21 -0700)]
[PATCH] NLS: Allow user to select 1:1 mapping
This allows user to select 'default' encoding, which has defined mapping
for each of 255 byte values, so one can use it as a fallback when it
finds filesystem with unknown encoding (EBCDIC for example) just to get
characters through filesystem.
Douglas Gilbert [Tue, 7 May 2002 03:04:05 +0000 (20:04 -0700)]
[PATCH] sg update
Here is one fix and one enhancement to the scsi generic (sg)
driver in 2.5.14
Changelog:
- off by one fix for last scatter gather element
- if possible compact kiobuf_map into scatter gather list
Douglas Gilbert [Tue, 7 May 2002 03:03:43 +0000 (20:03 -0700)]
[PATCH] aha1542 update
This ISA scsi adapter still seems to be popular
given the number of people that supply patches
for it collected in Dave's tree.
The latest patch was from William Stinson (first item):
- request_region cleanup
- removal of old scsi error handling (leaving newer version)
- scatterlist::address replaced
- host_lock replacing io_request_lock
Doug Gilbert
P.S. This is a transfer from Dave's tree. It runs fine for
me on a dual Celeron SMP box.
Dave Jones [Tue, 7 May 2002 02:20:23 +0000 (19:20 -0700)]
[PATCH] PNPBIOS / floppy conflict.
The PNPBIOS driver and the floppy driver both fight over reservation
of the floppy port. This patch makes things friendly again.
As the comment suggests, this fix could be done better, but until
someone steps forward to fix this, this is the best we have.
Dave Jones [Tue, 7 May 2002 02:19:24 +0000 (19:19 -0700)]
[PATCH] prefetching too far in mem copies
This patch from 2.4 makes sure we don't prefetch past the
end of a range to be copied (in case its at the end of a memrange)
i386 case looks safe already, we just weren't optimal for the last
chunk to be copied.
Dave Jones [Tue, 7 May 2002 02:19:02 +0000 (19:19 -0700)]
[PATCH] VIA quirk update.
Brings up to date with the quirk in 2.4
This makes sure we only apply it on the right chipsets,
and adjusts the bits that get poked depending on which we find.