diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-11-28 20:04:03 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-11-28 20:04:03 +0000 |
commit | 34d6e2062eea8b47037d6dea762228ccc1af6c41 (patch) | |
tree | f061dc06605f170b598e25c691db5f09717ae846 /sys/dev/ic/re.c | |
parent | 0b442513804717fe0992aac756da208082b21610 (diff) |
move printing of the interrupt string into re_attach().
Diffstat (limited to 'sys/dev/ic/re.c')
-rw-r--r-- | sys/dev/ic/re.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index ca9880ae424..847249d25c4 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.54 2006/11/24 04:27:17 brad Exp $ */ +/* $OpenBSD: re.c,v 1.55 2006/11/28 20:04:02 brad Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -760,7 +760,7 @@ int boot_eaddr_valid; * setup and ethernet/BPF attach. */ int -re_attach(struct rl_softc *sc) +re_attach(struct rl_softc *sc, const char *intrstr) { u_char eaddr[ETHER_ADDR_LEN]; u_int16_t as[ETHER_ADDR_LEN / 2]; @@ -820,7 +820,7 @@ re_attach(struct rl_softc *sc) bcopy(eaddr, (char *)&sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN); - printf(", address %s\n", + printf(": %s, address %s\n", intrstr, ether_sprintf(sc->sc_arpcom.ac_enaddr)); if (sc->rl_ldata.rl_tx_desc_cnt > |