diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2005-10-16 22:50:35 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2005-10-16 22:50:35 +0000 |
commit | ac4b7b1c60d154fe18d9ee7c65ca9848dbec804d (patch) | |
tree | 95b1f05af22f75d43dbb1ec8dc2651204bdc0542 | |
parent | be10af2af5d26bab78d2778efe22a84c1320a64f (diff) |
make ukphy dmesg attach print on one line.
-rw-r--r-- | sys/dev/mii/ukphy.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/mii/ukphy.c b/sys/dev/mii/ukphy.c index 085d084a38a..36e386ad18a 100644 --- a/sys/dev/mii/ukphy.c +++ b/sys/dev/mii/ukphy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ukphy.c,v 1.15 2005/01/28 18:27:55 brad Exp $ */ +/* $OpenBSD: ukphy.c,v 1.16 2005/10/16 22:50:34 brad Exp $ */ /* $NetBSD: ukphy.c,v 1.9 2000/02/02 23:34:57 thorpej Exp $ */ /*- @@ -119,10 +119,10 @@ ukphyattach(struct device *parent, struct device *self, void *aux) struct mii_attach_args *ma = aux; struct mii_data *mii = ma->mii_data; - printf(": Generic IEEE 802.3u media interface\n"); - printf("%s: OUI 0x%06x, model 0x%04x, rev. %d\n", - sc->mii_dev.dv_xname, MII_OUI(ma->mii_id1, ma->mii_id2), - MII_MODEL(ma->mii_id2), MII_REV(ma->mii_id2)); + printf(": Generic IEEE 802.3u media interface, rev. %d:", + MII_REV(ma->mii_id2)); + printf(" OUI 0x%06x, model 0x%04x\n", MII_REV(ma->mii_id2), + MII_OUI(ma->mii_id1, ma->mii_id2), MII_MODEL(ma->mii_id2)); sc->mii_inst = mii->mii_instance; sc->mii_phy = ma->mii_phyno; |