Deleted Added
sdiff udiff text old ( 268584 ) new ( 269152 )
full compact
1/*-
2 * Copyright (c) 2006 Stephane E. Potvin <sepotvin@videotron.ca>
3 * Copyright (c) 2006 Ariff Abdullah <ariff@FreeBSD.org>
4 * Copyright (c) 2008-2012 Alexander Motin <mav@FreeBSD.org>
5 * All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

37#include <dev/sound/pcm/sound.h>
38
39#include <sys/ctype.h>
40
41#include <dev/sound/pci/hda/hdac.h>
42#include <dev/sound/pci/hda/hdaa.h>
43#include <dev/sound/pci/hda/hda_reg.h>
44
45SND_DECLARE_FILE("$FreeBSD: head/sys/dev/sound/pci/hda/hdaa_patches.c 268584 2014-07-13 10:31:29Z markj $");
46
47static const struct {
48 uint32_t model;
49 uint32_t id;
50 uint32_t subsystemid;
51 uint32_t set, unset;
52 uint32_t gpio;
53} hdac_quirks[] = {

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

341 }
342 } else if (id == HDA_CODEC_CX20561 &&
343 subid == LENOVO_B450_SUBVENDOR) {
344 switch (nid) {
345 case 22:
346 patch = "as=1 seq=15";
347 break;
348 }
349 } else if (id == HDA_CODEC_CX20590 &&
350 (subid == LENOVO_X1_SUBVENDOR ||
351 subid == LENOVO_X220_SUBVENDOR ||
352 subid == LENOVO_T420_SUBVENDOR ||
353 subid == LENOVO_T520_SUBVENDOR ||
354 subid == LENOVO_G580_SUBVENDOR)) {
355 switch (nid) {
356 case 25:

--- 373 unchanged lines hidden ---