summaryrefslogtreecommitdiffstats
path: root/sys/dev/sn/if_sn_isa.c
diff options
context:
space:
mode:
authorhosokawa <hosokawa@FreeBSD.org>2000-01-22 17:24:16 +0000
committerhosokawa <hosokawa@FreeBSD.org>2000-01-22 17:24:16 +0000
commit022a33775582d842aa03f4fc145ab90b8746b89b (patch)
tree813e7cb1238d527988ad0544aaf04d831e3b8e2e /sys/dev/sn/if_sn_isa.c
parenteb811cc37f6a34fc0b5e6ca86c626360129daf16 (diff)
downloadFreeBSD-src-022a33775582d842aa03f4fc145ab90b8746b89b.zip
FreeBSD-src-022a33775582d842aa03f4fc145ab90b8746b89b.tar.gz
Don't execute MAC address initialization for non-pccard sn devices.
Diffstat (limited to 'sys/dev/sn/if_sn_isa.c')
-rw-r--r--sys/dev/sn/if_sn_isa.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/dev/sn/if_sn_isa.c b/sys/dev/sn/if_sn_isa.c
index 0922d44..1ff9de4 100644
--- a/sys/dev/sn/if_sn_isa.c
+++ b/sys/dev/sn/if_sn_isa.c
@@ -70,6 +70,13 @@ sn_isa_probe (device_t dev)
static int
sn_isa_attach (device_t dev)
{
+#if 0 /* currently not tested */
+ struct sn_softc *sc = device_get_softc(dev);
+#endif
+
+#if 0 /* currently not tested */
+ sc->pccard_enaddr = 0;
+#endif
return (0);
}
OpenPOWER on IntegriCloud