[PATCH] ide: fix the HPT366 driver layer