drivers/pci: Add function to find an extended capability
PCIe extends device's configuration space to 4k and provides extended capability. The patch adds function to find them. The code is ported from Linux PCIe driver. Signed-off-by: NMinghuan Lian <Minghuan.Lian@freescale.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NYork Sun <yorksun@freescale.com>
Showing
想要评论请 注册 或 登录