summaryrefslogtreecommitdiff
path: root/sys/dev/isa/com_isapnp.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2008-04-27 09:29:41 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2008-04-27 09:29:41 +0000
commit7af9558d51714fc82308dbda161bbfc151f3ce2d (patch)
treefee8240b3fb3dd9e3183d4e068f4576bfdba72dd /sys/dev/isa/com_isapnp.c
parent72a95b89c00fa610615000d026b7b5f7e531d0af (diff)
Make sure we actually use thesa pnp probe functions.
Diffstat (limited to 'sys/dev/isa/com_isapnp.c')
-rw-r--r--sys/dev/isa/com_isapnp.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/sys/dev/isa/com_isapnp.c b/sys/dev/isa/com_isapnp.c
index a0c978b8c43..c247e85d625 100644
--- a/sys/dev/isa/com_isapnp.c
+++ b/sys/dev/isa/com_isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_isapnp.c,v 1.3 2008/04/27 01:49:28 dlg Exp $ */
+/* $OpenBSD: com_isapnp.c,v 1.4 2008/04/27 09:29:40 kettenis Exp $ */
/*
* Copyright (c) 1997 - 1999, Jason Downs. All rights reserved.
*
@@ -72,15 +72,13 @@
#include <dev/isa/isavar.h>
-#if NCOM_ISAPNP
-struct cfattach com_isapnp_ca = {
- sizeof(struct com_softc), comprobe, comattach
-};
-#endif
-
int com_isapnp_probe(struct device *, void *, void *);
void com_isapnp_attach(struct device *, struct device *, void *);
+struct cfattach com_isapnp_ca = {
+ sizeof(struct com_softc), com_isapnp_probe, com_isapnp_attach
+};
+
int
com_isapnp_probe(struct device *parent, void *match, void *aux)
{