Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef __ASM_GENERIC_PARPORT_H
0003 #define __ASM_GENERIC_PARPORT_H
0004 
0005 /*
0006  * An ISA bus may have i8255 parallel ports at well-known
0007  * locations in the I/O space, which are scanned by
0008  * parport_pc_find_isa_ports.
0009  *
0010  * Without ISA support, the driver will only attach
0011  * to devices on the PCI bus.
0012  */
0013 
0014 static int parport_pc_find_isa_ports(int autoirq, int autodma);
0015 static int parport_pc_find_nonpci_ports(int autoirq, int autodma)
0016 {
0017 #ifdef CONFIG_ISA
0018     return parport_pc_find_isa_ports(autoirq, autodma);
0019 #else
0020     return 0;
0021 #endif
0022 }
0023 
0024 #endif /* __ASM_GENERIC_PARPORT_H */