csmacd fixed

Signed-off-by: Yury Kaliada <fut.wrk@gmail.com>
Debug info was added

Signed-off-by: Yury Kaliada <fut.wrk@gmail.com>