summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-06-17 16:59:30 +0000
committerbde <bde@FreeBSD.org>1998-06-17 16:59:30 +0000
commitbd99227578895433ee2d6258c6002c209a36084e (patch)
tree2d2ad3d66ea821b5be5de35553a43b3b6bca65df /sys
parent70674f0276b68f0b5c33553f91ae618e192ba534 (diff)
downloadFreeBSD-src-bd99227578895433ee2d6258c6002c209a36084e.zip
FreeBSD-src-bd99227578895433ee2d6258c6002c209a36084e.tar.gz
Renambed sbintr to sb_intr to avoid a conflict with the (now
unconditionally declared although it can't be configured together with snd) extern function sbintr.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pcm/isa/sb.c10
-rw-r--r--sys/dev/sound/isa/sb.c10
-rw-r--r--sys/dev/sound/isa/sb16.c10
-rw-r--r--sys/dev/sound/isa/sb8.c10
-rw-r--r--sys/i386/isa/snd/sb_dsp.c10
5 files changed, 25 insertions, 25 deletions
diff --git a/sys/dev/pcm/isa/sb.c b/sys/dev/pcm/isa/sb.c
index 7fd92ad..575980c 100644
--- a/sys/dev/pcm/isa/sb.c
+++ b/sys/dev/pcm/isa/sb.c
@@ -60,7 +60,7 @@ static int sb_attach(struct isa_device *dev);
static d_open_t sb_dsp_open;
static d_close_t sb_dsp_close;
static d_ioctl_t sb_dsp_ioctl;
-static irq_proc_t sbintr;
+static irq_proc_t sb_intr;
static snd_callback_t sb_callback;
/*
@@ -94,7 +94,7 @@ snddev_info sb_op_desc = {
sb_dsp_ioctl,
sndselect,
- sbintr,
+ sb_intr,
sb_callback,
DSP_BUFFSIZE, /* bufsize */
@@ -264,12 +264,12 @@ sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
}
static void
-sbintr(int unit)
+sb_intr(int unit)
{
snddev_info *d = &pcm_info[unit];
int reason = 3, c=1, io_base = d->io_base;
- DEB(printf("got sbintr for unit %d, flags 0x%08lx\n", unit, d->flags));
+ DEB(printf("got sb_intr for unit %d, flags 0x%08lx\n", unit, d->flags));
/*
* SB < 4.0 is half duplex and has only 1 bit for int source,
@@ -297,7 +297,7 @@ again:
}
}
/* XXX previous location of ack... */
- DEB(printf("sbintr, flags 0x%08lx reason %d\n", d->flags, reason));
+ DEB(printf("sb_intr, flags 0x%08lx reason %d\n", d->flags, reason));
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
diff --git a/sys/dev/sound/isa/sb.c b/sys/dev/sound/isa/sb.c
index 7fd92ad..575980c 100644
--- a/sys/dev/sound/isa/sb.c
+++ b/sys/dev/sound/isa/sb.c
@@ -60,7 +60,7 @@ static int sb_attach(struct isa_device *dev);
static d_open_t sb_dsp_open;
static d_close_t sb_dsp_close;
static d_ioctl_t sb_dsp_ioctl;
-static irq_proc_t sbintr;
+static irq_proc_t sb_intr;
static snd_callback_t sb_callback;
/*
@@ -94,7 +94,7 @@ snddev_info sb_op_desc = {
sb_dsp_ioctl,
sndselect,
- sbintr,
+ sb_intr,
sb_callback,
DSP_BUFFSIZE, /* bufsize */
@@ -264,12 +264,12 @@ sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
}
static void
-sbintr(int unit)
+sb_intr(int unit)
{
snddev_info *d = &pcm_info[unit];
int reason = 3, c=1, io_base = d->io_base;
- DEB(printf("got sbintr for unit %d, flags 0x%08lx\n", unit, d->flags));
+ DEB(printf("got sb_intr for unit %d, flags 0x%08lx\n", unit, d->flags));
/*
* SB < 4.0 is half duplex and has only 1 bit for int source,
@@ -297,7 +297,7 @@ again:
}
}
/* XXX previous location of ack... */
- DEB(printf("sbintr, flags 0x%08lx reason %d\n", d->flags, reason));
+ DEB(printf("sb_intr, flags 0x%08lx reason %d\n", d->flags, reason));
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
diff --git a/sys/dev/sound/isa/sb16.c b/sys/dev/sound/isa/sb16.c
index 7fd92ad..575980c 100644
--- a/sys/dev/sound/isa/sb16.c
+++ b/sys/dev/sound/isa/sb16.c
@@ -60,7 +60,7 @@ static int sb_attach(struct isa_device *dev);
static d_open_t sb_dsp_open;
static d_close_t sb_dsp_close;
static d_ioctl_t sb_dsp_ioctl;
-static irq_proc_t sbintr;
+static irq_proc_t sb_intr;
static snd_callback_t sb_callback;
/*
@@ -94,7 +94,7 @@ snddev_info sb_op_desc = {
sb_dsp_ioctl,
sndselect,
- sbintr,
+ sb_intr,
sb_callback,
DSP_BUFFSIZE, /* bufsize */
@@ -264,12 +264,12 @@ sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
}
static void
-sbintr(int unit)
+sb_intr(int unit)
{
snddev_info *d = &pcm_info[unit];
int reason = 3, c=1, io_base = d->io_base;
- DEB(printf("got sbintr for unit %d, flags 0x%08lx\n", unit, d->flags));
+ DEB(printf("got sb_intr for unit %d, flags 0x%08lx\n", unit, d->flags));
/*
* SB < 4.0 is half duplex and has only 1 bit for int source,
@@ -297,7 +297,7 @@ again:
}
}
/* XXX previous location of ack... */
- DEB(printf("sbintr, flags 0x%08lx reason %d\n", d->flags, reason));
+ DEB(printf("sb_intr, flags 0x%08lx reason %d\n", d->flags, reason));
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
diff --git a/sys/dev/sound/isa/sb8.c b/sys/dev/sound/isa/sb8.c
index 7fd92ad..575980c 100644
--- a/sys/dev/sound/isa/sb8.c
+++ b/sys/dev/sound/isa/sb8.c
@@ -60,7 +60,7 @@ static int sb_attach(struct isa_device *dev);
static d_open_t sb_dsp_open;
static d_close_t sb_dsp_close;
static d_ioctl_t sb_dsp_ioctl;
-static irq_proc_t sbintr;
+static irq_proc_t sb_intr;
static snd_callback_t sb_callback;
/*
@@ -94,7 +94,7 @@ snddev_info sb_op_desc = {
sb_dsp_ioctl,
sndselect,
- sbintr,
+ sb_intr,
sb_callback,
DSP_BUFFSIZE, /* bufsize */
@@ -264,12 +264,12 @@ sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
}
static void
-sbintr(int unit)
+sb_intr(int unit)
{
snddev_info *d = &pcm_info[unit];
int reason = 3, c=1, io_base = d->io_base;
- DEB(printf("got sbintr for unit %d, flags 0x%08lx\n", unit, d->flags));
+ DEB(printf("got sb_intr for unit %d, flags 0x%08lx\n", unit, d->flags));
/*
* SB < 4.0 is half duplex and has only 1 bit for int source,
@@ -297,7 +297,7 @@ again:
}
}
/* XXX previous location of ack... */
- DEB(printf("sbintr, flags 0x%08lx reason %d\n", d->flags, reason));
+ DEB(printf("sb_intr, flags 0x%08lx reason %d\n", d->flags, reason));
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
diff --git a/sys/i386/isa/snd/sb_dsp.c b/sys/i386/isa/snd/sb_dsp.c
index 7fd92ad..575980c 100644
--- a/sys/i386/isa/snd/sb_dsp.c
+++ b/sys/i386/isa/snd/sb_dsp.c
@@ -60,7 +60,7 @@ static int sb_attach(struct isa_device *dev);
static d_open_t sb_dsp_open;
static d_close_t sb_dsp_close;
static d_ioctl_t sb_dsp_ioctl;
-static irq_proc_t sbintr;
+static irq_proc_t sb_intr;
static snd_callback_t sb_callback;
/*
@@ -94,7 +94,7 @@ snddev_info sb_op_desc = {
sb_dsp_ioctl,
sndselect,
- sbintr,
+ sb_intr,
sb_callback,
DSP_BUFFSIZE, /* bufsize */
@@ -264,12 +264,12 @@ sb_dsp_ioctl(dev_t dev, u_long cmd, caddr_t arg, int mode, struct proc * p)
}
static void
-sbintr(int unit)
+sb_intr(int unit)
{
snddev_info *d = &pcm_info[unit];
int reason = 3, c=1, io_base = d->io_base;
- DEB(printf("got sbintr for unit %d, flags 0x%08lx\n", unit, d->flags));
+ DEB(printf("got sb_intr for unit %d, flags 0x%08lx\n", unit, d->flags));
/*
* SB < 4.0 is half duplex and has only 1 bit for int source,
@@ -297,7 +297,7 @@ again:
}
}
/* XXX previous location of ack... */
- DEB(printf("sbintr, flags 0x%08lx reason %d\n", d->flags, reason));
+ DEB(printf("sb_intr, flags 0x%08lx reason %d\n", d->flags, reason));
if ( reason & 1 ) { /* possibly a write interrupt */
if ( d->dbuf_out.dl )
dsp_wrintr(d);
OpenPOWER on IntegriCloud