RehabMan/EAPD-Codec-Commander — pull request #3 by robvanoostenrijk (2014-12-18 15:31:47+00:00)
Title: CodecCommander: PCI Class matching

CodecCommander is now enhanced to do PCIClass matching, this should allow using CodecCommander across different machines with minimal configuration changes.

CodecCommander now attaches (using a separate IOMatchCategory, so as to not interfere with existing drivers), to any PCI audio device (PCI Class code 04 03).

Once attached during probe it will determine if the device is a valid IntelHDA device, and if so continue processing.

Additionally the AppleHDADriver is not automatically determined.

CodecCommander::IntelHDA
IntelHDA: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B" [8c20:8086].
IntelHDA: Evaluating device "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDAU@3" [0c0c:8086].
IntelHDA: Located HDA driver at "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/HDEF@1B/AppleHDAController@1B/IOHDACodecDevice@1B,0/IOHDACodecDriver/IOHDACodecFunction@1B,0,1/AppleHDACodecGeneric/AppleHDADriver".
....Output Streams:	1
....Input Streams:	0
....Bidi Streams:	4
....Serial Data:	2
....x64 Support:	0
....Codec Version:	1.0
....Vendor Id:	0x10ec
....Device Id:	0x0668
CodecCommander: Version 2.2.1 starting.

Note this is based on the refactor branch as per pull request #2.