Add PCI identifier for Dell modified SBLive! card

Submitted by:	Joseph Dunn <joseph@magnesium.net>
This commit is contained in:
David E. O'Brien 2004-06-13 22:12:02 +00:00
parent e01682bb68
commit 07f5454078

View File

@ -44,6 +44,7 @@ SND_DECLARE_FILE("$FreeBSD$");
#define EMUPAGESIZE 4096 /* don't change */
#define EMUMAXPAGES (WAVEOUT_MAXBUFSIZE * NUM_G / EMUPAGESIZE)
#define EMU10K1_PCI_ID 0x00021102 /* 1102 => Creative Labs Vendor ID */
#define EMU10K1_DELL_PCI_ID 0x00061102
#define EMU10K2_PCI_ID 0x00041102
#define EMU_DEFAULT_BUFSZ 4096
#define EMU_MAX_CHANS 8
@ -1883,6 +1884,10 @@ emu_pci_probe(device_t dev)
s = "Creative EMU10K1";
break;
case EMU10K1_DELL_PCI_ID:
s = "Creative EMU10K1 (Dell)";
break;
case EMU10K2_PCI_ID:
if (pci_get_revid(dev) == 0x04)
s = "Creative Audigy 2 (EMU10K2)";
@ -2047,6 +2052,10 @@ emujoy_pci_probe(device_t dev)
s = "Creative EMU10K1 Joystick";
device_quiet(dev);
break;
case 0x70041102:
s = "Creative EMU10K1 Joystick (Dell)";
device_quiet(dev);
break;
case 0x70031102:
s = "Creative EMU10K2 Joystick";
device_quiet(dev);