parport.h 585 B

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