| 892 | } |
| 893 | |
| 894 | int BrcmPatchRAM::getDeviceStatus() |
| 895 | { |
| 896 | IOReturn result; |
| 897 | USBStatus status; |
| 898 | |
| 899 | if ((result = mDevice.getDeviceStatus(this, &status)) != kIOReturnSuccess) |
| 900 | { |
| 901 | AlwaysLog("[%04x:%04x]: Unable to get device status (\"%s\" 0x%08x).\n", mVendorId, mProductId, stringFromReturn(result), result); |
| 902 | return 0; |
| 903 | } |
| 904 | else |
| 905 | DebugLog("[%04x:%04x]: Device status 0x%08x.\n", mVendorId, mProductId, (int)status); |
| 906 | |
| 907 | return (int)status; |
| 908 | } |
| 909 | |
| 910 | bool BrcmPatchRAM::setConfiguration(int configurationIndex) |
| 911 | { |
nothing calls this directly
no outgoing calls
no test coverage detected