Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / arch / m68k / include / asm / parport.h
blobbecfebd5c6b753c9b785b1d88ca10594737d868e
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3 * parport.h: platform-specific PC-style parport initialisation
5 * Copyright (C) 1999, 2000 Tim Waugh <tim@cyberelk.demon.co.uk>
7 * This file should only be included by drivers/parport/parport_pc.c.
9 * RZ: for use with Q40 and other ISA machines
12 #ifndef _ASM_M68K_PARPORT_H
13 #define _ASM_M68K_PARPORT_H 1
15 #undef insl
16 #undef outsl
17 #define insl(port,buf,len) isa_insb(port,buf,(len)<<2)
18 #define outsl(port,buf,len) isa_outsb(port,buf,(len)<<2)
20 /* no dma, or IRQ autoprobing */
21 static int parport_pc_find_isa_ports (int autoirq, int autodma);
22 static int parport_pc_find_nonpci_ports (int autoirq, int autodma)
24 if (! (MACH_IS_Q40))
25 return 0; /* count=0 */
26 return parport_pc_find_isa_ports (PARPORT_IRQ_NONE, PARPORT_DMA_NONE);
29 #endif /* !(_ASM_M68K_PARPORT_H) */