]> xenbits.xensource.com Git - xenclient/kernel.git/commitdiff
merge with linux-2.6.18-xen.hg
authorIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 13 May 2008 01:38:04 +0000 (10:38 +0900)
committerIsaku Yamahata <yamahata@valinux.co.jp>
Tue, 13 May 2008 01:38:04 +0000 (10:38 +0900)
1  2 
include/xen/interface/io/pciif.h

index 62147ad27d2b71fe72c20c1187c58ec97c995017,62147ad27d2b71fe72c20c1187c58ec97c995017..42dcfdb1ab733e943120f483566e1ca0649c8821
  /* xen_pci_op commands */
  #define XEN_PCI_OP_conf_read    (0)
  #define XEN_PCI_OP_conf_write   (1)
--#define XEN_PCI_OP_enable_msi   (2)
--#define XEN_PCI_OP_disable_msi  (3)
--#define XEN_PCI_OP_enable_msix  (4)
--#define XEN_PCI_OP_disable_msix (5)
  
  /* xen_pci_op error numbers */
  #define XEN_PCI_ERR_success          (0)
  /* XEN_PCI_ERR_op_failed - backend failed to complete the operation */
  #define XEN_PCI_ERR_op_failed       (-5)
  
--/*
-- * it should be PAGE_SIZE-sizeof(struct xen_pci_op))/sizeof(struct msix_entry))
-- * Should not exceed 128
-- */
--#define SH_INFO_MAX_VEC     128
--
  struct xen_pci_op {
      /* IN: what action to perform: XEN_PCI_OP_* */
      uint32_t cmd;
  
      /* IN/OUT: Contains the result after a READ or the value to WRITE */
      uint32_t value;
--    /* 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_pci_sharedinfo {