| 962 | } |
| 963 | |
| 964 | bool BrcmPatchRAM::findInterface(USBInterfaceShim* shim) |
| 965 | { |
| 966 | mDevice.findFirstInterface(shim); |
| 967 | if (IOService* interface = shim->getValidatedInterface()) |
| 968 | { |
| 969 | DebugLog("[%04x:%04x]: Interface %d (class %02x, subclass %02x, protocol %02x) located.\n", |
| 970 | mVendorId, |
| 971 | mProductId, |
| 972 | shim->getInterfaceNumber(), |
| 973 | shim->getInterfaceClass(), |
| 974 | shim->getInterfaceSubClass(), |
| 975 | shim->getInterfaceProtocol()); |
| 976 | |
| 977 | return true; |
| 978 | } |
| 979 | |
| 980 | AlwaysLog("[%04x:%04x]: No interface could be located.\n", mVendorId, mProductId); |
| 981 | |
| 982 | return false; |
| 983 | } |
| 984 | |
| 985 | bool BrcmPatchRAM::findPipe(USBPipeShim* shim, UInt8 type, UInt8 direction) |
| 986 | { |
nothing calls this directly
no test coverage detected