From 46ae634c56565091c44b27ce4a15be80b9c39f1f Mon Sep 17 00:00:00 2001 From: George C A Reid Date: Sun, 8 Apr 2001 00:07:53 +0000 Subject: [PATCH] Add yet another chip revision of the ES1371 which requires initialisation delays PR: 26415 Submitted by: Jose M. Alcaide Reviewed by: cg --- sys/dev/sound/pci/es137x.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index 116a0fff45c0..fef48fcb2995 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -486,7 +486,8 @@ es1371_init(struct es_info *es, device_t dev) es->ctrl = 0; es->sctrl = 0; /* initialize the chips */ - if (revid == 7 || revid >= 9 || (devid == ES1371_PCI_ID3 && revid == 2)) { + if (revid == 7 || revid >= 9 || + (devid == ES1371_PCI_ID3 && (revid == 2 || revid == 3))) { #define ES1371_BINTSUMM_OFF 0x04 bus_space_write_4(es->st, es->sh, ES1371_BINTSUMM_OFF, 0x20000000); DELAY(20000);