aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/kernel/resource.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2014-02-26 11:25:57 -0700
committerBjorn Helgaas <bhelgaas@google.com>2014-02-26 11:56:09 -0700
commit5c513bd580323dbe794270c5a96b65ba22f376eb (patch)
tree8e257c4f472251f5841e4fdb01acbaaacb194c57 /kernel/resource.c
parenti2o: Fix I/O space allocation copy/paste error (diff)
downloadwireguard-linux-5c513bd580323dbe794270c5a96b65ba22f376eb.tar.xz
wireguard-linux-5c513bd580323dbe794270c5a96b65ba22f376eb.zip
i2o: Fix I/O space alignment requirement
When i2o_iop_systab_set() allocates I/O port space, it specifies 1Mb alignment required. This seems unlikely, since most platforms have only 64Kb of I/O space total. I think 4Kb is a more reasonable choice, since that's the minimum alignment of a PCI-PCI bridge I/O window. My guess is that this is a copy/paste error from the memory allocation code, which specifies 1Mb alignment (which is the minimum alignment of a PCI-PCI bridge memory window). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'kernel/resource.c')
0 files changed, 0 insertions, 0 deletions