diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2002-04-22 21:24:37 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2002-04-22 21:24:37 +0000 |
commit | 2deb7e3d2736b666fbe1d81df229fd117a7b0d78 (patch) | |
tree | 740f12ef9f525fed889872cf0b78b933308de85b /sys/dev | |
parent | c5e1fb22e3e6460216be9bc81aab26c57bbb2639 (diff) |
clean up attach messages
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/pci/ubsec.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c index 4410cd6b9aa..a21b6dac77e 100644 --- a/sys/dev/pci/ubsec.c +++ b/sys/dev/pci/ubsec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsec.c,v 1.84 2002/04/08 17:49:42 jason Exp $ */ +/* $OpenBSD: ubsec.c,v 1.85 2002/04/22 21:24:36 jason Exp $ */ /* * Copyright (c) 2000 Jason L. Wright (jason@thought.net) @@ -222,13 +222,13 @@ ubsec_attach(parent, self, aux) q = (struct ubsec_q *)malloc(sizeof(struct ubsec_q), M_DEVBUF, M_NOWAIT); if (q == NULL) { - printf("Warning can't allocate queue buffers for ubsec\n"); + printf(": can't allocate queue buffers\n"); break; } if (ubsec_dma_malloc(sc, sizeof(struct ubsec_dmachunk), &dmap->d_alloc, 0)) { - printf("Warning can't allocate dma buffers for ubsec\n"); + printf(": can't allocate dma buffers\n"); free(q, M_DEVBUF); break; } @@ -261,7 +261,8 @@ ubsec_attach(parent, self, aux) */ ubsec_init_board(sc); - + printf(": %s", intrstr); + #ifndef UBSEC_NO_RNG if (sc->sc_flags & UBS_FLAGS_KEY) { sc->sc_statmask |= BS_STAT_MCR2_DONE; @@ -295,7 +296,7 @@ skip_rng: } #endif /* UBSEC_NO_RNG */ - printf(": %s\n", intrstr); + printf("\n"); } /* |