ia64/xen-unstable

changeset 19403:44d76cbe74ec

Clean up physdev.h public header.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Mar 19 10:24:48 2009 +0000 (2009-03-19)
parents f02a528d2e56
children 633e08774dab
files xen/include/public/physdev.h
line diff
     1.1 --- a/xen/include/public/physdev.h	Thu Mar 19 10:20:11 2009 +0000
     1.2 +++ b/xen/include/public/physdev.h	Thu Mar 19 10:24:48 2009 +0000
     1.3 @@ -183,7 +183,16 @@ struct physdev_manage_pci {
     1.4  typedef struct physdev_manage_pci physdev_manage_pci_t;
     1.5  DEFINE_XEN_GUEST_HANDLE(physdev_manage_pci_t);
     1.6  
     1.7 -#define PHYSDEVOP_manage_pci_add_ext    20
     1.8 +#define PHYSDEVOP_restore_msi            19
     1.9 +struct physdev_restore_msi {
    1.10 +    /* IN */
    1.11 +    uint8_t bus;
    1.12 +    uint8_t devfn;
    1.13 +};
    1.14 +typedef struct physdev_restore_msi physdev_restore_msi_t;
    1.15 +DEFINE_XEN_GUEST_HANDLE(physdev_restore_msi_t);
    1.16 +
    1.17 +#define PHYSDEVOP_manage_pci_add_ext     20
    1.18  struct physdev_manage_pci_ext {
    1.19      /* IN */
    1.20      uint8_t bus;
    1.21 @@ -199,15 +208,6 @@ struct physdev_manage_pci_ext {
    1.22  typedef struct physdev_manage_pci_ext physdev_manage_pci_ext_t;
    1.23  DEFINE_XEN_GUEST_HANDLE(physdev_manage_pci_ext_t);
    1.24  
    1.25 -#define PHYSDEVOP_restore_msi            19
    1.26 -struct physdev_restore_msi {
    1.27 -    /* IN */
    1.28 -    uint8_t bus;
    1.29 -    uint8_t devfn;
    1.30 -};
    1.31 -typedef struct physdev_restore_msi physdev_restore_msi_t;
    1.32 -DEFINE_XEN_GUEST_HANDLE(physdev_restore_msi_t);
    1.33 -
    1.34  /*
    1.35   * Argument to physdev_op_compat() hypercall. Superceded by new physdev_op()
    1.36   * hypercall since 0x00030202.