commit | 6214e73cc5b75a4f8d89a70d71727edfa47a81b3 | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Tue Mar 19 12:11:24 2013 -0600 |
committer | Michael S. Tsirkin <mst@redhat.com> | Tue Mar 26 21:02:19 2013 +0200 |
tree | 5821b19c1967b319d287c396045171034887c9eb | |
parent | a5519b42cfd6c00e9f8b31c5aad7682e7a9f1181 [diff] |
pcie: Add endpoint capability initialization wrapper Fix the awkward API of mangling the caller specified PCIe type and just provide an interface to initialize an endpoint device. This will pick either a regular endpoint or integrated endpoint based on the bus and return pcie_cap_init to doing exactly what is asked. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>