diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-10 12:31:24 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-05-10 12:31:24 +0000 |
commit | 6b3251024eafed21fd1f959dd3403eea5f520cc6 (patch) | |
tree | 71c753c7e8d0c4db5e1bc1fde6ad4e86ffa6f8db /sys/netiso/if_eon.c | |
parent | 02ca3f3ee25cc0505314e846136b6e767eb83de8 (diff) |
if_name/if_unit -> if_xname/if_softc
Diffstat (limited to 'sys/netiso/if_eon.c')
-rw-r--r-- | sys/netiso/if_eon.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netiso/if_eon.c b/sys/netiso/if_eon.c index 26faad42800..223c79c8acc 100644 --- a/sys/netiso/if_eon.c +++ b/sys/netiso/if_eon.c @@ -1,5 +1,5 @@ -/* $OpenBSD: if_eon.c,v 1.3 1996/04/21 22:29:23 deraadt Exp $ */ -/* $NetBSD: if_eon.c,v 1.13 1996/04/13 01:34:44 cgd Exp $ */ +/* $OpenBSD: if_eon.c,v 1.4 1996/05/10 12:31:22 deraadt Exp $ */ +/* $NetBSD: if_eon.c,v 1.14 1996/05/07 02:45:10 thorpej Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -142,9 +142,9 @@ eonattach() printf("eonattach()\n"); } #endif - ifp->if_unit = 0; - ifp->if_name = "eon"; + sprintf(ifp->if_xname, "eon%d", 0); ifp->if_mtu = ETHERMTU; + ifp->if_softc = NULL; /* since everything will go out over ether or token ring */ ifp->if_ioctl = eonioctl; |