Re: [PATCH] PnP Changes for 2.5.64

From: Adam Belay (ambx1@neo.rr.com)
Date: Mon Mar 10 2003 - 15:17:19 EST


On Tue, Mar 11, 2003 at 02:15:11AM +0300, Ruslan U. Zakirov wrote:
> Hello, Adam and other.
> Now with this changes, driver depend on CONFIG_PNP.
> What to do if I want compile kernel without PnP layer and I want use my
> soundcard?
> Best regards, Ruslan.

Hi Ruslan,

I understand your concern, actually the code that prevents users from using
als100 without CONFIG_PNP is hidden in kconfig.

config SND_ALS100
        tristate "Avance Logic ALS100/ALS120"
        depends on SND && ISAPNP
        help
          Say 'Y' or 'M' to include support for Avance Logic ALS100, ALS110,
          ALS120 and ALS200 soundcards.

--->Notice ISAPNP

Also the pnp functions are declared as blank inline functions if CONFIG_PNP
isn't set (see pnp.h). This will prevent compile errors. When ALSA drivers
contain support for both pnp and nonpnp devices (such as sb16), CONFIG_PNP
will be used directly in the code.

Best regards to you as well.

Thanks,
Adam
-
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/



This archive was generated by hypermail 2b29 : Sat Mar 15 2003 - 22:00:24 EST