diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-03-14 12:15:12 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2001-03-14 12:15:12 +0000 |
commit | e9b6d7352c09acfa6a3bdcfe6aa1ed1c62a40c59 (patch) | |
tree | c98fa0b6f2106b7646dc80d6ef0a3da962d5696a /sys/dev/pci/cs4280.c | |
parent | fd886abb92dc46b8c0a1c7ac8a3333ee49cfb77d (diff) |
match formats in read_codec w/ write_codec
Diffstat (limited to 'sys/dev/pci/cs4280.c')
-rw-r--r-- | sys/dev/pci/cs4280.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/cs4280.c b/sys/dev/pci/cs4280.c index f481b9b2be6..86476b4311a 100644 --- a/sys/dev/pci/cs4280.c +++ b/sys/dev/pci/cs4280.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cs4280.c,v 1.6 2001/01/26 22:37:48 mickey Exp $ */ +/* $OpenBSD: cs4280.c,v 1.7 2001/03/14 12:15:11 mickey Exp $ */ /* $NetBSD: cs4280.c,v 1.5 2000/06/26 04:56:23 simonb Exp $ */ /* @@ -334,7 +334,7 @@ cs4280_read_codec(sc_, add, data) ACCTL_RSTN | ACCTL_ESYN | ACCTL_VFRM | ACCTL_CRW | ACCTL_DCV ); if (cs4280_src_wait(sc) < 0) { - printf("%s: AC97 read prob. (DCV!=0) for add=0x%0x\n", + printf("%s: AC97 read prob. (DCV!=0) for add=0x%02x\n", sc->sc_dev.dv_xname, add); return (1); } @@ -344,7 +344,7 @@ cs4280_read_codec(sc_, add, data) while (!(BA0READ4(sc, CS4280_ACSTS) & ACSTS_VSTS)) { delay(1); while (++n > 1000) { - printf("%s: AC97 read fail (VSTS==0) for add=0x%0x\n", + printf("%s: AC97 read fail (VSTS==0) for add=0x%02x\n", sc->sc_dev.dv_xname, add); return (1); } |