[BACK]Return to parport.h CVS log [TXT][DIR] Up to [Development] / linux-2.4-xfs / include / asm-sh

File: [Development] / linux-2.4-xfs / include / asm-sh / parport.h (download)

Revision 1.1, Wed Dec 31 00:54:49 2003 UTC (13 years, 9 months ago) by cattelan
Branch: MAIN
CVS Tags: HEAD

Initial Import 2.4.24pre2

/*
 * parport.h: SuperH-specific parport initialisation
 *
 * This file should only be included by drivers/parport/parport_pc.c.
 *
 */

#ifndef _ASM_SH_PARPORT_H
#define _ASM_SH_PARPORT_H

#include <asm/machvec.h>

static int __devinit parport_pc_find_nonpci_ports (int autoirq, int autodma)
{
	if (MACH_HS7729PCI)
		return !!parport_pc_probe_port(0x378, 0, 5, 
					       PARPORT_DMA_NONE, NULL);

	return 0;
}

#endif /* _ASM_SH_PARPORT_H */