diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-10 18:08:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-07-10 18:08:14 +0000 |
commit | ef9ffa771216f0ed2cbf3653665b05c9281bb6c7 (patch) | |
tree | a260dc77bece51d5614f4352b7d89d9dad9c300f /sys | |
parent | 8ba981815f7ff5bbc206c0a0ea4bfd5eec2dd742 (diff) |
shorten address printout
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/gem.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_lge.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_nge.c | 4 | ||||
-rw-r--r-- | sys/dev/pci/if_stge.c | 2 | ||||
-rw-r--r-- | sys/dev/usb/if_aue.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_cue.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_kue.c | 4 | ||||
-rw-r--r-- | sys/dev/usb/if_url.c | 4 |
8 files changed, 15 insertions, 15 deletions
diff --git a/sys/dev/ic/gem.c b/sys/dev/ic/gem.c index 1797196fce0..6300b5dafa2 100644 --- a/sys/dev/ic/gem.c +++ b/sys/dev/ic/gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gem.c,v 1.25 2002/06/14 21:34:59 todd Exp $ */ +/* $OpenBSD: gem.c,v 1.26 2002/07/10 18:08:13 deraadt Exp $ */ /* $NetBSD: gem.c,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -209,7 +209,7 @@ gem_config(sc) */ /* Announce ourselves. */ - printf("%s: Ethernet address %s\n", sc->sc_dev.dv_xname, + printf("%s: address %s\n", sc->sc_dev.dv_xname, ether_sprintf(sc->sc_enaddr)); /* Get RX FIFO size */ diff --git a/sys/dev/pci/if_lge.c b/sys/dev/pci/if_lge.c index 3d619f108e5..d0338d6efaa 100644 --- a/sys/dev/pci/if_lge.c +++ b/sys/dev/pci/if_lge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_lge.c,v 1.9 2002/03/14 01:26:58 millert Exp $ */ +/* $OpenBSD: if_lge.c,v 1.10 2002/07/10 18:08:13 deraadt Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -586,7 +586,7 @@ void lge_attach(parent, self, aux) /* * A Level 1 chip was detected. Inform the world. */ - printf(": Ethernet address: %s\n", ether_sprintf(eaddr)); + printf(": address: %s\n", ether_sprintf(eaddr)); bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); diff --git a/sys/dev/pci/if_nge.c b/sys/dev/pci/if_nge.c index 68d5f29eb19..52e4c022abd 100644 --- a/sys/dev/pci/if_nge.c +++ b/sys/dev/pci/if_nge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_nge.c,v 1.19 2002/07/05 13:48:11 aaron Exp $ */ +/* $OpenBSD: if_nge.c,v 1.20 2002/07/10 18:08:13 deraadt Exp $ */ /* * Copyright (c) 2001 Wind River Systems * Copyright (c) 1997, 1998, 1999, 2000, 2001 @@ -865,7 +865,7 @@ void nge_attach(parent, self, aux) /* * A NatSemi chip was detected. Inform the world. */ - printf(": Ethernet address: %s\n", ether_sprintf(eaddr)); + printf(": address: %s\n", ether_sprintf(eaddr)); bcopy(eaddr, (char *)&sc->arpcom.ac_enaddr, ETHER_ADDR_LEN); diff --git a/sys/dev/pci/if_stge.c b/sys/dev/pci/if_stge.c index 38d09b25369..8626d94b33f 100644 --- a/sys/dev/pci/if_stge.c +++ b/sys/dev/pci/if_stge.c @@ -581,7 +581,7 @@ stge_attach(struct device *parent, struct device *self, void *aux) sc->sc_arpcom.ac_enaddr[5] = bus_space_read_2(sc->sc_st, sc->sc_sh, STGE_StationAddress2) >> 8; - printf("%s: Ethernet address %s\n", sc->sc_dev.dv_xname, + printf("%s: address %s\n", sc->sc_dev.dv_xname, ether_sprintf(sc->sc_arpcom.ac_enaddr)); /* diff --git a/sys/dev/usb/if_aue.c b/sys/dev/usb/if_aue.c index 2eb162d6a76..f412529e800 100644 --- a/sys/dev/usb/if_aue.c +++ b/sys/dev/usb/if_aue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_aue.c,v 1.23 2002/07/09 14:45:43 nate Exp $ */ +/* $OpenBSD: if_aue.c,v 1.24 2002/07/10 18:08:13 deraadt Exp $ */ /* $NetBSD: if_aue.c,v 1.78 2002/07/08 17:46:23 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -800,7 +800,7 @@ USB_ATTACH(aue) * A Pegasus chip was detected. Inform the world. */ ifp = GET_IFP(sc); - printf("%s: Ethernet address %s\n", USBDEVNAME(sc->aue_dev), + printf("%s: address %s\n", USBDEVNAME(sc->aue_dev), ether_sprintf(eaddr)); #if defined(__OpenBSD__) diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index f83dd5eab96..7bdc262e006 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cue.c,v 1.14 2002/07/09 16:44:15 nate Exp $ */ +/* $OpenBSD: if_cue.c,v 1.15 2002/07/10 18:08:13 deraadt Exp $ */ /* $NetBSD: if_cue.c,v 1.39 2002/07/08 17:46:24 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -558,7 +558,7 @@ USB_ATTACH(cue) /* * A CATC chip was detected. Inform the world. */ - printf("%s: Ethernet address %s\n", USBDEVNAME(sc->cue_dev), + printf("%s: address %s\n", USBDEVNAME(sc->cue_dev), ether_sprintf(eaddr)); #if defined(__OpenBSD__) diff --git a/sys/dev/usb/if_kue.c b/sys/dev/usb/if_kue.c index 54dca9c0a24..b6f2ae5bab0 100644 --- a/sys/dev/usb/if_kue.c +++ b/sys/dev/usb/if_kue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_kue.c,v 1.19 2002/07/09 16:44:15 nate Exp $ */ +/* $OpenBSD: if_kue.c,v 1.20 2002/07/10 18:08:13 deraadt Exp $ */ /* $NetBSD: if_kue.c,v 1.48 2002/07/08 17:46:24 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -514,7 +514,7 @@ USB_ATTACH(kue) /* * A KLSI chip was detected. Inform the world. */ - printf("%s: Ethernet address %s\n", USBDEVNAME(sc->kue_dev), + printf("%s: address %s\n", USBDEVNAME(sc->kue_dev), ether_sprintf(sc->kue_desc.kue_macaddr)); #if defined(__OpenBSD__) diff --git a/sys/dev/usb/if_url.c b/sys/dev/usb/if_url.c index 74697ce6697..283ef1db96a 100644 --- a/sys/dev/usb/if_url.c +++ b/sys/dev/usb/if_url.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_url.c,v 1.5 2002/06/26 11:29:55 espie Exp $ */ +/* $OpenBSD: if_url.c,v 1.6 2002/07/10 18:08:13 deraadt Exp $ */ /* $NetBSD: if_url.c,v 1.2 2002/03/28 21:49:19 ichiro Exp $ */ /* * Copyright (c) 2001, 2002 @@ -281,7 +281,7 @@ USB_ATTACH(url) } /* Print Ethernet Address */ - printf("%s: Ethernet address %s\n", devname, ether_sprintf(eaddr)); + printf("%s: address %s\n", devname, ether_sprintf(eaddr)); /* initialize interface infomation */ ifp = GET_IFP(sc); |