diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-07-29 09:45:05 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1999-07-29 09:45:05 +0000 |
commit | cd728c0038f93fa6c00839b9d5b9101e1086db85 (patch) | |
tree | 36a55d5dc1611f068ec5f5ed8001ca04c0ef615b /sys/dev/isa | |
parent | 207a20307369cdeb5c18bd0f84798b92b748f229 (diff) |
A probe that fails on an otherwise working card, removed
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/ad1848.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/dev/isa/ad1848.c b/sys/dev/isa/ad1848.c index 29844ff77d0..51a98d3ae7b 100644 --- a/sys/dev/isa/ad1848.c +++ b/sys/dev/isa/ad1848.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ad1848.c,v 1.18 1999/07/19 19:47:05 deraadt Exp $ */ +/* $OpenBSD: ad1848.c,v 1.19 1999/07/29 09:45:04 niklas Exp $ */ /* $NetBSD: ad1848.c,v 1.45 1998/01/30 02:02:38 augustss Exp $ */ /* @@ -301,7 +301,9 @@ ad1848_probe(sc) struct ad1848_softc *sc; { u_char tmp, tmp1 = 0xff, tmp2 = 0xff; +#if 0 int i; +#endif /* Is there an ad1848 chip ? */ sc->MCE_bit = MODE_CHANGE_ENABLE; @@ -394,6 +396,12 @@ ad1848_probe(sc) DPRINTF(("ad1848: unknown codec version %#02X\n", (tmp1 & 0x8f))); } +#if 0 + /* + * XXX I don't know why, but this probe fails on an otherwise well-working + * AW35/pro card, so I'll just take it out for now. [niklas@openbsd.org] + */ + /* * The original AD1848/CS4248 has just 16 indirect registers. This means * that I0 and I16 should return the same value (etc.). @@ -409,6 +417,7 @@ ad1848_probe(sc) goto bad; } } +#endif /* * Try to switch the chip to mode2 (CS4231) by setting the MODE2 bit |