|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [PATCH] pciif: do not depend on linux' msix_entries
[PATCH] pciif: do not depend on linux' msix_entries
Signed-off-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
diff -r 0361bcf5d310 xen/include/public/io/pciif.h
--- a/xen/include/public/io/pciif.h Tue Jul 01 14:48:29 2008 +0100
+++ b/xen/include/public/io/pciif.h Wed Jul 02 13:32:39 2008 +0100
@@ -54,6 +54,10 @@
*/
#define SH_INFO_MAX_VEC 128
+struct xen_msix_entry {
+ uint16_t vector;
+ uint16_t entry;
+};
struct xen_pci_op {
/* IN: what action to perform: XEN_PCI_OP_* */
uint32_t cmd;
@@ -75,7 +79,7 @@
/* IN: Contains extra infor for this operation */
uint32_t info;
/*IN: param for msi-x */
- struct msix_entry msix_entries[SH_INFO_MAX_VEC];
+ struct xen_msix_entry msix_entries[SH_INFO_MAX_VEC];
};
struct xen_pci_sharedinfo {
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|