/* Perform an isolation. The port selection code now tries to avoid "dangerous to read" ports.  */
static int __init isapnp_isolate_rdp_select(void)
/* Perform an isolation. The port selection code now tries to avoid "dangerous to read" ports.  */
static int __init isapnp_isolate_rdp_select(void)
{
	isapnp_wait();
	isapnp_key();
	isapnp_write_byte(0x02, isapnp_reset ? 0x05 : 0x04);
	mdelay(2);
	isapnp_wait();
	isapnp_key();
	isapnp_wake(0x00);
	if (isapnp_next_rdp() < 0) {
		isapnp_wait();
		return -1;
	}
	isapnp_set_rdp();
	udelay(1000);
	write_address(0x01);
	udelay(1000);
	return 0;
}