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
History
File Mode Size
ABI
DocBook
RCU
accounting
aoe
arm
block
cdrom
connector
console
cpu-freq
cris
crypto
device-mapper
driver-model
drivers
dvb
early-userspace
fault-injection
fb
filesystems
firmware_class
fujitsu
hwmon
i2c
i2o
i386
ia64
infiniband
input
ioctl
isdn
kbuild
kdump
m68k
mips
netlabel
networking
parisc
pcmcia
power
powerpc
s390
scsi
serial
sh
sound
sparc
spi
sysctl
telephony
uml
usb
video4linux
vm
w1
watchdog
x86_64
00-INDEX -rw-r--r-- 10.3 KB
BUG-HUNTING -rw-r--r-- 7.1 KB
Changes -rw-r--r-- 11.3 KB
CodingStyle -rw-r--r-- 25.6 KB
DMA-API.txt -rw-r--r-- 20.9 KB
DMA-ISA-LPC.txt -rw-r--r-- 5.2 KB
DMA-mapping.txt -rw-r--r-- 32.0 KB
HOWTO -rw-r--r-- 28.8 KB
IO-mapping.txt -rw-r--r-- 7.8 KB
IPMI.txt -rw-r--r-- 26.6 KB
IRQ-affinity.txt -rw-r--r-- 1.3 KB
IRQ.txt -rw-r--r-- 962 bytes
MSI-HOWTO.txt -rw-r--r-- 25.4 KB
ManagementStyle -rw-r--r-- 12.9 KB
PCIEBUS-HOWTO.txt -rw-r--r-- 8.6 KB
README.DAC960 -rw-r--r-- 33.9 KB
README.cycladesZ -rw-r--r-- 293 bytes
SAK.txt -rw-r--r-- 2.9 KB
SecurityBugs -rw-r--r-- 1.8 KB
SubmitChecklist -rw-r--r-- 2.6 KB
SubmittingDrivers -rw-r--r-- 5.4 KB
SubmittingPatches -rw-r--r-- 17.8 KB
VGA-softcursor.txt -rw-r--r-- 2.0 KB
acpi-hotkey.txt -rw-r--r-- 1.3 KB
applying-patches.txt -rw-r--r-- 19.5 KB
atomic_ops.txt -rw-r--r-- 15.6 KB
basic_profiling.txt -rw-r--r-- 1.7 KB
binfmt_misc.txt -rw-r--r-- 6.0 KB
cachetlb.txt -rw-r--r-- 17.1 KB
cciss.txt -rw-r--r-- 6.5 KB
cli-sti-removal.txt -rw-r--r-- 3.9 KB
computone.txt -rw-r--r-- 17.2 KB
cpqarray.txt -rw-r--r-- 2.2 KB
cpu-hotplug.txt -rw-r--r-- 14.5 KB
cpusets.txt -rw-r--r-- 26.0 KB
cputopology.txt -rw-r--r-- 1.6 KB
dcdbas.txt -rw-r--r-- 3.6 KB
debugging-modules.txt -rw-r--r-- 759 bytes
dell_rbu.txt -rw-r--r-- 4.9 KB
devices.txt -rw-r--r-- 115.7 KB
digiepca.txt -rw-r--r-- 3.7 KB
dnotify.txt -rw-r--r-- 3.5 KB
dontdiff -rw-r--r-- 1.4 KB
ecryptfs.txt -rw-r--r-- 2.3 KB
eisa.txt -rw-r--r-- 7.1 KB
exception.txt -rw-r--r-- 12.1 KB
feature-removal-schedule.txt -rw-r--r-- 9.9 KB
floppy.txt -rw-r--r-- 8.3 KB
hayes-esp.txt -rw-r--r-- 6.5 KB
highuid.txt -rw-r--r-- 2.5 KB
hpet.txt -rw-r--r-- 6.4 KB
hrtimers.txt -rw-r--r-- 8.7 KB
hw_random.txt -rw-r--r-- 2.6 KB
ibm-acpi.txt -rw-r--r-- 25.2 KB
ide.txt -rw-r--r-- 15.4 KB
initrd.txt -rw-r--r-- 13.4 KB
io_ordering.txt -rw-r--r-- 1.9 KB
ioctl-number.txt -rw-r--r-- 6.9 KB
iostats.txt -rw-r--r-- 7.1 KB
irqflags-tracing.txt -rw-r--r-- 2.6 KB
isapnp.txt -rw-r--r-- 433 bytes
java.txt -rw-r--r-- 10.7 KB
kernel-doc-nano-HOWTO.txt -rw-r--r-- 5.1 KB
kernel-docs.txt -rw-r--r-- 35.6 KB
kernel-parameters.txt -rw-r--r-- 52.2 KB
keys-request-key.txt -rw-r--r-- 6.9 KB
keys.txt -rw-r--r-- 41.8 KB
kobject.txt -rw-r--r-- 11.3 KB
kprobes.txt -rw-r--r-- 22.1 KB
kref.txt -rw-r--r-- 6.1 KB
laptop-mode.txt -rw-r--r-- 30.7 KB
ldm.txt -rw-r--r-- 3.6 KB
leds-class.txt -rw-r--r-- 2.7 KB
lockdep-design.txt -rw-r--r-- 8.8 KB
locks.txt -rw-r--r-- 2.6 KB
logo.gif -rw-r--r-- 16.0 KB
logo.txt -rw-r--r-- 563 bytes
magic-number.txt -rw-r--r-- 9.9 KB
mandatory.txt -rw-r--r-- 7.1 KB
mca.txt -rw-r--r-- 11.5 KB
md.txt -rw-r--r-- 16.9 KB
memory-barriers.txt -rw-r--r-- 75.1 KB
memory.txt -rw-r--r-- 2.1 KB
mono.txt -rw-r--r-- 2.5 KB
moxa-smartio -rw-r--r-- 16.3 KB
mtrr.txt -rw-r--r-- 10.2 KB
mutex-design.txt -rw-r--r-- 5.5 KB
nbd.txt -rw-r--r-- 1.9 KB
nfsroot.txt -rw-r--r-- 9.4 KB
nmi_watchdog.txt -rw-r--r-- 4.2 KB
nommu-mmap.txt -rw-r--r-- 10.2 KB
numastat.txt -rw-r--r-- 861 bytes
oops-tracing.txt -rw-r--r-- 11.3 KB
paride.txt -rw-r--r-- 16.7 KB
parport-lowlevel.txt -rw-r--r-- 32.5 KB
parport.txt -rw-r--r-- 8.8 KB
pci-error-recovery.txt -rw-r--r-- 17.7 KB
pci.txt -rw-r--r-- 12.6 KB
pcieaer-howto.txt -rw-r--r-- 10.6 KB
pi-futex.txt -rw-r--r-- 5.7 KB
pm.txt -rw-r--r-- 9.7 KB
pnp.txt -rw-r--r-- 6.8 KB
preempt-locking.txt -rw-r--r-- 5.2 KB
prio_tree.txt -rw-r--r-- 5.2 KB
ramdisk.txt -rw-r--r-- 6.3 KB
riscom8.txt -rw-r--r-- 1.3 KB
robust-futex-ABI.txt -rw-r--r-- 8.7 KB
robust-futexes.txt -rw-r--r-- 9.4 KB
rocket.txt -rw-r--r-- 7.6 KB
rpc-cache.txt -rw-r--r-- 8.7 KB
rt-mutex-design.txt -rw-r--r-- 32.8 KB
rt-mutex.txt -rw-r--r-- 3.5 KB
rtc.txt -rw-r--r-- 14.1 KB
sched-arch.txt -rw-r--r-- 3.3 KB
sched-coding.txt -rw-r--r-- 4.0 KB
sched-design.txt -rw-r--r-- 7.7 KB
sched-domains.txt -rw-r--r-- 3.6 KB
sched-stats.txt -rw-r--r-- 7.0 KB
serial-console.txt -rw-r--r-- 4.0 KB
sgi-ioc4.txt -rw-r--r-- 2.0 KB
sgi-visws.txt -rw-r--r-- 678 bytes
sharedsubtree.txt -rw-r--r-- 31.9 KB
smart-config.txt -rw-r--r-- 3.0 KB
smp.txt -rw-r--r-- 844 bytes
sonypi.txt -rw-r--r-- 6.2 KB
sparse.txt -rw-r--r-- 2.5 KB
specialix.txt -rw-r--r-- 14.8 KB
spinlocks.txt -rw-r--r-- 8.4 KB
stable_api_nonsense.txt -rw-r--r-- 9.2 KB
stable_kernel_rules.txt -rw-r--r-- 2.5 KB
stallion.txt -rw-r--r-- 17.6 KB
svga.txt -rw-r--r-- 14.1 KB
sx.txt -rw-r--r-- 11.3 KB
sysrq.txt -rw-r--r-- 10.1 KB
time_interpolators.txt -rw-r--r-- 1.4 KB
tipar.txt -rw-r--r-- 2.8 KB
tty.txt -rw-r--r-- 7.0 KB
unicode.txt -rw-r--r-- 6.5 KB
unshare.txt -rw-r--r-- 13.1 KB
voyager.txt -rw-r--r-- 3.4 KB
xterm-linux.xpm -rw-r--r-- 3.5 KB
zorro.txt -rw-r--r-- 2.8 KB

README.DAC960

back to top