summaryrefslogtreecommitdiffstats
path: root/sys/dev/isa/sb.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1996-03-08 16:42:45 +0000
committerniklas <niklas@openbsd.org>1996-03-08 16:42:45 +0000
commit71bd8889c4052a543e2298298a29cb4c9df0c70c (patch)
treed8bc90785dda8ba85c0baf1bacc535e1696ccb7e /sys/dev/isa/sb.c
parentrm '-f' config.cache (diff)
downloadwireguard-openbsd-71bd8889c4052a543e2298298a29cb4c9df0c70c.tar.xz
wireguard-openbsd-71bd8889c4052a543e2298298a29cb4c9df0c70c.zip
From NetBSD: merge of 960217
Diffstat (limited to 'sys/dev/isa/sb.c')
-rw-r--r--sys/dev/isa/sb.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/sys/dev/isa/sb.c b/sys/dev/isa/sb.c
index 561066e70a1..53636ba7f57 100644
--- a/sys/dev/isa/sb.c
+++ b/sys/dev/isa/sb.c
@@ -1,4 +1,5 @@
-/* $NetBSD: sb.c,v 1.28 1995/11/10 05:01:05 mycroft Exp $ */
+/* $OpenBSD: sb.c,v 1.5 1996/03/08 16:43:13 niklas Exp $ */
+/* $NetBSD: sb.c,v 1.30 1996/02/16 08:18:32 mycroft Exp $ */
/*
* Copyright (c) 1991-1993 Regents of the University of California.
@@ -71,7 +72,7 @@ struct sb_softc {
struct sbdsp_softc sc_sbdsp;
};
-int sbprobe();
+int sbprobe __P((struct device *, void *, void *));
void sbattach __P((struct device *, struct device *, void *));
struct cfdriver sbcd = {
@@ -85,10 +86,6 @@ struct audio_device sb_device = {
};
int sbopen __P((dev_t, int));
-
-int sbprobe();
-void sbattach();
-
int sb_getdev __P((void *, struct audio_device *));
/*
@@ -143,11 +140,11 @@ struct audio_hw_if sb_hw_if = {
* Probe for the soundblaster hardware.
*/
int
-sbprobe(parent, self, aux)
- struct device *parent, *self;
- void *aux;
+sbprobe(parent, match, aux)
+ struct device *parent;
+ void *match, *aux;
{
- register struct sbdsp_softc *sc = (void *)self;
+ register struct sbdsp_softc *sc = match;
register struct isa_attach_args *ia = aux;
register int iobase = ia->ia_iobase;
static u_char drq_conf[4] = {