blob: cc0d5102723a54e2daf70e1166e56b8681b60c93 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/* $Id: diva_pci.h,v 1.6 2003/01/04 15:29:45 schindler Exp $ */
2
3#ifndef __DIVA_PCI_INTERFACE_H__
4#define __DIVA_PCI_INTERFACE_H__
5
6void __iomem *divasa_remap_pci_bar(diva_os_xdi_adapter_t *a,
7 int id,
8 unsigned long bar,
9 unsigned long area_length);
10void divasa_unmap_pci_bar(void __iomem *bar);
11unsigned long divasa_get_pci_irq(unsigned char bus,
12 unsigned char func, void *pci_dev_handle);
13unsigned long divasa_get_pci_bar(unsigned char bus,
14 unsigned char func,
15 int bar, void *pci_dev_handle);
16byte diva_os_get_pci_bus(void *pci_dev_handle);
17byte diva_os_get_pci_func(void *pci_dev_handle);
18
19#endif