summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrad <brad@openbsd.org>2004-05-07 23:33:39 +0000
committerbrad <brad@openbsd.org>2004-05-07 23:33:39 +0000
commit3657178889846c1b0a55ad3c24a3065e779a74cd (patch)
treee68812ef2d465136a3a9c75074a66ba9ab00bb72
parentError out on attempts to inject command or variable substitution (diff)
downloadwireguard-openbsd-3657178889846c1b0a55ad3c24a3065e779a74cd.tar.xz
wireguard-openbsd-3657178889846c1b0a55ad3c24a3065e779a74cd.zip
CardBus fxp's use the 82558 chipset which has a Long Receive bit,
we need to enable this to receive VLAN sized frames. ok deraadt@
-rw-r--r--sys/dev/cardbus/if_fxp_cardbus.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/cardbus/if_fxp_cardbus.c b/sys/dev/cardbus/if_fxp_cardbus.c
index 919b5601eaf..9c9ca2f0e8c 100644
--- a/sys/dev/cardbus/if_fxp_cardbus.c
+++ b/sys/dev/cardbus/if_fxp_cardbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_fxp_cardbus.c,v 1.5 2002/10/12 01:09:44 krw Exp $ */
+/* $OpenBSD: if_fxp_cardbus.c,v 1.6 2004/05/07 23:33:39 brad Exp $ */
/* $NetBSD: if_fxp_cardbus.c,v 1.12 2000/05/08 18:23:36 thorpej Exp $ */
/*
@@ -182,6 +182,8 @@ fxp_cardbus_attach(parent, self, aux)
sc->sc_enabled = 0;
#endif
+ sc->not_82557 = 1;
+
Cardbus_function_enable(csc->ct);
fxp_cardbus_setup(sc);