/* On laptops (and "green" PCs), an unexpected interrupt occurs whenever the drive enters "idle", "standby", or "sleep" mode, so if the status looks "good", we just ignore the interrupt completely.  */
static void unexpected_hd_interrupt(void)
/* On laptops (and "green" PCs), an unexpected interrupt occurs whenever the drive enters "idle", "standby", or "sleep" mode, so if the status looks "good", we just ignore the interrupt completely.  */
static void unexpected_hd_interrupt(void)
{
	unsigned int stat = inb_p(HD_STATUS);
	if (stat & (BUSY_STAT|DRQ_STAT|ECC_STAT|ERR_STAT)) {
		dump_status("unexpected interrupt", stat);
		SET_TIMER;
	}
}