PCI configuration changes

From: Andrzej Krzysztofowicz (ankry@green.mif.pg.gda.pl)
Date: Wed Nov 15 2000 - 05:05:07 EST


Hi,
   Looking at the latest drivers/net/Config.in changes I noticed, that
two (modified earlier) lines are buggy:

      dep_tristate ' 3c523 "EtherLink/MC" support' CONFIG_ELMC $CONFIG_MCA
      dep_tristate ' 3c527 "EtherLink/MC 32" support (EXPERIMENTAL)' CONFIG_ELMC_II $CONFIG_MCA $CONFIG_EXPERIMENTAL

Note, that as CONFIG_MCA is defined only for i386 the dependencies on
$CONFIG_MCA are no-op for other architectures (in Configure/Menuconfig).
Either CONFIG_MCA should be defined for all architectures or there should be
if ... fi around these lines.

BTW, is there any reason for not replacing

   bool ' Other ISA cards' CONFIG_NET_ISA

by

  dep_bool ' Other ISA cards' CONFIG_NET_ISA $CONFIG_ISA

to eliminate more drivers from non-ISA arch configs ?

Andrzej

-- 
=======================================================================
  Andrzej M. Krzysztofowicz               ankry@mif.pg.gda.pl
  phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math.,   Technical University of Gdansk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 21:00:28 EST