Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Added NewMedia BusToaster, an Adaptec 152x co...
details: https://anonhg.NetBSD.org/src/rev/a49c515b736b
branches: trunk
changeset: 473796:a49c515b736b
user: mjl <mjl%NetBSD.org@localhost>
date: Sat Jun 19 18:50:28 1999 +0000
description:
Added NewMedia BusToaster, an Adaptec 152x compatible.
diffstat:
sys/dev/pcmcia/aic_pcmcia.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
diffs (33 lines):
diff -r 54d8dc049630 -r a49c515b736b sys/dev/pcmcia/aic_pcmcia.c
--- a/sys/dev/pcmcia/aic_pcmcia.c Sat Jun 19 18:49:34 1999 +0000
+++ b/sys/dev/pcmcia/aic_pcmcia.c Sat Jun 19 18:50:28 1999 +0000
@@ -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 @@
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 @@
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;
Home |
Main Index |
Thread Index |
Old Index