diff options
author | cg <cg@FreeBSD.org> | 2001-06-11 00:32:18 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2001-06-11 00:32:18 +0000 |
commit | 1fe6e1636a23eaa76c0f6bffd3e924592e35b11c (patch) | |
tree | 18e83056b57752bb3b98e68cd06b39778f2e6ebd /sys | |
parent | dad803d9ac22cedd12db173cec013ad4fd3167be (diff) | |
download | FreeBSD-src-1fe6e1636a23eaa76c0f6bffd3e924592e35b11c.zip FreeBSD-src-1fe6e1636a23eaa76c0f6bffd3e924592e35b11c.tar.gz |
identify es1371 revision a
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sound/pci/es137x.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/sound/pci/es137x.c b/sys/dev/sound/pci/es137x.c index c673224..6b169dc 100644 --- a/sys/dev/sound/pci/es137x.c +++ b/sys/dev/sound/pci/es137x.c @@ -72,6 +72,7 @@ SYSCTL_INT(_debug, OID_AUTO, es_debug, CTLFLAG_RW, &debug, 0, ""); #define ES1371_PCI_ID2 0x13713274 #define CT5880_PCI_ID 0x58801274 +#define ES1371REV_ES1371_A 0x02 #define ES1371REV_ES1371_B 0x09 #define ES1371REV_ES1373_8 0x08 @@ -751,6 +752,10 @@ es_pci_probe(device_t dev) case ES1371_PCI_ID: switch(pci_get_revid(dev)) { + case ES1371REV_ES1371_A: + device_set_desc(dev, "AudioPCI ES1371-A"); + return 0; + case ES1371REV_ES1371_B: device_set_desc(dev, "AudioPCI ES1371-B"); return 0; @@ -778,7 +783,7 @@ es_pci_probe(device_t dev) } case ES1371_PCI_ID2: - device_set_desc(dev, "Strange AudioPCI ES1371-?"); + device_set_desc(dev, "Strange AudioPCI ES1371-? (vid=3274)"); device_printf(dev, "unknown revision %d -- please report to cg@freebsd.org\n", pci_get_revid(dev)); return 0; |