diff options
author | Jolan Luff <jolan@cvs.openbsd.org> | 2006-07-12 06:26:35 +0000 |
---|---|---|
committer | Jolan Luff <jolan@cvs.openbsd.org> | 2006-07-12 06:26:35 +0000 |
commit | 9649714a2bd62061a899f2e4e4eea6f4e9281274 (patch) | |
tree | 6046d8abb939716985d354ec71a2bcce33c5383d /sys/dev/cardbus/uhci_cardbus.c | |
parent | 45de7424bb71e8fd7bbcdc6fcfd106800d4e31ba (diff) |
make dmesg lines openbsd-style, ok dlg@
Diffstat (limited to 'sys/dev/cardbus/uhci_cardbus.c')
-rw-r--r-- | sys/dev/cardbus/uhci_cardbus.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/cardbus/uhci_cardbus.c b/sys/dev/cardbus/uhci_cardbus.c index 1ce96546686..e1010a5eb4c 100644 --- a/sys/dev/cardbus/uhci_cardbus.c +++ b/sys/dev/cardbus/uhci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci_cardbus.c,v 1.3 2006/06/21 11:27:03 fkr Exp $ */ +/* $OpenBSD: uhci_cardbus.c,v 1.4 2006/07/12 06:26:34 jolan Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -99,10 +99,14 @@ uhci_cardbus_attach(struct device *parent, struct device *self, void *aux) cardbus_chipset_tag_t cc = ct->ct_cc; cardbus_function_tag_t cf = ct->ct_cf; cardbusreg_t csr; + char devinfo[256]; usbd_status r; const char *vendor; const char *devname = sc->sc.sc_bus.bdev.dv_xname; + cardbus_devinfo(ca->ca_id, ca->ca_class, 0, devinfo, sizeof(devinfo)); + printf(" %s", devinfo); + /* Map I/O registers */ if (Cardbus_mapreg_map(ct, PCI_CBIO, CARDBUS_MAPREG_TYPE_IO, 0, &sc->sc.iot, &sc->sc.ioh, NULL, &sc->sc.sc_size)) { |