summaryrefslogtreecommitdiffstats
path: root/sys/dev/ep/if_ep_pccard.c
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2000-01-15 05:21:43 +0000
committermdodd <mdodd@FreeBSD.org>2000-01-15 05:21:43 +0000
commit7bf29ac9f9661300db9a7fd2022c42900b4f542d (patch)
treeedfd51cc9b88ef2feb90185da0408316b41552bc /sys/dev/ep/if_ep_pccard.c
parentef76bd553b66e64952bc8185d013bc4f4039b847 (diff)
downloadFreeBSD-src-7bf29ac9f9661300db9a7fd2022c42900b4f542d.zip
FreeBSD-src-7bf29ac9f9661300db9a7fd2022c42900b4f542d.tar.gz
Fix driver to restore function on 3c574 adapters. The panic on
ifconfig and bogus ethernet address (4b:57:4b:57:4b:57) has been hacked around. I'll revisit this when I have a clue whats going on. Reviewed by: obrien
Diffstat (limited to 'sys/dev/ep/if_ep_pccard.c')
-rw-r--r--sys/dev/ep/if_ep_pccard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ep/if_ep_pccard.c b/sys/dev/ep/if_ep_pccard.c
index 037af33..30eefb20 100644
--- a/sys/dev/ep/if_ep_pccard.c
+++ b/sys/dev/ep/if_ep_pccard.c
@@ -98,6 +98,12 @@ ep_pccard_probe(device_t dev)
}
}
device_set_desc(dev, desc);
+
+ /*
+ * For some reason the 3c574 needs this.
+ */
+ ep_get_macaddr(sc, (u_char *)&sc->arpcom.ac_enaddr);
+
ep_free(dev);
return (0);
}
OpenPOWER on IntegriCloud