Linux 4.18.10
[linux/fpc-iii.git] / drivers / isdn / hardware / eicon / diva_pci.h
blob7ef5db98ad3c7d751a82d027fe0464c581d2a34a
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* $Id: diva_pci.h,v 1.6 2003/01/04 15:29:45 schindler Exp $ */
4 #ifndef __DIVA_PCI_INTERFACE_H__
5 #define __DIVA_PCI_INTERFACE_H__
7 void __iomem *divasa_remap_pci_bar(diva_os_xdi_adapter_t *a,
8 int id,
9 unsigned long bar,
10 unsigned long area_length);
11 void divasa_unmap_pci_bar(void __iomem *bar);
12 unsigned long divasa_get_pci_irq(unsigned char bus,
13 unsigned char func, void *pci_dev_handle);
14 unsigned long divasa_get_pci_bar(unsigned char bus,
15 unsigned char func,
16 int bar, void *pci_dev_handle);
17 byte diva_os_get_pci_bus(void *pci_dev_handle);
18 byte diva_os_get_pci_func(void *pci_dev_handle);
20 #endif