[PATCH] Make VLSI FIR depend on X86

From: Noah J. Misch
Date: Mon Oct 20 2003 - 01:44:54 EST


Greetings,

This is a trivial patch against the Kconfig entry for the VLSI FIR driver to
make it depend on X86. The in-tree code guarantees that the driver will only
build on X86, and according to the comments therein no machine of another
architecture has this hardware anyway.

Granted, no human intelligently configuring a kernel for his or her particular
system would make this mistake, but perhaps someone building a distribution
kernel would. I suggest this patch because it keeps the signal to noise ratio
for those testing allyesconfig builds low.

This patch applies to the linux-2.5 BK tree as of 0400 UTC 10/20/2003, and for
some time before that as well. Please consider for eventual inclusion. It may
be too much of a fringe case until 2.6.0 begins its stable series.

Thanks,
Noah

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
# ChangeSet 1.1373 -> 1.1374
# drivers/net/irda/Kconfig 1.12 -> 1.13
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/10/16 noah@xxxxxxxxxxx 1.1374
# Make VLSI_FIR depend on X86. Read the comment just above the #error in
# include/net/irda/vlsi_ir.h for the reason; for now, this driver can never
# compile elsewhere.
# --------------------------------------------
#
diff -Nru a/drivers/net/irda/Kconfig b/drivers/net/irda/Kconfig
--- a/drivers/net/irda/Kconfig Fri Oct 17 13:42:39 2003
+++ b/drivers/net/irda/Kconfig Fri Oct 17 13:42:39 2003
@@ -284,7 +284,7 @@

config VLSI_FIR
tristate "VLSI 82C147 SIR/MIR/FIR (EXPERIMENTAL)"
- depends on EXPERIMENTAL && IRDA && PCI
+ depends on EXPERIMENTAL && IRDA && PCI && X86
help
Say Y here if you want to build support for the VLSI 82C147
PCI-IrDA Controller. This controller is used by the HP OmniBook 800

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