envy24ht.c (172568) | envy24ht.c (188480) |
---|---|
1/* 2 * Copyright (c) 2006 Konstantin Dimitrov <kosio.dimitrov@gmail.com> 3 * Copyright (c) 2001 Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 33 unchanged lines hidden (view full) --- 42#include <dev/sound/pci/spicds.h> 43#include <dev/sound/pci/envy24ht.h> 44 45#include <dev/pci/pcireg.h> 46#include <dev/pci/pcivar.h> 47 48#include "mixer_if.h" 49 | 1/* 2 * Copyright (c) 2006 Konstantin Dimitrov <kosio.dimitrov@gmail.com> 3 * Copyright (c) 2001 Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp> 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 33 unchanged lines hidden (view full) --- 42#include <dev/sound/pci/spicds.h> 43#include <dev/sound/pci/envy24ht.h> 44 45#include <dev/pci/pcireg.h> 46#include <dev/pci/pcivar.h> 47 48#include "mixer_if.h" 49 |
50SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/envy24ht.c 172568 2007-10-12 06:03:46Z kevlo $"); | 50SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/envy24ht.c 188480 2009-02-11 10:29:45Z netchild $"); |
51 52MALLOC_DEFINE(M_ENVY24HT, "envy24ht", "envy24ht audio"); 53 54/* -------------------------------------------------------------------- */ 55 56struct sc_info; 57 58#define ENVY24HT_PLAY_CHNUM 8 --- 259 unchanged lines hidden (view full) --- 318 0, 319 &spi_codec, 320 }, 321 { 322 "Envy24HT-S audio (Terratec PHASE 22)", 323 0x153b, 0x1150, 324 0x10, 0x80, 0xf0, 0xc3, 325 0x7ffbc7, 0x7fffff, 0x438, | 51 52MALLOC_DEFINE(M_ENVY24HT, "envy24ht", "envy24ht audio"); 53 54/* -------------------------------------------------------------------- */ 55 56struct sc_info; 57 58#define ENVY24HT_PLAY_CHNUM 8 --- 259 unchanged lines hidden (view full) --- 318 0, 319 &spi_codec, 320 }, 321 { 322 "Envy24HT-S audio (Terratec PHASE 22)", 323 0x153b, 0x1150, 324 0x10, 0x80, 0xf0, 0xc3, 325 0x7ffbc7, 0x7fffff, 0x438, |
326 0x20, 0x10, 0x400, 0x00, 0x00, | 326 0x10, 0x20, 0x400, 0x01, 0x00, |
327 0, 328 &spi_codec, 329 }, 330 { 331 "Envy24HT audio (AudioTrak Prodigy 7.1 LT)", 332 0x3132, 0x4154, 333 0x4b, 0x80, 0xfc, 0xc3, 334 0x7ff8ff, 0x7fffff, 0x700, --- 9 unchanged lines hidden (view full) --- 344 0x400, 0x200, 0x100, 0x00, 0x02, 345 0, 346 &spi_codec, 347 }, 348 { 349 "Envy24HT audio (M-Audio Revolution 7.1)", 350 0x1412, 0x3630, 351 0x43, 0x80, 0xf8, 0xc1, | 327 0, 328 &spi_codec, 329 }, 330 { 331 "Envy24HT audio (AudioTrak Prodigy 7.1 LT)", 332 0x3132, 0x4154, 333 0x4b, 0x80, 0xfc, 0xc3, 334 0x7ff8ff, 0x7fffff, 0x700, --- 9 unchanged lines hidden (view full) --- 344 0x400, 0x200, 0x100, 0x00, 0x02, 345 0, 346 &spi_codec, 347 }, 348 { 349 "Envy24HT audio (M-Audio Revolution 7.1)", 350 0x1412, 0x3630, 351 0x43, 0x80, 0xf8, 0xc1, |
352 0x3fff85, 0x72, 0x4000fa, | 352 0x3fff85, 0x400072, 0x4000fa, |
353 0x08, 0x02, 0x20, 0x00, 0x04, 354 0, 355 &spi_codec, 356 }, 357 { 358 "Envy24GT audio (M-Audio Revolution 5.1)", 359 0x1412, 0x3631, 360 0x42, 0x80, 0xf8, 0xc1, | 353 0x08, 0x02, 0x20, 0x00, 0x04, 354 0, 355 &spi_codec, 356 }, 357 { 358 "Envy24GT audio (M-Audio Revolution 5.1)", 359 0x1412, 0x3631, 360 0x42, 0x80, 0xf8, 0xc1, |
361 0x3fff85, 0x72, 0x4000fa, | 361 0x3fff05, 0x4000f0, 0x4000fa, |
362 0x08, 0x02, 0x10, 0x00, 0x03, 363 0, 364 &spi_codec, 365 }, 366 { 367 "Envy24HT audio (M-Audio Audiophile 192)", 368 0x1412, 0x3632, 369 0x68, 0x80, 0xf8, 0xc3, --- 16 unchanged lines hidden (view full) --- 386 0x3031, 0x4553, 387 0x20, 0x80, 0xf8, 0xc3, 388 0x7fff9f, 0x8016, 0x7fff9f, 389 0x08, 0x02, 0x10, 0x00, 0x03, 390 0, 391 &spi_codec, 392 }, 393 { | 362 0x08, 0x02, 0x10, 0x00, 0x03, 363 0, 364 &spi_codec, 365 }, 366 { 367 "Envy24HT audio (M-Audio Audiophile 192)", 368 0x1412, 0x3632, 369 0x68, 0x80, 0xf8, 0xc3, --- 16 unchanged lines hidden (view full) --- 386 0x3031, 0x4553, 387 0x20, 0x80, 0xf8, 0xc3, 388 0x7fff9f, 0x8016, 0x7fff9f, 389 0x08, 0x02, 0x10, 0x00, 0x03, 390 0, 391 &spi_codec, 392 }, 393 { |
394 "Envy24HT-S audio (Terrasoniq TS22PCI)", 395 0x153b, 0x117b, 396 0x10, 0x80, 0xf0, 0xc3, 397 0x7ffbc7, 0x7fffff, 0x438, 398 0x10, 0x20, 0x400, 0x01, 0x00, 399 0, 400 &spi_codec, 401 }, 402 { |
|
394 "Envy24HT audio (Generic)", 395 0, 0, 396 0x0b, 0x80, 0xfc, 0xc3, 397 0x21efff, 0x7fffff, 0x5e1000, 398 0x40000, 0x80000, 0x1000, 0x00, 0x02, 399 0, 400 &spi_codec, /* default codec routines */ 401 } --- 2200 unchanged lines hidden --- | 403 "Envy24HT audio (Generic)", 404 0, 0, 405 0x0b, 0x80, 0xfc, 0xc3, 406 0x21efff, 0x7fffff, 0x5e1000, 407 0x40000, 0x80000, 0x1000, 0x00, 0x02, 408 0, 409 &spi_codec, /* default codec routines */ 410 } --- 2200 unchanged lines hidden --- |