summaryrefslogtreecommitdiffstats
path: root/drivers/pci/setup-bus.c
diff options
context:
space:
mode:
authorWei Yang <weiyang@linux.vnet.ibm.com>2013-08-02 17:31:04 +0800
committerBjorn Helgaas <bhelgaas@google.com>2013-08-02 16:15:26 -0600
commit496f70cf6507be96397d319b1b7d3946d51d9932 (patch)
tree0389e995fbc72c2712fa39951848d00a44411336 /drivers/pci/setup-bus.c
parentf2a230bd4e1ac4b54ec59dc0b2a246bfe3e89ffe (diff)
downloadlinux-496f70cf6507be96397d319b1b7d3946d51d9932.tar.bz2
PCI: Add comments for pbus_size_mem() parameters
This patch fills in the missing description for two parameters of pbus_size_mem(). Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/pci/setup-bus.c')
-rw-r--r--drivers/pci/setup-bus.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c
index 6dbe5629c8b4..939ca1b9af92 100644
--- a/drivers/pci/setup-bus.c
+++ b/drivers/pci/setup-bus.c
@@ -838,6 +838,8 @@ static inline resource_size_t calculate_mem_align(resource_size_t *aligns,
* pbus_size_mem() - size the memory window of a given bus
*
* @bus : the bus
+ * @mask: mask the resource flag, then compare it with type
+ * @type: the type of free resource from bridge
* @min_size : the minimum memory window that must to be allocated
* @add_size : additional optional memory window
* @realloc_head : track the additional memory window on this list