diva_pci.h 634 B

12345678910111213141516171819
  1. /* $Id: diva_pci.h,v 1.6 2003/01/04 15:29:45 schindler Exp $ */
  2. #ifndef __DIVA_PCI_INTERFACE_H__
  3. #define __DIVA_PCI_INTERFACE_H__
  4. void __iomem *divasa_remap_pci_bar(diva_os_xdi_adapter_t *a,
  5. int id,
  6. unsigned long bar,
  7. unsigned long area_length);
  8. void divasa_unmap_pci_bar(void __iomem *bar);
  9. unsigned long divasa_get_pci_irq(unsigned char bus,
  10. unsigned char func, void *pci_dev_handle);
  11. unsigned long divasa_get_pci_bar(unsigned char bus,
  12. unsigned char func,
  13. int bar, void *pci_dev_handle);
  14. byte diva_os_get_pci_bus(void *pci_dev_handle);
  15. byte diva_os_get_pci_func(void *pci_dev_handle);
  16. #endif