/* Mask interrupt from SUTRO. (i.e. SUTRO cannot interrupt the HOST) Return: 1 if interrupt is originally enabled  */
static int wl3501_block_interrupt(struct wl3501_card *this)
/* Mask interrupt from SUTRO. (i.e. SUTRO cannot interrupt the HOST) Return: 1 if interrupt is originally enabled  */
static int wl3501_block_interrupt(struct wl3501_card *this)
{
	u8 old = inb(this->base_addr + WL3501_NIC_GCR);
	u8 new = old & (~(WL3501_GCR_ECINT | WL3501_GCR_INT2EC |
			WL3501_GCR_ENECINT));
	wl3501_outb(new, this->base_addr + WL3501_NIC_GCR);
	return old & WL3501_GCR_ENECINT;
}