lkml.org 
[lkml]   [2003]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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/

    \
     
     \ /
      Last update: 2005-03-22 13:33    [W:2.568 / U:0.192 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site