/* Move 'size' bytes from PC to card. (Shouldn't be interrupted)  */
static void wl3501_set_to_wla(struct wl3501_card *this, u16 dest, void *src, int size)
/* Move 'size' bytes from PC to card. (Shouldn't be interrupted)  */
static void wl3501_set_to_wla(struct wl3501_card *this, u16 dest, void *src, int size)
{
	wl3501_switch_page(this, (dest & 0x8000) ? WL3501_BSS_SPAGE1 :
						   WL3501_BSS_SPAGE0);
	wl3501_outb(dest & 0xff, this->base_addr + WL3501_NIC_LMAL);
	wl3501_outb(((dest >> 8) & 0x7f), this->base_addr + WL3501_NIC_LMAH);
	wl3501_outsb(this->base_addr + WL3501_NIC_IODPA, src, size);
}