[PATCH, BUG] Linux 2.1.128 configuration issues

Matthias Andree (mandree@sx1.HRZ.Uni-Dortmund.DE)
Fri, 13 Nov 1998 19:33:34 +0100


--W/nzBZO5zC0uMSeA
Content-Type: text/plain; charset=us-ascii

Hi,

this is a patch which fixes two configuration issues and a bug report
about make xconfig.

Patches

a) Parallel printer support configuration is somewhat confusing since
config/menuconfig don't show parallel printer support if somebody
forgets to enable Parallel port support in the first place. This change
to drivers/char/Config.in shows a note of how to enable parallel
printer support.

b) NCR53C7,8XX and NCR53C8XX bite each other. This patch adds an
explicit note that NCR53C7,8XX disables NCR53C8XX-only support

Furthermore, it contains two amendments to Configure.help (Maintainer
is Cc:'d) which explicitly state that NCR53C7,8XX and NCR53C8XX can
only coexist if both built as modules and only one active at a time.

Patches are attached below. Files affected:

+++ linux-2.1.128-ma/Documentation/Configure.help Fri Nov 13 18:48:47 1998
+++ linux-2.1.128-ma/drivers/char/Config.in Fri Nov 13 19:08:30 1998
+++ linux-2.1.128-ma/drivers/scsi/Config.in Fri Nov 13 19:21:57 1998

Bug report

c) xconfig (does not apply to config and menuconfig) shows the
NCR5380/53c400 port mapping method choice list despite "Generic
NCR5380/53c400 SCSI support" is disabled. Seems to be a "choice"
related problem in scripts/tk*.c, but I'm not going to mess with that
stuff.

-- 
Matthias Andree

--W/nzBZO5zC0uMSeA Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="2.1.128-to-2.1.128-ma"

diff -u -r linux-2.1.128/Documentation/Configure.help linux-2.1.128-ma/Documentation/Configure.help --- linux-2.1.128/Documentation/Configure.help Fri Nov 13 19:18:49 1998 +++ linux-2.1.128-ma/Documentation/Configure.help Fri Nov 13 18:48:47 1998 @@ -3778,6 +3778,10 @@ of the box, you may have to change some settings in drivers/scsi/53c7,8xx.h. + Note: if you enable this driver, you cannot build the 53C8XX-only + driver (CONFIG_SCSI_NCR53C8XX). You can have both of them if you + build them as modules, but only one may be active at a time. + This driver is also available as a module ( = code which can be inserted in and removed from the running kernel whenever you want). The module will be called 53c7,8xx.o. If you want to compile it as a @@ -3816,6 +3820,10 @@ The NCR53C860 and NCR53C875 support FAST-20 transfers. The NCR53C895 supports FAST-40 transfers with Ultra2 LVD devices. + + Note: if you enable this driver, you cannot build the 53c7,8xx + driver (CONFIG_SCSI_NCR53C7xx). You can have both of them if you + build them as modules, but only one may be active at a time. Please read drivers/scsi/README.ncr53c8xx for more information. diff -u -r linux-2.1.128/drivers/char/Config.in linux-2.1.128-ma/drivers/char/Config.in --- linux-2.1.128/drivers/char/Config.in Mon Nov 9 01:27:30 1998 +++ linux-2.1.128-ma/drivers/char/Config.in Fri Nov 13 19:08:30 1998 @@ -49,6 +49,9 @@ if [ "$CONFIG_PRINTER" != "n" ]; then bool ' Support IEEE1284 status readback' CONFIG_PRINTER_READBACK fi +else + comment 'Note: Parallel printer support is only available if "Parallel' + comment ' port support" from the "General setup" menu is enabled.' fi bool 'Mouse Support (not serial mice)' CONFIG_MOUSE diff -u -r linux-2.1.128/drivers/scsi/Config.in linux-2.1.128-ma/drivers/scsi/Config.in --- linux-2.1.128/drivers/scsi/Config.in Fri Nov 13 18:32:56 1998 +++ linux-2.1.128-ma/drivers/scsi/Config.in Fri Nov 13 19:21:57 1998 @@ -71,6 +71,9 @@ dep_tristate 'NCR53c406a SCSI support' CONFIG_SCSI_NCR53C406A $CONFIG_SCSI if [ "$CONFIG_PCI" = "y" ]; then dep_tristate 'NCR53c7,8xx SCSI support' CONFIG_SCSI_NCR53C7xx $CONFIG_SCSI + if [ "$CONFIG_SCSI_NCR53C7xx" = "y" ] ; then + comment 'Note: enabling NCR53c7,8xx disables NCR53C8XX-only SCSI support!' + fi if [ "$CONFIG_SCSI_NCR53C7xx" != "n" ]; then bool ' always negotiate synchronous transfers' CONFIG_SCSI_NCR53C7xx_sync bool ' allow FAST-SCSI [10MHz]' CONFIG_SCSI_NCR53C7xx_FAST

--W/nzBZO5zC0uMSeA--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/