Deleted Added
full compact
ac97_patch.c (162957) ac97_patch.c (166488)
1/*-
1/*-
2 * Copyright 2002 FreeBSD, Inc. All rights reserved.
2 * Copyright (c) 2002 Orion Hodson
3 * All rights reserved.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions
6 * are met:
7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the

--- 11 unchanged lines hidden (view full) ---

22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 * SUCH DAMAGE.
24 */
25
26#include <dev/sound/pcm/sound.h>
27#include <dev/sound/pcm/ac97.h>
28#include <dev/sound/pcm/ac97_patch.h>
29
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
11 * notice, this list of conditions and the following disclaimer in the

--- 11 unchanged lines hidden (view full) ---

23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
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
30SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pcm/ac97_patch.c 162957 2006-10-02 15:32:12Z ariff $");
31SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pcm/ac97_patch.c 166488 2007-02-04 06:52:33Z joel $");
31
32void ad1886_patch(struct ac97_info* codec)
33{
34#define AC97_AD_JACK_SPDIF 0x72
35 /*
36 * Presario700 workaround
37 * for Jack Sense/SPDIF Register misetting causing
38 * no audible output

--- 28 unchanged lines hidden ---
32
33void ad1886_patch(struct ac97_info* codec)
34{
35#define AC97_AD_JACK_SPDIF 0x72
36 /*
37 * Presario700 workaround
38 * for Jack Sense/SPDIF Register misetting causing
39 * no audible output

--- 28 unchanged lines hidden ---