DIAG_RESET_ADAPTER
writel((HostDiag | DIAG_RESET_ADAPTER), hostdiag_offset);
while (HostDiag & DIAG_RESET_ADAPTER) {