diff options
| author | mjl <mjl@NetBSD.org> | 1999-06-19 18:50:28 +0000 |
|---|---|---|
| committer | mjl <mjl@NetBSD.org> | 1999-06-19 18:50:28 +0000 |
| commit | 36da665f8cd19ae2a89aa7ab3ddcd5fe611dd4a6 (patch) | |
| tree | 8b943c2b0462f02b97f7e86acc893a2d6be0d174 /sys/dev | |
| parent | fb7137cfd9ecde19e842d352cc5a1a74453c0028 (diff) | |
Added NewMedia BusToaster, an Adaptec 152x compatible.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/pcmcia/aic_pcmcia.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sys/dev/pcmcia/aic_pcmcia.c b/sys/dev/pcmcia/aic_pcmcia.c index b2f2b5b7933..18abe8d6f5c 100644 --- a/sys/dev/pcmcia/aic_pcmcia.c +++ b/sys/dev/pcmcia/aic_pcmcia.c @@ -1,4 +1,4 @@ -/* $NetBSD: aic_pcmcia.c,v 1.9 1999/04/27 02:53:30 thorpej Exp $ */ +/* $NetBSD: aic_pcmcia.c,v 1.10 1999/06/19 18:50:28 mjl Exp $ */ /* * Copyright (c) 1997 Marc Horowitz. All rights reserved. @@ -77,6 +77,8 @@ struct aic_pcmcia_product { 0, PCMCIA_STR_ADAPTEC_APA1460_1 }, { PCMCIA_VENDOR_ADAPTEC, PCMCIA_PRODUCT_ADAPTEC_APA1460_2, 0, PCMCIA_STR_ADAPTEC_APA1460_2 }, + { PCMCIA_VENDOR_NEWMEDIA, PCMCIA_PRODUCT_NEWMEDIA_BUSTOASTER, + 0, PCMCIA_STR_NEWMEDIA_BUSTOASTER }, { 0, 0, 0, NULL }, @@ -132,6 +134,14 @@ aic_pcmcia_attach(parent, self, aux) cfe->num_iospace != 1) continue; + /* The bustoaster has a default config as first + * entry, we don't want to use that. */ + + if (pa->manufacturer == PCMCIA_VENDOR_NEWMEDIA && + pa->product == PCMCIA_PRODUCT_NEWMEDIA_BUSTOASTER && + cfe->iospace[0].start == 0) + continue; + if (pcmcia_io_alloc(pa->pf, cfe->iospace[0].start, cfe->iospace[0].length, 0, &psc->sc_pcioh) == 0) break; |
