Mike,
The first code (D1) indicates this is the first diagnostic code. The Second (P01) is the main code. You should also have two more digits (the sub-code). Without these last two digits you cannot determine the exact problem.
If you can retrieve the full code, Google "Allison transmission codes " and you will be able to determine your problem. The P01 main code indicates a range of problems.
Hope this helps,
Bill