1*4882a593Smuzhiyun /* SPDX-License-Identifier: GPL-2.0 */ 2*4882a593Smuzhiyun #ifndef __ASM_GENERIC_PARPORT_H 3*4882a593Smuzhiyun #define __ASM_GENERIC_PARPORT_H 4*4882a593Smuzhiyun 5*4882a593Smuzhiyun /* 6*4882a593Smuzhiyun * An ISA bus may have i8255 parallel ports at well-known 7*4882a593Smuzhiyun * locations in the I/O space, which are scanned by 8*4882a593Smuzhiyun * parport_pc_find_isa_ports. 9*4882a593Smuzhiyun * 10*4882a593Smuzhiyun * Without ISA support, the driver will only attach 11*4882a593Smuzhiyun * to devices on the PCI bus. 12*4882a593Smuzhiyun */ 13*4882a593Smuzhiyun 14*4882a593Smuzhiyun static int parport_pc_find_isa_ports(int autoirq, int autodma); parport_pc_find_nonpci_ports(int autoirq,int autodma)15*4882a593Smuzhiyunstatic int parport_pc_find_nonpci_ports(int autoirq, int autodma) 16*4882a593Smuzhiyun { 17*4882a593Smuzhiyun #ifdef CONFIG_ISA 18*4882a593Smuzhiyun return parport_pc_find_isa_ports(autoirq, autodma); 19*4882a593Smuzhiyun #else 20*4882a593Smuzhiyun return 0; 21*4882a593Smuzhiyun #endif 22*4882a593Smuzhiyun } 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun #endif /* __ASM_GENERIC_PARPORT_H */ 25