mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Bring back PD 3.0
This commit is contained in:
@@ -188,15 +188,15 @@ PolicyEngine::policy_engine_state PolicyEngine::pe_sink_wait_cap() {
|
|||||||
&& PD_NUMOBJ_GET(&tempMessage) > 0) {
|
&& PD_NUMOBJ_GET(&tempMessage) > 0) {
|
||||||
/* First, determine what PD revision we're using */
|
/* First, determine what PD revision we're using */
|
||||||
if ((hdr_template & PD_HDR_SPECREV) == PD_SPECREV_1_0) {
|
if ((hdr_template & PD_HDR_SPECREV) == PD_SPECREV_1_0) {
|
||||||
// /* If the other end is using at least version 3.0, we'll
|
/* If the other end is using at least version 3.0, we'll
|
||||||
// * use version 3.0. */
|
* use version 3.0. */
|
||||||
// if ((tempMessage.hdr & PD_HDR_SPECREV) >= PD_SPECREV_3_0) {
|
if ((tempMessage.hdr & PD_HDR_SPECREV) >= PD_SPECREV_3_0) {
|
||||||
// hdr_template |= PD_SPECREV_3_0;
|
hdr_template |= PD_SPECREV_3_0;
|
||||||
// /* Otherwise, use 2.0. Don't worry about the 1.0 case
|
/* Otherwise, use 2.0. Don't worry about the 1.0 case
|
||||||
// * because we don't have hardware for PD 1.0 signaling. */
|
* because we don't have hardware for PD 1.0 signaling. */
|
||||||
// } else {
|
} else {
|
||||||
hdr_template |= PD_SPECREV_2_0;
|
hdr_template |= PD_SPECREV_2_0;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
return PESinkEvalCap;
|
return PESinkEvalCap;
|
||||||
/* If the message was a Soft_Reset, do the soft reset procedure */
|
/* If the message was a Soft_Reset, do the soft reset procedure */
|
||||||
|
|||||||
Reference in New Issue
Block a user