From owner-freebsd-current Sun Jul 2 7: 7:48 2000 Delivered-To: freebsd-current@freebsd.org Received: from majordomo2.umd.edu (majordomo2.umd.edu [128.8.10.7]) by hub.freebsd.org (Postfix) with ESMTP id 5256637B8AB for ; Sun, 2 Jul 2000 07:07:45 -0700 (PDT) (envelope-from culverk@wam.umd.edu) Received: from rac4.wam.umd.edu (root@rac4.wam.umd.edu [128.8.10.144]) by majordomo2.umd.edu (8.9.3/8.9.3) with ESMTP id KAA06273 for ; Sun, 2 Jul 2000 10:07:41 -0400 (EDT) Received: from rac4.wam.umd.edu (sendmail@localhost [127.0.0.1]) by rac4.wam.umd.edu (8.9.3/8.9.3) with SMTP id KAA06199 for ; Sun, 2 Jul 2000 10:07:43 -0400 (EDT) Received: from localhost (culverk@localhost) by rac4.wam.umd.edu (8.9.3/8.9.3) with ESMTP id KAA06195 for ; Sun, 2 Jul 2000 10:07:43 -0400 (EDT) X-Authentication-Warning: rac4.wam.umd.edu: culverk owned process doing -bs Date: Sun, 2 Jul 2000 10:07:43 -0400 (EDT) From: Kenneth Wayne Culver To: freebsd-current@freebsd.org Subject: could someone with committer access commit this? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is the patch to make my soundcard, a Creative Ensoniq AudioPCI (an es1371 chip, device id 0x58801274 rev 0x02). Can someone commit it please? Thanks. --- es137x.c.old Sun May 28 11:15:14 2000 +++ es137x.c Sat Jul 1 23:22:00 2000 @@ -68,6 +68,7 @@ #define ES1370_PCI_ID 0x50001274 #define ES1371_PCI_ID 0x13711274 #define ES1371_PCI_ID2 0x13713274 +#define ES1371_PCI_ID3 0x58801274 #define ES_BUFFSIZE 4096 @@ -493,7 +494,7 @@ es->ctrl = 0; es->sctrl = 0; /* initialize the chips */ - if (rev == 7 || rev >= 9) { + if (rev == 7 || rev >= 9 || rev == 2) { #define ES1371_BINTSUMM_OFF 0x07 bus_space_write_4(es->st, es->sh, ES1371_BINTSUMM_OFF, 0x20); if (debug > 0) printf("es_init rev == 7 || rev >= 9\n"); @@ -724,7 +725,8 @@ device_set_desc(dev, "AudioPCI ES1370"); return 0; } else if (pci_get_devid(dev) == ES1371_PCI_ID || - pci_get_devid(dev) == ES1371_PCI_ID2) { + pci_get_devid(dev) == ES1371_PCI_ID2 || + pci_get_devid(dev) == ES1371_PCI_ID3) { device_set_desc(dev, "AudioPCI ES1371"); return 0; } @@ -789,7 +791,8 @@ } if (pci_get_devid(dev) == ES1371_PCI_ID || - pci_get_devid(dev) == ES1371_PCI_ID2) { + pci_get_devid(dev) == ES1371_PCI_ID2 || + pci_get_devid(dev) == ES1371_PCI_ID3) { if(-1 == es1371_init(es, pci_get_revid(dev))) { device_printf(dev, "unable to initialize the card\n"); goto bad; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message