summaryrefslogtreecommitdiff
path: root/sys/dev/sbus/if_le.c
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2004-09-30 07:28:14 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2004-09-30 07:28:14 +0000
commit97425d03aceeaee884343136cde9ddd2b42f8694 (patch)
tree8e32d064de67de6ad4e255f1a3861075b6d94d6c /sys/dev/sbus/if_le.c
parent5b0fa418514f832eac6a5c9d7d9f2fd86dea2dd7 (diff)
Do not pretend we have set up an ifmedia structure if we did not; fixes
PR #3407 and #3661.
Diffstat (limited to 'sys/dev/sbus/if_le.c')
-rw-r--r--sys/dev/sbus/if_le.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/sbus/if_le.c b/sys/dev/sbus/if_le.c
index 3a81f60d4f2..96e8d76c1e9 100644
--- a/sys/dev/sbus/if_le.c
+++ b/sys/dev/sbus/if_le.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_le.c,v 1.9 2003/07/07 15:37:07 jason Exp $ */
+/* $OpenBSD: if_le.c,v 1.10 2004/09/30 07:28:13 miod Exp $ */
/* $NetBSD: if_le.c,v 1.17 2001/05/30 11:46:35 mrg Exp $ */
/*-
@@ -238,8 +238,6 @@ leattach_sbus(struct device *parent, struct device *self, void *aux)
myetheraddr(sc->sc_arpcom.ac_enaddr);
- sc->sc_hasifmedia = 1;
-
sc->sc_copytodesc = am7990_copytobuf_contig;
sc->sc_copyfromdesc = am7990_copyfrombuf_contig;
sc->sc_copytobuf = am7990_copytobuf_contig;