pkgsrc/sysutils/isapnptools/patches/patch-ab
agc c60741ec10 Initial import of isapnptools-1.26 - manually query and configure isapnp
devices.

Provided in PR 17681 by Ben Collver (collver1@attbi.com)

The isapnptools consist of two programs - one allows the dumping of
resource data and generation of a skeleton configuration file, the
other configures ISA PnP hardware using a configuration file.
2002-07-23 12:07:45 +00:00

24 lines
727 B
Text

$NetBSD: patch-ab,v 1.1.1.1 2002/07/23 12:07:45 agc Exp $
--- include/isapnp/iopl.h Tue May 8 15:14:21 2001
+++ include/isapnp/iopl.h Mon Jul 22 07:40:38 2002
@@ -45,6 +45,12 @@
#endif
/****************************************************************************/
+#if defined(__NetBSD__) && defined(HAVE_LIBI386)
+#include <sys/types.h>
+#include <machine/bus.h>
+#include <machine/sysarch.h>
+#include <machine/pio.h>
+#else
#ifdef __DJGPP__
#if !defined __TURBOC__ && !defined __BORLANDC__
#include <inlines/pc.h>
@@ -65,6 +71,7 @@
#include <sys/hw.h>
#endif /* _OS2_ */
#endif
+#endif /* !(__NetBSD__ && HAVE_LIBI386) */
/****************************************************************************/