diff options
author | Mats O Jansson <maja@cvs.openbsd.org> | 2000-03-13 20:39:50 +0000 |
---|---|---|
committer | Mats O Jansson <maja@cvs.openbsd.org> | 2000-03-13 20:39:50 +0000 |
commit | 32036e41bdf3a075b472706bb1888bea896ded04 (patch) | |
tree | c42ab3aefcfae4376197a52f5853fea69395b119 /sys/dev/eisa/if_ep_eisa.c | |
parent | f3aaa82ca087febb277cb06dd7aff4cc884beee5 (diff) |
Add support for more 3com cards. William Yodlowsky <wyodlows@route1.nj.devry.edu> and me. -moj
Diffstat (limited to 'sys/dev/eisa/if_ep_eisa.c')
-rw-r--r-- | sys/dev/eisa/if_ep_eisa.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sys/dev/eisa/if_ep_eisa.c b/sys/dev/eisa/if_ep_eisa.c index 5cd62ab6ec9..136db2d2a66 100644 --- a/sys/dev/eisa/if_ep_eisa.c +++ b/sys/dev/eisa/if_ep_eisa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ep_eisa.c,v 1.11 1998/09/19 10:08:04 maja Exp $ */ +/* $OpenBSD: if_ep_eisa.c,v 1.12 2000/03/13 20:39:49 maja Exp $ */ /* $NetBSD: if_ep_eisa.c,v 1.13 1997/04/18 00:50:33 cgd Exp $ */ /* @@ -95,9 +95,12 @@ ep_eisa_match(parent, match, aux) struct eisa_attach_args *ea = aux; /* must match one of our known ID strings */ - if (strcmp(ea->ea_idstring, "TCM5091") && + if (strcmp(ea->ea_idstring, "TCM5090") && + strcmp(ea->ea_idstring, "TCM5091") && strcmp(ea->ea_idstring, "TCM5092") && strcmp(ea->ea_idstring, "TCM5093") && + strcmp(ea->ea_idstring, "TCM5094") && + strcmp(ea->ea_idstring, "TCM5095") && strcmp(ea->ea_idstring, "TCM5920") && strcmp(ea->ea_idstring, "TCM5970") && strcmp(ea->ea_idstring, "TCM5971") && @@ -147,12 +150,18 @@ ep_eisa_attach(parent, self, aux) irq = bus_space_read_2(iot, ioh, EP_W0_RESOURCE_CFG) >> 12; chipset = EP_CHIPSET_3C509; /* assume dumb chipset */ - if (strcmp(ea->ea_idstring, "TCM5091") == 0) + if (strcmp(ea->ea_idstring, "TCM5090") == 0) + model = EISA_PRODUCT_TCM5090; + else if (strcmp(ea->ea_idstring, "TCM5091") == 0) model = EISA_PRODUCT_TCM5091; else if (strcmp(ea->ea_idstring, "TCM5092") == 0) model = EISA_PRODUCT_TCM5092; else if (strcmp(ea->ea_idstring, "TCM5093") == 0) model = EISA_PRODUCT_TCM5093; + else if (strcmp(ea->ea_idstring, "TCM5094") == 0) + model = EISA_PRODUCT_TCM5094; + else if (strcmp(ea->ea_idstring, "TCM5095") == 0) + model = EISA_PRODUCT_TCM5095; else if (strcmp(ea->ea_idstring, "TCM5920") == 0) { model = EISA_PRODUCT_TCM5920; chipset = EP_CHIPSET_VORTEX; |