public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Baron <almostivan@yahoo.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] make xconfig
Date: Wed, 28 Aug 2002 16:02:16 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701905993@msgid-missing> (raw)

[-- Attachment #1: Type: text/plain, Size: 998 bytes --]

If I enable xconfig, I get these errors from the 
linux-2.4.19-ia64-020821.diff:

ERROR - Attempting to write value for unconfigured
variable (CONFIG_BLK_DEV_LOOP).
ERROR - Attempting to write value for unconfigured
variable (CONFIG_BLK_DEV_NBD).
ERROR - Attempting to write value for unconfigured
variable (CONFIG_BLK_DEV_RAM).

The consequence is that these parameters do not get
written to the appropriate files.  Also, there are two
top level "Block devices" menues.

This issue has been discussed a bit and I agree that
the right solution is probably to fix the way that
xconfig works.  Short of this, we could choose not to
source drivers/block/Config.in, and instead include
the drivers/block/Config.in parameters in
arch/ia64/config.in, as in the attached patch.  This
bloats the file a bit, but solves the issue in an arch
independent way.

-Jason Baron

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com

[-- Attachment #2: config.in.patch --]
[-- Type: application/octet-stream, Size: 3385 bytes --]

--- arch/ia64/config.in.bak	Wed Aug 28 10:25:07 2002
+++ arch/ia64/config.in	Wed Aug 28 10:20:29 2002
@@ -136,7 +136,64 @@
 if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
   source drivers/mtd/Config.in
   source drivers/pnp/Config.in
-  source drivers/block/Config.in
+fi
+
+#
+# Block device driver configuration
+#
+mainmenu_option next_comment
+comment 'Block devices'
+
+if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
+  tristate 'Normal PC floppy disk support' CONFIG_BLK_DEV_FD
+  if [ "$CONFIG_AMIGA" = "y" ]; then
+    tristate 'Amiga floppy support' CONFIG_AMIGA_FLOPPY
+  fi
+  if [ "$CONFIG_ATARI" = "y" ]; then
+     tristate 'Atari floppy support' CONFIG_ATARI_FLOPPY
+  fi
+  if [ "$CONFIG_MAC" = "y" ]; then
+     dep_bool 'Macintosh IIfx/Quadra 900/Quadra 950 floppy support (EXPERIMENTAL)' CONFIG_BLK_DEV_SWIM_IOP $CONFIG_EXPERIMENTAL
+  fi
+  if [ "$CONFIG_MCA" = "y" ]; then
+     tristate 'PS/2 ESDI hard disk support' CONFIG_BLK_DEV_PS2
+  fi
+  if [ "$CONFIG_ZORRO" = "y" ]; then
+     tristate 'Amiga Zorro II ramdisk support' CONFIG_AMIGA_Z2RAM
+  fi
+  if [ "$CONFIG_ATARI" = "y" ]; then
+     tristate 'Atari ACSI support' CONFIG_ATARI_ACSI
+     if [ "$CONFIG_ATARI_ACSI" != "n" ]; then
+        comment 'Some devices (e.g. CD jukebox) support multiple LUNs'
+        bool '  Probe all LUNs on each ACSI device' CONFIG_ACSI_MULTI_LUN
+        tristate '  Atari SLM laser printer support' CONFIG_ATARI_SLM
+     fi
+  fi
+  dep_tristate 'XT hard disk support' CONFIG_BLK_DEV_XD $CONFIG_ISA
+  dep_tristate 'Parallel port IDE device support' CONFIG_PARIDE $CONFIG_PARPORT
+  if [ "$CONFIG_PARIDE" = "y" -o "$CONFIG_PARIDE" = "m" ]; then
+     source drivers/block/paride/Config.in
+  fi
+  dep_tristate 'Compaq SMART2 support' CONFIG_BLK_CPQ_DA $CONFIG_PCI
+  dep_tristate 'Compaq Smart Array 5xxx support' CONFIG_BLK_CPQ_CISS_DA $CONFIG_PCI 
+  dep_mbool '       SCSI tape drive support for Smart Array 5xxx' CONFIG_CISS_SCSI_TAPE $CONFIG_BLK_CPQ_CISS_DA $CONFIG_SCSI
+  dep_tristate 'Mylex DAC960/DAC1100 PCI RAID Controller support' CONFIG_BLK_DEV_DAC960 $CONFIG_PCI
+  dep_tristate 'Micro Memory MM5415 Battery Backed RAM support' CONFIG_BLK_DEV_UMEM $CONFIG_PCI $CONFIG_EXPERIMENTAL
+fi # !HP_SIM
+
+  tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
+  dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
+
+  tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
+  if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
+     int '  Default RAM disk size' CONFIG_BLK_DEV_RAM_SIZE 4096
+  fi
+  dep_bool '  Initial RAM disk (initrd) support' CONFIG_BLK_DEV_INITRD $CONFIG_BLK_DEV_RAM
+
+endmenu
+
+
+if [ "$CONFIG_IA64_HP_SIM" = "n" ]; then
   source drivers/ieee1394/Config.in
   source drivers/message/i2o/Config.in
   source drivers/md/Config.in
@@ -154,18 +211,7 @@
     define_bool CONFIG_BLK_DEV_HD n
   fi
   endmenu
-else # HP_SIM
-  mainmenu_option next_comment
-  comment 'Block devices'
-  tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
-  dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
-
-  tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
-  if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
-    int '  Default RAM disk size' CONFIG_BLK_DEV_RAM_SIZE 4096
-  fi
-  endmenu
-fi # HP_SIM
+fi # !HP_SIM
 
 mainmenu_option next_comment
 comment 'SCSI support'

             reply	other threads:[~2002-08-28 16:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-28 16:02 Jason Baron [this message]
2002-08-28 16:16 ` [Linux-ia64] make xconfig Bjorn Helgaas
2002-08-28 16:33 ` Jason Baron
2002-08-28 19:11 ` Keith Owens

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590701905993@msgid-missing \
    --to=almostivan@yahoo.com \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox