1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-17 15:27:36 +00:00

Make that annoying "device busy" message dependent on DEBUG (using the

DEB macro). There are probably quite a few other messages that warrant
a similar treatment, and many more that should be converted to plain
log messages (e.g. "WARNING: wrintr but write DMA inactive!"). Now
that I think of it, same goes for the CAM code (e.g. the famed "tagged
openings" message)
This commit is contained in:
Dag-Erling Smørgrav 1998-10-08 20:55:54 +00:00
parent b994e5358d
commit 83eb77e880
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40079
5 changed files with 5 additions and 5 deletions

View File

@ -172,7 +172,7 @@ sb_dsp_open(dev_t dev, int flags, int mode, struct proc * p)
DEB(printf("<%s>%d : open\n", d->name, unit));
if (d->flags & SND_F_BUSY) {
printf("<%s>%d open: device busy\n", d->name, unit);
DEB(printf("<%s>%d open: device busy\n", d->name, unit));
return EBUSY ;
}

View File

@ -172,7 +172,7 @@ sb_dsp_open(dev_t dev, int flags, int mode, struct proc * p)
DEB(printf("<%s>%d : open\n", d->name, unit));
if (d->flags & SND_F_BUSY) {
printf("<%s>%d open: device busy\n", d->name, unit);
DEB(printf("<%s>%d open: device busy\n", d->name, unit));
return EBUSY ;
}

View File

@ -172,7 +172,7 @@ sb_dsp_open(dev_t dev, int flags, int mode, struct proc * p)
DEB(printf("<%s>%d : open\n", d->name, unit));
if (d->flags & SND_F_BUSY) {
printf("<%s>%d open: device busy\n", d->name, unit);
DEB(printf("<%s>%d open: device busy\n", d->name, unit));
return EBUSY ;
}

View File

@ -172,7 +172,7 @@ sb_dsp_open(dev_t dev, int flags, int mode, struct proc * p)
DEB(printf("<%s>%d : open\n", d->name, unit));
if (d->flags & SND_F_BUSY) {
printf("<%s>%d open: device busy\n", d->name, unit);
DEB(printf("<%s>%d open: device busy\n", d->name, unit));
return EBUSY ;
}

View File

@ -172,7 +172,7 @@ sb_dsp_open(dev_t dev, int flags, int mode, struct proc * p)
DEB(printf("<%s>%d : open\n", d->name, unit));
if (d->flags & SND_F_BUSY) {
printf("<%s>%d open: device busy\n", d->name, unit);
DEB(printf("<%s>%d open: device busy\n", d->name, unit));
return EBUSY ;
}