Browse Source

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>
Wei Yang 12 years ago
parent
commit
496f70cf65
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/pci/setup-bus.c

+ 2 - 0
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