Re: [PATCH][OBVIOUS] 3c515.c: Enable ISAPNP when built as a module.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2 Dec 2003 02:40:28 +0000, 
Matthew Bell <m.bell@bvrh.co.uk> wrote:
>--- linux-2.4.19.orig/drivers/net/3c515.c       2002-02-25 19:37:59.000000000
>+0000
>+++ linux-2.4.19/drivers/net/3c515.c    2002-08-03 18:24:05.000000000 +0100
>@@ -370,7 +370,7 @@
>        { "Default", 0, 0xFF, XCVR_10baseT, 10000},
> };
>                                                                                
>                                                             
>-#ifdef CONFIG_ISAPNP
>+#if defined(CONFIG_ISAPNP) || (defined (MODULE) && defined
>(CONFIG_ISAPNP_MODULE))

Your mailer wrapped the lines.

Only test CONFIG_ISAPNP || CONFIG_ISAPNP_MODULE, not MODULE.
CONFIG_foo_MODULE can only be defined when MODULE is defined.

#if defined(CONFIG_ISAPNP) || defined(CONFIG_ISAPNP_MODULE)

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux