diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2007-09-14 23:17:24 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2007-09-14 23:17:24 +0000 |
commit | f8830f4e97d43a5df26c5ff1487d6846296a3f37 (patch) | |
tree | 5cb1cb9e9b3e020403e0dd42a5e411cc00a48547 /sys | |
parent | 2b43e4aec2095157d402a491196cd50fb0f3d048 (diff) |
- correct error message if pci_mapreg_map() fails by not printing the
device name in front.
- remove printing of the name Compaq in front of the adapter model
name. this is cac(4) it is pretty obvious this is a Compaq adapter.
ok dlg@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/cac_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/cac_pci.c b/sys/dev/pci/cac_pci.c index 6cd006d70f2..0d4365c0e62 100644 --- a/sys/dev/pci/cac_pci.c +++ b/sys/dev/pci/cac_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cac_pci.c,v 1.10 2005/08/09 04:10:10 mickey Exp $ */ +/* $OpenBSD: cac_pci.c,v 1.11 2007/09/14 23:17:23 brad Exp $ */ /* $NetBSD: cac_pci.c,v 1.10 2001/01/10 16:48:04 ad Exp $ */ /*- @@ -209,7 +209,7 @@ cac_pci_attach(parent, self, aux) &sc->sc_iot, &sc->sc_ioh, NULL, &size, 0)) ior = -1; if (memr == -1 && ior == -1) { - printf("%s: can't map i/o or memory space\n", self->dv_xname); + printf(": can't map i/o or memory space\n"); return; } @@ -233,7 +233,7 @@ cac_pci_attach(parent, self, aux) return; } - printf(": %s Compaq %s\n", intrstr, ct->ct_typestr); + printf(": %s, %s\n", intrstr, ct->ct_typestr); /* Now attach to the bus-independent code. */ sc->sc_cl = ct->ct_linkage; |