Revision fe0e5c4d947d34f10002b4cf272f0ebf110305b7 authored by Andrew Morton on 22 December 2006, 09:11:36 UTC, committed by Linus Torvalds on 22 December 2006, 16:55:51 UTC
Linus sayeth: Google knows everything, and finds, on MS own site no less: "Windows 2000 default resources: One 4K memory window One 2 MB memory window Two 256-byte I/O windows" which is clearly utterly bogus and insufficient. But Microsoft apparently realized this, and: "Windows XP default resources: Because one memory window of 4K and one window of 2 MB are not sufficient for CardBus controllers in many configurations, Windows XP allocates larger memory windows to CardBus controllers where possible. However, resource windows are static (that is, the operating system does not dynamically allocate larger memory windows if new devices appear.) Under Windows XP, CardBus controllers will be assigned the following resources: One 4K memory window, as in Windows 2000 64 MB memory, if that amount of memory is available. If 64 MB is not available the controller will receive 32 MB; if 32 MB is not available, the controller will receive 16 MB; if 16 MB is not available, the bridge will receive 8 MB; and so on down to a minimum assignment of 1 MB in configurations where memory is too constrained for the operating system to provide a larger window. Two 256-byte I/O windows" So I think we have our answer. Windows uses one 4k window, and one 64MB window. And they are no more dynamic than we are (we _could_ try to do it dynamically, but let's face it, it's fairly painful to dynamically expand PCI bus resources - you may need to reprogram everything up to the root, so it would be absolutely crazy to do that unless you have some serious masochistic tendencies). So let's just increase our default value to 64M too. Cc: Markus Rechberger <mrechberger@gmail.com> Cc: Daniel Ritz <daniel.ritz@gmx.ch> Cc: Dominik Brodowski <linux@dominikbrodowski.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
1 parent 192636a
File | Mode | Size |
---|---|---|
assabet_defconfig | -rw-r--r-- | 17.2 KB |
at91rm9200dk_defconfig | -rw-r--r-- | 18.9 KB |
at91rm9200ek_defconfig | -rw-r--r-- | 18.9 KB |
at91sam9260ek_defconfig | -rw-r--r-- | 18.6 KB |
at91sam9261ek_defconfig | -rw-r--r-- | 21.6 KB |
ateb9200_defconfig | -rw-r--r-- | 25.9 KB |
badge4_defconfig | -rw-r--r-- | 24.7 KB |
carmeva_defconfig | -rw-r--r-- | 12.9 KB |
cerfcube_defconfig | -rw-r--r-- | 17.6 KB |
clps7500_defconfig | -rw-r--r-- | 14.9 KB |
collie_defconfig | -rw-r--r-- | 18.5 KB |
corgi_defconfig | -rw-r--r-- | 32.3 KB |
csb337_defconfig | -rw-r--r-- | 23.1 KB |
csb637_defconfig | -rw-r--r-- | 21.9 KB |
ebsa110_defconfig | -rw-r--r-- | 13.7 KB |
edb7211_defconfig | -rw-r--r-- | 9.4 KB |
ep93xx_defconfig | -rw-r--r-- | 25.4 KB |
footbridge_defconfig | -rw-r--r-- | 24.8 KB |
fortunet_defconfig | -rw-r--r-- | 9.2 KB |
h3600_defconfig | -rw-r--r-- | 17.1 KB |
h7201_defconfig | -rw-r--r-- | 9.4 KB |
h7202_defconfig | -rw-r--r-- | 13.1 KB |
hackkit_defconfig | -rw-r--r-- | 14.1 KB |
integrator_defconfig | -rw-r--r-- | 16.5 KB |
iop13xx_defconfig | -rw-r--r-- | 25.2 KB |
iop32x_defconfig | -rw-r--r-- | 29.4 KB |
iop33x_defconfig | -rw-r--r-- | 23.4 KB |
ixp2000_defconfig | -rw-r--r-- | 22.4 KB |
ixp23xx_defconfig | -rw-r--r-- | 30.1 KB |
ixp4xx_defconfig | -rw-r--r-- | 26.0 KB |
jornada720_defconfig | -rw-r--r-- | 16.3 KB |
kafa_defconfig | -rw-r--r-- | 15.9 KB |
kb9202_defconfig | -rw-r--r-- | 14.1 KB |
lart_defconfig | -rw-r--r-- | 16.0 KB |
lpd270_defconfig | -rw-r--r-- | 20.3 KB |
lpd7a400_defconfig | -rw-r--r-- | 16.8 KB |
lpd7a404_defconfig | -rw-r--r-- | 22.2 KB |
lubbock_defconfig | -rw-r--r-- | 15.1 KB |
lusl7200_defconfig | -rw-r--r-- | 7.2 KB |
mainstone_defconfig | -rw-r--r-- | 14.9 KB |
mx1ads_defconfig | -rw-r--r-- | 13.8 KB |
neponset_defconfig | -rw-r--r-- | 23.2 KB |
netwinder_defconfig | -rw-r--r-- | 21.9 KB |
netx_defconfig | -rw-r--r-- | 16.5 KB |
omap_h2_1610_defconfig | -rw-r--r-- | 18.2 KB |
onearm_defconfig | -rw-r--r-- | 22.2 KB |
pleb_defconfig | -rw-r--r-- | 14.0 KB |
pnx4008_defconfig | -rw-r--r-- | 32.0 KB |
pxa255-idp_defconfig | -rw-r--r-- | 15.0 KB |
realview-smp_defconfig | -rw-r--r-- | 19.1 KB |
realview_defconfig | -rw-r--r-- | 14.5 KB |
rpc_defconfig | -rw-r--r-- | 18.2 KB |
s3c2410_defconfig | -rw-r--r-- | 27.7 KB |
shannon_defconfig | -rw-r--r-- | 16.5 KB |
shark_defconfig | -rw-r--r-- | 20.5 KB |
simpad_defconfig | -rw-r--r-- | 17.7 KB |
spitz_defconfig | -rw-r--r-- | 29.3 KB |
trizeps4_defconfig | -rw-r--r-- | 31.0 KB |
versatile_defconfig | -rw-r--r-- | 19.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...