ac97.c (119547) | ac97.c (119853) |
---|---|
1/* | 1/* |
2 * Copyright (c) 1999 Cameron Grant <gandalf@vilnya.demon.co.uk> | 2 * Copyright (c) 1999 Cameron Grant <cg@freebsd.org> |
3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 */ 26 27#include <dev/sound/pcm/sound.h> 28#include <dev/sound/pcm/ac97.h> 29#include <dev/sound/pcm/ac97_patch.h> 30 31#include "mixer_if.h" 32 | 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright 9 * notice, this list of conditions and the following disclaimer. 10 * 2. Redistributions in binary form must reproduce the above copyright --- 14 unchanged lines hidden (view full) --- 25 */ 26 27#include <dev/sound/pcm/sound.h> 28#include <dev/sound/pcm/ac97.h> 29#include <dev/sound/pcm/ac97_patch.h> 30 31#include "mixer_if.h" 32 |
33SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pcm/ac97.c 119547 2003-08-29 03:24:08Z orion $"); | 33SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pcm/ac97.c 119853 2003-09-07 16:28:03Z cg $"); |
34 35MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); 36 37struct ac97mixtable_entry { 38 int reg:8; /* register index */ 39 /* reg < 0 if inverted polarity */ 40 unsigned bits:4; /* width of control field */ 41 unsigned ofs:4; /* offset (only if stereo=0) */ --- 762 unchanged lines hidden --- | 34 35MALLOC_DEFINE(M_AC97, "ac97", "ac97 codec"); 36 37struct ac97mixtable_entry { 38 int reg:8; /* register index */ 39 /* reg < 0 if inverted polarity */ 40 unsigned bits:4; /* width of control field */ 41 unsigned ofs:4; /* offset (only if stereo=0) */ --- 762 unchanged lines hidden --- |