summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-26 09:29:29 +0000
committerphk <phk@FreeBSD.org>1996-01-26 09:29:29 +0000
commit2dd896405c74abac2e4fc5b59f6e4c0c8510f53f (patch)
tree60e789740041241e0b666fa65bdd83de42c3b38a
parent8b13b00640349354a34dca6dbab316a65abb70d6 (diff)
downloadFreeBSD-src-2dd896405c74abac2e4fc5b59f6e4c0c8510f53f.zip
FreeBSD-src-2dd896405c74abac2e4fc5b59f6e4c0c8510f53f.tar.gz
The last part of the ether_sprint -> %6D change.
Sorry for the delay. (%D is for hexdumping.)
-rw-r--r--sys/dev/de/if_de.c6
-rw-r--r--sys/dev/ep/if_ep.c4
-rw-r--r--sys/dev/fe/if_fe.c16
-rw-r--r--sys/dev/fxp/if_fxp.c6
-rw-r--r--sys/dev/ie/if_ie.c10
-rw-r--r--sys/dev/lnc/if_lnc.c4
-rw-r--r--sys/i386/isa/if_eg.c7
-rw-r--r--sys/i386/isa/if_el.c12
-rw-r--r--sys/i386/isa/if_ep.c4
-rw-r--r--sys/i386/isa/if_fe.c16
-rw-r--r--sys/i386/isa/if_ie.c10
-rw-r--r--sys/i386/isa/if_ix.c4
-rw-r--r--sys/i386/isa/if_le.c6
-rw-r--r--sys/i386/isa/if_lnc.c4
-rw-r--r--sys/i386/isa/if_ze.c6
-rw-r--r--sys/i386/isa/if_zp.c4
-rw-r--r--sys/net/fddi.h3
-rw-r--r--sys/net/if.h3
-rw-r--r--sys/netinet/if_fddi.h3
-rw-r--r--sys/pci/if_de.c6
-rw-r--r--sys/pci/if_fxp.c6
-rw-r--r--sys/pci/if_vx.c2
22 files changed, 69 insertions, 73 deletions
diff --git a/sys/dev/de/if_de.c b/sys/dev/de/if_de.c
index 074893a..bf63619 100644
--- a/sys/dev/de/if_de.c
+++ b/sys/dev/de/if_de.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_de.c,v 1.40 1995/12/14 09:53:58 phk Exp $
+ * $Id: if_de.c,v 1.41 1996/01/23 21:47:00 se Exp $
*
*/
@@ -2002,12 +2002,12 @@ tulip_attach(
#ifdef __FreeBSD__
printf("%s%d", sc->tulip_name, sc->tulip_unit);
#endif
- printf(": %s%s pass %d.%d Ethernet address %s\n",
+ printf(": %s%s pass %d.%d Ethernet address %6D\n",
sc->tulip_boardsw->bd_description,
tulip_chipdescs[sc->tulip_chipid],
(sc->tulip_revinfo & 0xF0) >> 4,
sc->tulip_revinfo & 0x0F,
- ether_sprintf(sc->tulip_hwaddr));
+ sc->tulip_hwaddr, ":");
if ((*sc->tulip_boardsw->bd_media_probe)(sc)) {
ifp->if_flags |= IFF_ALTPHYS;
diff --git a/sys/dev/ep/if_ep.c b/sys/dev/ep/if_ep.c
index c5016f3..e57334c 100644
--- a/sys/dev/ep/if_ep.c
+++ b/sys/dev/ep/if_ep.c
@@ -38,7 +38,7 @@
*/
/*
- * $Id: if_ep.c,v 1.36 1995/12/10 13:38:41 phk Exp $
+ * $Id: if_ep.c,v 1.37 1995/12/15 00:54:11 bde Exp $
*
* Promiscuous mode added and interrupt logic slightly changed
* to reduce the number of adapter failures. Transceiver select
@@ -408,7 +408,7 @@ epattach(is)
GO_WINDOW(2);
outw(BASE + EP_W2_ADDR_0 + (i * 2), ntohs(p[i]));
}
- printf(" address %s", ether_sprintf(sc->arpcom.ac_enaddr));
+ printf(" address %6D", sc->arpcom.ac_enaddr, ":");
/*
* Write IRQ value to board
diff --git a/sys/dev/fe/if_fe.c b/sys/dev/fe/if_fe.c
index 1a3b2b6..5e141c5 100644
--- a/sys/dev/fe/if_fe.c
+++ b/sys/dev/fe/if_fe.c
@@ -1125,8 +1125,8 @@ fe_attach ( struct isa_device *isa_dev )
fe_setlinkaddr( sc );
/* Print additional info when attached. */
- printf( "fe%d: address %s, type %s\n", sc->sc_unit,
- ether_sprintf( sc->sc_enaddr ), sc->typestr );
+ printf( "fe%d: address %6D, type %s\n", sc->sc_unit,
+ sc->sc_enaddr, ":" , sc->typestr );
#if FE_DEBUG >= 3
{
int buf, txb, bbw, sbw, ram;
@@ -1301,8 +1301,8 @@ fe_init ( int unit )
|| ( sc->sc_enaddr[ 0 ] == 0x00
&& sc->sc_enaddr[ 1 ] == 0x00
&& sc->sc_enaddr[ 2 ] == 0x00 ) ) {
- log( LOG_ERR, "fe%d: invalid station address (%s)\n",
- sc->sc_unit, ether_sprintf( sc->sc_enaddr ) );
+ log( LOG_ERR, "fe%d: invalid station address (%6D)\n",
+ sc->sc_unit, sc->sc_enaddr, ":" );
return;
}
#endif
@@ -2314,9 +2314,9 @@ fe_get_packet ( struct fe_softc * sc, u_short len )
* We found an error (of this driver.)
*/
log( LOG_WARNING,
- "fe%d: got an unwanted packet, dst = %s\n",
+ "fe%d: got an unwanted packet, dst = %6D\n",
sc->sc_unit,
- ether_sprintf( eh->ether_dhost ) );
+ eh->ether_dhost , ":" );
m_freem( m );
return 0;
}
@@ -2526,8 +2526,8 @@ fe_mcaf ( struct fe_softc *sc )
}
index = fe_hash( enm->enm_addrlo );
#if FE_DEBUG >= 4
- log( LOG_INFO, "fe%d: hash(%s) == %d\n",
- sc->sc_unit, ether_sprintf( enm->enm_addrlo ), index );
+ log( LOG_INFO, "fe%d: hash(%6D) == %d\n",
+ sc->sc_unit, enm->enm_addrlo , ":", index );
#endif
filter.data[index >> 3] |= 1 << (index & 7);
diff --git a/sys/dev/fxp/if_fxp.c b/sys/dev/fxp/if_fxp.c
index ddafbef..1fdf77d 100644
--- a/sys/dev/fxp/if_fxp.c
+++ b/sys/dev/fxp/if_fxp.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.8 1996/01/15 10:12:41 davidg Exp $
+ * $Id: if_fxp.c,v 1.9 1996/01/23 21:47:03 se Exp $
*/
/*
@@ -290,8 +290,8 @@ fxp_attach(config_id, unit)
ifp->if_watchdog = fxp_watchdog;
fxp_get_macaddr(sc);
- printf("fxp%d: Ethernet address %s\n", unit,
- ether_sprintf(sc->arpcom.ac_enaddr));
+ printf("fxp%d: Ethernet address %6D\n", unit,
+ sc->arpcom.ac_enaddr, ":");
/*
* Attach the interface.
diff --git a/sys/dev/ie/if_ie.c b/sys/dev/ie/if_ie.c
index b825f70..4094ef2 100644
--- a/sys/dev/ie/if_ie.c
+++ b/sys/dev/ie/if_ie.c
@@ -43,7 +43,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ie.c,v 1.30 1995/12/05 02:01:08 davidg Exp $
+ * $Id: if_ie.c,v 1.31 1995/12/10 13:38:45 phk Exp $
*/
/*
@@ -582,10 +582,10 @@ ieattach(dvp)
ifp->if_unit = unit;
ifp->if_name = iedriver.name;
ifp->if_mtu = ETHERMTU;
- printf(" <%s R%d> ethernet address %s\n",
+ printf(" <%s R%d> ethernet address %6D\n",
ie_hardware_names[ie_softc[unit].hard_type],
ie_softc[unit].hard_vers + 1,
- ether_sprintf(ie->arpcom.ac_enaddr));
+ ie->arpcom.ac_enaddr, ":");
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_output = ether_output;
@@ -1190,8 +1190,8 @@ static void ie_readframe(unit, ie, num)
#ifdef DEBUG
if(ie_debug & IED_READFRAME) {
- printf("ie%d: frame from ether %s type %x\n", unit,
- ether_sprintf(eh.ether_shost), (unsigned)eh.ether_type);
+ printf("ie%d: frame from ether %6D type %x\n", unit,
+ eh.ether_shost, ":", (unsigned)eh.ether_type);
}
if(ntohs(eh.ether_type) > ETHERTYPE_TRAIL
&& ntohs(eh.ether_type) < (ETHERTYPE_TRAIL + ETHERTYPE_NTRAILER))
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c
index 358c12b..aa5cd56 100644
--- a/sys/dev/lnc/if_lnc.c
+++ b/sys/dev/lnc/if_lnc.c
@@ -1182,10 +1182,10 @@ lnc_attach(struct isa_device * isa_dev)
if_attach(&sc->arpcom.ac_if);
sc->kdc.kdc_state = DC_IDLE;
- printf("lnc%d: %s, address %s\n",
+ printf("lnc%d: %s, address %6D\n",
isa_dev->id_unit,
sc->kdc.kdc_description,
- ether_sprintf(sc->arpcom.ac_enaddr));
+ sc->arpcom.ac_enaddr, ":");
#if NBPFILTER > 0
bpfattach(&sc->bpf, &sc->arpcom.ac_if, DLT_EN10MB, sizeof(struct ether_header));
diff --git a/sys/i386/isa/if_eg.c b/sys/i386/isa/if_eg.c
index 3cd586a..0f03f54 100644
--- a/sys/i386/isa/if_eg.c
+++ b/sys/i386/isa/if_eg.c
@@ -27,7 +27,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_eg.c,v 1.9 1995/12/10 13:38:38 phk Exp $
+ * $Id: if_eg.c,v 1.10 1995/12/15 00:54:09 bde Exp $
*/
/* To do:
@@ -399,9 +399,8 @@ egattach (struct isa_device *id)
}
bcopy(&sc->eg_pcb[2], sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
- printf("eg%d: address %s, type=3COM 3c505 (v%d.%02d, %dk)\n",
- id->id_unit,
- ether_sprintf(sc->sc_arpcom.ac_enaddr),
+ printf("eg%d: address %6D, type=3COM 3c505 (v%d.%02d, %dk)\n",
+ id->id_unit, sc->sc_arpcom.ac_enaddr, ":",
sc->eg_rom_major, sc->eg_rom_minor, sc->eg_ram);
sc->kdc.kdc_description = "Ethernet adapter: 3Com 3C505";
diff --git a/sys/i386/isa/if_el.c b/sys/i386/isa/if_el.c
index 837a5f1..c7b4aba 100644
--- a/sys/i386/isa/if_el.c
+++ b/sys/i386/isa/if_el.c
@@ -6,7 +6,7 @@
*
* Questions, comments, bug reports and fixes to kimmel@cs.umass.edu.
*
- * $Id: if_el.c,v 1.20 1995/12/10 13:38:39 phk Exp $
+ * $Id: if_el.c,v 1.21 1995/12/15 00:54:10 bde Exp $
*/
/* Except of course for the portions of code lifted from other FreeBSD
* drivers (mainly elread, elget and el_ioctl)
@@ -166,7 +166,7 @@ el_probe(struct isa_device *idev)
outb(base+EL_GPBL,i);
station_addr[i] = inb(base+EL_EAW);
}
- dprintf(("Address is %s\n",ether_sprintf(station_addr)));
+ dprintf(("Address is %6D\n",station_addr, ":"));
/* If the vendor code is ok, return a 1. We'll assume that
* whoever configured this system is right about the IRQ.
@@ -238,8 +238,8 @@ el_attach(struct isa_device *idev)
}
/* Print out some information for the user */
- printf("el%d: 3c501 address %s\n",idev->id_unit,
- ether_sprintf(sc->arpcom.ac_enaddr));
+ printf("el%d: 3c501 address %6D\n",idev->id_unit,
+ sc->arpcom.ac_enaddr, ":");
/* Finally, attach to bpf filter if it is present. */
#if NBPFILTER > 0
@@ -553,8 +553,8 @@ void elintr(int unit)
insb(base+EL_BUF,sc->el_pktbuf,len);
outb(base+EL_RBC,0);
outb(base+EL_AC,EL_AC_RX);
- dprintf(("%s-->",ether_sprintf(sc->el_pktbuf+6)));
- dprintf(("%s\n",ether_sprintf(sc->el_pktbuf)));
+ dprintf(("%6D-->",sc->el_pktbuf+6,":"));
+ dprintf(("%6D\n",sc->el_pktbuf,":"));
/* Pass data up to upper levels */
len -= sizeof(struct ether_header);
diff --git a/sys/i386/isa/if_ep.c b/sys/i386/isa/if_ep.c
index c5016f3..e57334c 100644
--- a/sys/i386/isa/if_ep.c
+++ b/sys/i386/isa/if_ep.c
@@ -38,7 +38,7 @@
*/
/*
- * $Id: if_ep.c,v 1.36 1995/12/10 13:38:41 phk Exp $
+ * $Id: if_ep.c,v 1.37 1995/12/15 00:54:11 bde Exp $
*
* Promiscuous mode added and interrupt logic slightly changed
* to reduce the number of adapter failures. Transceiver select
@@ -408,7 +408,7 @@ epattach(is)
GO_WINDOW(2);
outw(BASE + EP_W2_ADDR_0 + (i * 2), ntohs(p[i]));
}
- printf(" address %s", ether_sprintf(sc->arpcom.ac_enaddr));
+ printf(" address %6D", sc->arpcom.ac_enaddr, ":");
/*
* Write IRQ value to board
diff --git a/sys/i386/isa/if_fe.c b/sys/i386/isa/if_fe.c
index 1a3b2b6..5e141c5 100644
--- a/sys/i386/isa/if_fe.c
+++ b/sys/i386/isa/if_fe.c
@@ -1125,8 +1125,8 @@ fe_attach ( struct isa_device *isa_dev )
fe_setlinkaddr( sc );
/* Print additional info when attached. */
- printf( "fe%d: address %s, type %s\n", sc->sc_unit,
- ether_sprintf( sc->sc_enaddr ), sc->typestr );
+ printf( "fe%d: address %6D, type %s\n", sc->sc_unit,
+ sc->sc_enaddr, ":" , sc->typestr );
#if FE_DEBUG >= 3
{
int buf, txb, bbw, sbw, ram;
@@ -1301,8 +1301,8 @@ fe_init ( int unit )
|| ( sc->sc_enaddr[ 0 ] == 0x00
&& sc->sc_enaddr[ 1 ] == 0x00
&& sc->sc_enaddr[ 2 ] == 0x00 ) ) {
- log( LOG_ERR, "fe%d: invalid station address (%s)\n",
- sc->sc_unit, ether_sprintf( sc->sc_enaddr ) );
+ log( LOG_ERR, "fe%d: invalid station address (%6D)\n",
+ sc->sc_unit, sc->sc_enaddr, ":" );
return;
}
#endif
@@ -2314,9 +2314,9 @@ fe_get_packet ( struct fe_softc * sc, u_short len )
* We found an error (of this driver.)
*/
log( LOG_WARNING,
- "fe%d: got an unwanted packet, dst = %s\n",
+ "fe%d: got an unwanted packet, dst = %6D\n",
sc->sc_unit,
- ether_sprintf( eh->ether_dhost ) );
+ eh->ether_dhost , ":" );
m_freem( m );
return 0;
}
@@ -2526,8 +2526,8 @@ fe_mcaf ( struct fe_softc *sc )
}
index = fe_hash( enm->enm_addrlo );
#if FE_DEBUG >= 4
- log( LOG_INFO, "fe%d: hash(%s) == %d\n",
- sc->sc_unit, ether_sprintf( enm->enm_addrlo ), index );
+ log( LOG_INFO, "fe%d: hash(%6D) == %d\n",
+ sc->sc_unit, enm->enm_addrlo , ":", index );
#endif
filter.data[index >> 3] |= 1 << (index & 7);
diff --git a/sys/i386/isa/if_ie.c b/sys/i386/isa/if_ie.c
index b825f70..4094ef2 100644
--- a/sys/i386/isa/if_ie.c
+++ b/sys/i386/isa/if_ie.c
@@ -43,7 +43,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_ie.c,v 1.30 1995/12/05 02:01:08 davidg Exp $
+ * $Id: if_ie.c,v 1.31 1995/12/10 13:38:45 phk Exp $
*/
/*
@@ -582,10 +582,10 @@ ieattach(dvp)
ifp->if_unit = unit;
ifp->if_name = iedriver.name;
ifp->if_mtu = ETHERMTU;
- printf(" <%s R%d> ethernet address %s\n",
+ printf(" <%s R%d> ethernet address %6D\n",
ie_hardware_names[ie_softc[unit].hard_type],
ie_softc[unit].hard_vers + 1,
- ether_sprintf(ie->arpcom.ac_enaddr));
+ ie->arpcom.ac_enaddr, ":");
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_output = ether_output;
@@ -1190,8 +1190,8 @@ static void ie_readframe(unit, ie, num)
#ifdef DEBUG
if(ie_debug & IED_READFRAME) {
- printf("ie%d: frame from ether %s type %x\n", unit,
- ether_sprintf(eh.ether_shost), (unsigned)eh.ether_type);
+ printf("ie%d: frame from ether %6D type %x\n", unit,
+ eh.ether_shost, ":", (unsigned)eh.ether_type);
}
if(ntohs(eh.ether_type) > ETHERTYPE_TRAIL
&& ntohs(eh.ether_type) < (ETHERTYPE_TRAIL + ETHERTYPE_NTRAILER))
diff --git a/sys/i386/isa/if_ix.c b/sys/i386/isa/if_ix.c
index f74db13..b883491 100644
--- a/sys/i386/isa/if_ix.c
+++ b/sys/i386/isa/if_ix.c
@@ -28,7 +28,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_ix.c,v 1.16 1995/12/10 13:38:47 phk Exp $
+ * $Id: if_ix.c,v 1.17 1995/12/15 00:54:17 bde Exp $
*/
#include "ix.h"
@@ -625,7 +625,7 @@ ixattach(struct isa_device *dvp) {
sdl->sdl_slen = 0;
bcopy(sc->arpcom.ac_enaddr, LLADDR(sdl), ETHER_ADDRESS_LENGTH);
}
- printf("ix%d: address %s\n", unit, ether_sprintf(sc->arpcom.ac_enaddr));
+ printf("ix%d: address %6D\n", unit, sc->arpcom.ac_enaddr, ":");
return(0);
}
diff --git a/sys/i386/isa/if_le.c b/sys/i386/isa/if_le.c
index 9973789..73dff3b 100644
--- a/sys/i386/isa/if_le.c
+++ b/sys/i386/isa/if_le.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_le.c,v 1.27 1995/12/15 00:54:19 bde Exp $
+ * $Id: if_le.c,v 1.28 1996/01/25 23:00:42 joerg Exp $
*/
/*
@@ -396,10 +396,10 @@ le_attach(
struct ifaddr *ifa = ifp->if_addrlist;
ifp->if_mtu = ETHERMTU;
- printf("%s%d: %s ethernet address %s\n",
+ printf("%s%d: %s ethernet address %6D\n",
ifp->if_name, ifp->if_unit,
sc->le_prodname,
- ether_sprintf(sc->le_ac.ac_enaddr));
+ sc->le_ac.ac_enaddr, ":");
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
ifp->if_output = ether_output;
diff --git a/sys/i386/isa/if_lnc.c b/sys/i386/isa/if_lnc.c
index 358c12b..aa5cd56 100644
--- a/sys/i386/isa/if_lnc.c
+++ b/sys/i386/isa/if_lnc.c
@@ -1182,10 +1182,10 @@ lnc_attach(struct isa_device * isa_dev)
if_attach(&sc->arpcom.ac_if);
sc->kdc.kdc_state = DC_IDLE;
- printf("lnc%d: %s, address %s\n",
+ printf("lnc%d: %s, address %6D\n",
isa_dev->id_unit,
sc->kdc.kdc_description,
- ether_sprintf(sc->arpcom.ac_enaddr));
+ sc->arpcom.ac_enaddr, ":");
#if NBPFILTER > 0
bpfattach(&sc->bpf, &sc->arpcom.ac_if, DLT_EN10MB, sizeof(struct ether_header));
diff --git a/sys/i386/isa/if_ze.c b/sys/i386/isa/if_ze.c
index adc1865..797cdaa 100644
--- a/sys/i386/isa/if_ze.c
+++ b/sys/i386/isa/if_ze.c
@@ -47,7 +47,7 @@
*/
/*
- * $Id: if_ze.c,v 1.26 1995/12/13 10:36:03 phk Exp $
+ * $Id: if_ze.c,v 1.27 1995/12/17 21:22:57 phk Exp $
*/
#include "ze.h"
@@ -660,9 +660,9 @@ ze_attach(isa_dev)
/*
* Print additional info when attached
*/
- printf("ze%d: address %s, type %s (%dbit), MAU %s\n",
+ printf("ze%d: address %6D, type %s (%dbit), MAU %s\n",
isa_dev->id_unit,
- ether_sprintf(sc->arpcom.ac_enaddr), sc->type_str,
+ sc->arpcom.ac_enaddr, ":", sc->type_str,
sc->memwidth,
sc->mau);
diff --git a/sys/i386/isa/if_zp.c b/sys/i386/isa/if_zp.c
index c75a7ae..36e03f1 100644
--- a/sys/i386/isa/if_zp.c
+++ b/sys/i386/isa/if_zp.c
@@ -34,7 +34,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* From: if_ep.c,v 1.9 1994/01/25 10:46:29 deraadt Exp $
- * $Id: if_zp.c,v 1.13 1995/12/05 02:01:18 davidg Exp $
+ * $Id: if_zp.c,v 1.14 1995/12/13 10:35:36 phk Exp $
*/
/*-
* TODO:
@@ -540,7 +540,7 @@ zpattach(isa_dev)
bcopy(tmp_addr, sc->arpcom.ac_enaddr, 6);
}
- printf(" address %s\n", ether_sprintf(sc->arpcom.ac_enaddr));
+ printf(" address %6D\n", sc->arpcom.ac_enaddr, ":");
ifp->if_mtu = ETHERMTU;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX;
diff --git a/sys/net/fddi.h b/sys/net/fddi.h
index 14ec343..4589f45 100644
--- a/sys/net/fddi.h
+++ b/sys/net/fddi.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_fddi.h 8.1 (Berkeley) 6/10/93
- * $Id: if_fddi.h,v 1.1 1995/03/14 09:14:14 davidg Exp $
+ * $Id: if_fddi.h,v 1.2 1995/05/30 08:09:21 rgrimes Exp $
*/
#ifndef _NETINET_IF_FDDI_H_
@@ -72,7 +72,6 @@ struct fddi_header {
#define fddi_ipmulticast_max ether_ipmulticast_max
#define fddi_addmulti ether_addmulti
#define fddi_delmulti ether_delmulti
-#define fddi_sprintf ether_sprintf
void fddi_ifattach __P((struct ifnet *));
void fddi_input __P((struct ifnet *, struct fddi_header *, struct mbuf *));
diff --git a/sys/net/if.h b/sys/net/if.h
index 5a0e035..741420b 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if.h 8.1 (Berkeley) 6/10/93
- * $Id: if.h,v 1.24 1995/12/05 02:01:37 davidg Exp $
+ * $Id: if.h,v 1.25 1995/12/09 20:47:09 phk Exp $
*/
#ifndef _NET_IF_H_
@@ -361,7 +361,6 @@ void ether_ifattach __P((struct ifnet *));
void ether_input __P((struct ifnet *, struct ether_header *, struct mbuf *));
int ether_output __P((struct ifnet *,
struct mbuf *, struct sockaddr *, struct rtentry *));
-char *ether_sprintf __P((u_char *));
void if_attach __P((struct ifnet *));
void if_down __P((struct ifnet *));
diff --git a/sys/netinet/if_fddi.h b/sys/netinet/if_fddi.h
index 14ec343..4589f45 100644
--- a/sys/netinet/if_fddi.h
+++ b/sys/netinet/if_fddi.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_fddi.h 8.1 (Berkeley) 6/10/93
- * $Id: if_fddi.h,v 1.1 1995/03/14 09:14:14 davidg Exp $
+ * $Id: if_fddi.h,v 1.2 1995/05/30 08:09:21 rgrimes Exp $
*/
#ifndef _NETINET_IF_FDDI_H_
@@ -72,7 +72,6 @@ struct fddi_header {
#define fddi_ipmulticast_max ether_ipmulticast_max
#define fddi_addmulti ether_addmulti
#define fddi_delmulti ether_delmulti
-#define fddi_sprintf ether_sprintf
void fddi_ifattach __P((struct ifnet *));
void fddi_input __P((struct ifnet *, struct fddi_header *, struct mbuf *));
diff --git a/sys/pci/if_de.c b/sys/pci/if_de.c
index 074893a..bf63619 100644
--- a/sys/pci/if_de.c
+++ b/sys/pci/if_de.c
@@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: if_de.c,v 1.40 1995/12/14 09:53:58 phk Exp $
+ * $Id: if_de.c,v 1.41 1996/01/23 21:47:00 se Exp $
*
*/
@@ -2002,12 +2002,12 @@ tulip_attach(
#ifdef __FreeBSD__
printf("%s%d", sc->tulip_name, sc->tulip_unit);
#endif
- printf(": %s%s pass %d.%d Ethernet address %s\n",
+ printf(": %s%s pass %d.%d Ethernet address %6D\n",
sc->tulip_boardsw->bd_description,
tulip_chipdescs[sc->tulip_chipid],
(sc->tulip_revinfo & 0xF0) >> 4,
sc->tulip_revinfo & 0x0F,
- ether_sprintf(sc->tulip_hwaddr));
+ sc->tulip_hwaddr, ":");
if ((*sc->tulip_boardsw->bd_media_probe)(sc)) {
ifp->if_flags |= IFF_ALTPHYS;
diff --git a/sys/pci/if_fxp.c b/sys/pci/if_fxp.c
index ddafbef..1fdf77d 100644
--- a/sys/pci/if_fxp.c
+++ b/sys/pci/if_fxp.c
@@ -29,7 +29,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: if_fxp.c,v 1.8 1996/01/15 10:12:41 davidg Exp $
+ * $Id: if_fxp.c,v 1.9 1996/01/23 21:47:03 se Exp $
*/
/*
@@ -290,8 +290,8 @@ fxp_attach(config_id, unit)
ifp->if_watchdog = fxp_watchdog;
fxp_get_macaddr(sc);
- printf("fxp%d: Ethernet address %s\n", unit,
- ether_sprintf(sc->arpcom.ac_enaddr));
+ printf("fxp%d: Ethernet address %6D\n", unit,
+ sc->arpcom.ac_enaddr, ":");
/*
* Attach the interface.
diff --git a/sys/pci/if_vx.c b/sys/pci/if_vx.c
index 7fc63c3..5c7b08f 100644
--- a/sys/pci/if_vx.c
+++ b/sys/pci/if_vx.c
@@ -239,7 +239,7 @@ vx_pci_attach(
GO_WINDOW(2);
outw(BASE + VX_W2_ADDR_0 + (i * 2), ntohs(p[i]));
}
- printf(" address %s\n", ether_sprintf(sc->arpcom.ac_enaddr));
+ printf(" address %6D\n", sc->arpcom.ac_enaddr, ":");
/*
* Check for receive overrun anomaly in the first revision of the
OpenPOWER on IntegriCloud