summaryrefslogtreecommitdiff
path: root/sys/dev/pcmcia
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-05-29 18:04:09 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-05-29 18:04:09 +0000
commit277f92efd7fdd49b808d8201939e72969096f9dc (patch)
treeea27fb97b72d9d6ccb054d0cd8da18216c4208b3 /sys/dev/pcmcia
parentf53227a1e62ba02f3aeb584db60639063ba647af (diff)
Support for 3c574 and 3CCFEM556BI PCMCIA Ethernet; from NetBSD.
Diffstat (limited to 'sys/dev/pcmcia')
-rw-r--r--sys/dev/pcmcia/if_ep_pcmcia.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c
index 488a1fece08..f3e5b1ef577 100644
--- a/sys/dev/pcmcia/if_ep_pcmcia.c
+++ b/sys/dev/pcmcia/if_ep_pcmcia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ep_pcmcia.c,v 1.23 2000/04/24 19:43:35 niklas Exp $ */
+/* $OpenBSD: if_ep_pcmcia.c,v 1.24 2000/05/29 18:04:07 aaron Exp $ */
/* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */
/*-
@@ -107,6 +107,9 @@
#include <machine/bus.h>
#include <machine/intr.h>
+#include <dev/mii/mii.h>
+#include <dev/mii/miivar.h>
+
#include <dev/ic/elink3var.h>
#include <dev/ic/elink3reg.h>
@@ -161,13 +164,11 @@ struct ep_pcmcia_product {
{ PCMCIA_PRODUCT_3COM_3C1, EP_CHIPSET_3C509,
0, 0 },
-#ifdef notyet
- { PCMCIA_PRODUCT_3COM_3CCFEM556BI, EP_CHIPSET_BOOMERANG,
+ { PCMCIA_PRODUCT_3COM_3CCFEM556BI, EP_CHIPSET_ROADRUNNER,
EP_FLAGS_MII, 0 },
- { PCMCIA_PRODUCT_3COM_3C574, EP_CHIPSET_BOOMERANG,
+ { PCMCIA_PRODUCT_3COM_3C574, EP_CHIPSET_ROADRUNNER,
EP_FLAGS_MII, 0 }
-#endif
};
struct ep_pcmcia_product *ep_pcmcia_lookup __P((struct pcmcia_attach_args *));
@@ -362,6 +363,8 @@ ep_pcmcia_attach(parent, self, aux)
if (epp == NULL)
panic("ep_pcmcia_attach: impossible");
+ sc->ep_flags = epp->epp_flags;
+
#ifdef notyet
sc->enable = ep_pcmcia_enable;
sc->disable = ep_pcmcia_disable;