From 916cbce5819f7e4e5edc2aaf0b744d14b90bbef0 Mon Sep 17 00:00:00 2001 From: Jeroen Ruigrok/asmodai Date: Tue, 6 Jan 2004 16:31:55 +0000 Subject: [PATCH] Add PCI identifier to match against a Dell OEM version of the SB Live! --- sys/dev/sound/pci/emu10k1.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/sys/dev/sound/pci/emu10k1.c b/sys/dev/sound/pci/emu10k1.c index f12965e6e4..43751b16ba 100644 --- a/sys/dev/sound/pci/emu10k1.c +++ b/sys/dev/sound/pci/emu10k1.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/dev/sound/pci/emu10k1.c,v 1.6.2.9 2002/04/22 15:49:32 cg Exp $ - * $DragonFly: src/sys/dev/sound/pci/emu10k1.c,v 1.4 2004/01/06 16:07:40 asmodai Exp $ + * $DragonFly: src/sys/dev/sound/pci/emu10k1.c,v 1.5 2004/01/06 16:31:55 asmodai Exp $ */ #include @@ -35,12 +35,13 @@ #include #include -SND_DECLARE_FILE("$DragonFly: src/sys/dev/sound/pci/emu10k1.c,v 1.4 2004/01/06 16:07:40 asmodai Exp $"); +SND_DECLARE_FILE("$DragonFly: src/sys/dev/sound/pci/emu10k1.c,v 1.5 2004/01/06 16:31:55 asmodai Exp $"); /* -------------------------------------------------------------------- */ #define EMU10K1_PCI_ID 0x00021102 #define EMU10K2_PCI_ID 0x00041102 +#define EMU10K1X_PCI_ID 0x00061102 #define EMU_DEFAULT_BUFSZ 4096 #define EMU_MAX_CHANS 8 #undef EMUDEBUG @@ -1804,6 +1805,10 @@ emu_pci_probe(device_t dev) case EMU10K1_PCI_ID: s = "Creative EMU10K1"; break; + + case EMU10K1X_PCI_ID: + s = "Creative SB Live! (Dell OEM)"; + break; case EMU10K2_PCI_ID: if (pci_get_revid(dev) == 0x04) -- 2.41.0