Messages in this thread | | | Date | Wed, 12 Feb 2003 15:38:18 +0000 | From | Christoph Hellwig <> | Subject | Re: [PATCHSET] PC-9800 subarch. support for 2.5.60 (13/34) NIC |
| |
> +#ifdef CONFIG_X86_PC9800 > +#undef __ISAPNP__ > +#endif
Don't do s.th. like that!
> +#ifndef CONFIG_X86_PC9800 > /* Select an open I/O location at 0x1*0 to do contention select. */ > for ( ; id_port < 0x200; id_port += 0x10) { > if (check_region(id_port, 1)) > @@ -438,6 +447,9 @@ > printk(" WARNING: No I/O port available for 3c509 activation.\n"); > return -ENODEV; > } > +#else > + id_port = 0x71d0; > +#endif
use ifdef, not ifndef here
> /* Next check for all ISA bus boards by sending the ID sequence to the - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |