Add yet another chip revision of the ES1371 which requires initialisation

delays

PR:		26415
Submitted by:	Jose M. Alcaide <jose@we.lc.ehu.es>
Reviewed by:	cg
This commit is contained in:
George C A Reid 2001-04-08 00:07:53 +00:00
parent f814df3b04
commit 46ae634c56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=75301

View File

@ -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);