consistent in the format of this.
/*
* Weeee.. We get to tell people we exist...
*/
/*
* Weeee.. We get to tell people we exist...
*/
- printf(" address %s\n", ether_sprintf(sc->ec_addr));
+ printf("ec%d: address %s\n", is->id_unit, ether_sprintf(sc->ec_addr));
ifp->if_unit = unit;
ifp->if_name = nedriver.name ;
ifp->if_mtu = ETHERMTU;
ifp->if_unit = unit;
ifp->if_name = nedriver.name ;
ifp->if_mtu = ETHERMTU;
- printf (" ethernet address %s", ether_sprintf(ns->ns_addr)) ;
+ printf ("ne%d: address %s", unit, ether_sprintf(ns->ns_addr)) ;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
ifp->if_init = neinit;
ifp->if_output = ether_output;
ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_NOTRAILERS;
ifp->if_init = neinit;
ifp->if_output = ether_output;
* we_attach enhanced with link level address by Rodney W. Grimes, 1/30/93
*
* $Log: if_we.c,v $
* we_attach enhanced with link level address by Rodney W. Grimes, 1/30/93
*
* $Log: if_we.c,v $
+ * Revision 1.3 1993/08/22 22:54:56 ats
+ * Added a new-line in the output of the ethernet-address that it gets
+ * on it's line alone ( not mangled with the FPU detection ).
+ * Commented out a debug printf in if_ec.c ( printf("ecinit") ).
+ *
* Revision 1.2 1993/07/29 12:07:10 davidg
* Added include of systm.h to get min/max/bcmp etc...
*
* Revision 1.2 1993/07/29 12:07:10 davidg
* Added include of systm.h to get min/max/bcmp etc...
*
sum += inb(is->id_iobase + WD_ROM_OFFSET + i);
if (sum != WD_CHECKSUM) { /* 09 Sep 92*/
#ifdef WECOMPAT
sum += inb(is->id_iobase + WD_ROM_OFFSET + i);
if (sum != WD_CHECKSUM) { /* 09 Sep 92*/
#ifdef WECOMPAT
- printf( "we: probe: checksum failed... installing anyway\n");
- printf( "we: Danpex EW-2016 or other 8013 clone card?\n");
+ printf( "we%d: probe: checksum failed... installing anyway\n",
+ is->id_unit);
+ printf( "we%d: Danpex EW-2016 or other 8013 clone card?\n",
+ is->id_unit);
#else /* !WECOMPAT*/
return (0);
#endif /* !WECOMPAT*/
#else /* !WECOMPAT*/
return (0);
#endif /* !WECOMPAT*/
- printf(" %saddr %s\n",
- (sc->we_type & WD_ETHERNET) ? "enet" : "slan",
+ printf("we%d: %s address %s\n",
+ is->id_unit,
+ (sc->we_type & WD_ETHERNET) ? "ethernet" : "starlan",
ether_sprintf(sc->we_addr));
}
ether_sprintf(sc->we_addr));
}