diff options
author | phk <phk@FreeBSD.org> | 2001-05-23 17:54:58 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-05-23 17:54:58 +0000 |
commit | 3d8cb62dd2df8d007c45a3866acc6ff399acec61 (patch) | |
tree | 1ef16265213e4c3968095456ef5d8c1da78f1612 /sys | |
parent | 3a072a6a909c3f3070ad5d73972c7cc8188ed83e (diff) | |
download | FreeBSD-src-3d8cb62dd2df8d007c45a3866acc6ff399acec61.zip FreeBSD-src-3d8cb62dd2df8d007c45a3866acc6ff399acec61.tar.gz |
Use '+' not '|' to add PCATCH to tsleep.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/musycc/musycc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/musycc/musycc.c b/sys/dev/musycc/musycc.c index 4551c14..fb6db63 100644 --- a/sys/dev/musycc/musycc.c +++ b/sys/dev/musycc/musycc.c @@ -371,7 +371,7 @@ init_card(struct csoftc *csc) csc->state = C_INIT; csc->reg->srd = 0x100; - tsleep(csc, PZERO | PCATCH, "icard", hz / 10); + tsleep(csc, PZERO + PCATCH, "icard", hz / 10); csc->reg->gbp = vtophys(csc->ram); csc->ram->glcd = 0x3f30; /* XXX: designer magic */ @@ -392,7 +392,7 @@ init_ctrl(struct softc *sc) printf("init_ctrl(%p) [%s] [%08x]\n", sc, sc->nodename, sc->csc->reg->glcd); init_8370(sc); - tsleep(sc, PZERO | PCATCH, "ds8370", hz); + tsleep(sc, PZERO + PCATCH, "ds8370", hz); printf("%s: glcd: [%08x]\n", sc->nodename, sc->csc->reg->glcd); sc->reg->gbp = vtophys(sc->ram); sc->ram->grcd = 0x00000001; /* RXENBL */ |