From: Tom Rini <trini@kernel.crashing.org>
To: Linux/m68k <linux-m68k@lists.linux-m68k.org>,
linuxppc-dev@lists.linuxppc.org
Subject: [PATCH] drivers/macintosh/Config.in
Date: Sat, 6 Jan 2001 17:17:33 -0700 [thread overview]
Message-ID: <20010106171733.M556@opus.bloom.county> (raw)
[-- Attachment #1: Type: text/plain, Size: 453 bytes --]
Hey all. I was wondering what both camps would think of a
drivers/macintosh/Config.in? It would simply a few things and remove some
duplicated bits. I've attached my first attempt at it, and everything should
look the same as before (I did rename some of the ADB driver comments from
the m68k side so they matched the others).
Comments? (We probably wouldn't see this until 2.5 anyways tho..)
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
[-- Attachment #2: macConfig.patch --]
[-- Type: text/plain, Size: 5171 bytes --]
===== arch/ppc/config.in 1.58 vs edited =====
--- 1.58/arch/ppc/config.in Thu Dec 28 09:46:13 2000
+++ edited/arch/ppc/config.in Sat Jan 6 17:12:13 2001
@@ -281,37 +281,7 @@
source drivers/input/Config.in
-mainmenu_option next_comment
-comment 'Macintosh device drivers'
-
-if [ "$CONFIG_WORKSTATION_PPC" = "y" ]; then
- # we want to change this to something like CONFIG_SYSCTRL_CUDA/PMU
- bool 'Support for CUDA based PowerMacs' CONFIG_ADB_CUDA
- bool 'Support for PMU based PowerMacs' CONFIG_ADB_PMU
- if [ "$CONFIG_ADB_PMU" = "y" ]; then
- bool ' Power management support for PowerBooks' CONFIG_PMAC_PBOOK
- # made a separate option since backlight may end up beeing used
- # on non-powerbook machines (but only on PMU based ones AFAIK)
- bool ' Backlight control for LCD screens' CONFIG_PMAC_BACKLIGHT
- fi
- bool 'Support for PowerMac floppy' CONFIG_MAC_FLOPPY
- tristate 'Support for PowerMac serial ports' CONFIG_MAC_SERIAL
- if [ "$CONFIG_MAC_SERIAL" = "y" ]; then
- bool ' Support for console on serial port' CONFIG_SERIAL_CONSOLE
- fi
- bool 'Apple Desktop Bus (ADB) support' CONFIG_ADB
- if [ "$CONFIG_ADB" = "y" ]; then
- bool ' Include MacIO (CHRP) ADB driver' CONFIG_ADB_MACIO
- dep_bool ' Use input layer for ADB devices' CONFIG_INPUT_ADBHID $CONFIG_INPUT
- if [ "$CONFIG_INPUT_ADBHID" = "y" ]; then
- bool ' Support for ADB raw keycodes' CONFIG_MAC_ADBKEYCODES
- bool ' Support for mouse button 2+3 emulation' CONFIG_MAC_EMUMOUSEBTN
- else
- bool ' Support for ADB keyboard (old driver)' CONFIG_ADB_KEYBOARD
- fi
- fi
-fi
-endmenu
+source drivers/macintosh/Config.in
source drivers/char/Config.in
===== arch/m68k/config.in 1.17 vs edited =====
--- 1.17/arch/m68k/config.in Sat Nov 18 04:02:44 2000
+++ edited/arch/m68k/config.in Sat Jan 6 16:58:19 2001
@@ -407,20 +407,7 @@
fi
fi
if [ "$CONFIG_MAC" = "y" ]; then
- tristate 'Macintosh serial support' CONFIG_MAC_SCC
- bool 'Apple Desktop Bus (ADB) support' CONFIG_ADB
- if [ "$CONFIG_ADB" = "y" ]; then
- bool ' Support for ADB keyboard' CONFIG_ADB_KEYBOARD
- bool ' Support for ADB mouse' CONFIG_ADBMOUSE
- bool ' Include Mac II ADB driver' CONFIG_ADB_MACII
- bool ' Include Mac IIsi ADB driver' CONFIG_ADB_MACIISI
- bool ' Include CUDA ADB driver' CONFIG_ADB_CUDA
- bool ' Include IOP (IIfx/Quadra 9x0) ADB driver' CONFIG_ADB_IOP
- bool ' Include PMU (Powerbook) ADB driver' CONFIG_ADB_PMU68K
- fi
- if [ "$CONFIG_ADBMOUSE" = "y" ]; then
- define_bool CONFIG_BUSMOUSE y
- fi
+ source drivers/macintosh/Config.in
fi
if [ "$CONFIG_HP300" = "y" -a "$CONFIG_DIO" = "y" ]; then
tristate 'HP DCA serial support' CONFIG_HPDCA
--- /dev/null Tue May 5 13:32:27 1998
+++ drivers/macintosh/Config.in Sat Jan 6 17:08:30 2001
@@ -0,0 +1,56 @@
+#
+# Macintosh driver configuration
+#
+
+mainmenu_option next_comment
+comment 'Macintosh device drivers'
+
+bool 'Macintosh driver support' CONFIG_MACINTOSH_DRIVERS
+if [ "$CONFIG_MACINTOSH_DRIVERS" = "y" ]; then
+ bool 'Apple Desktop Bus (ADB) support' CONFIG_ADB
+ if [ "$CONFIG_ADB" = "y" ]; then
+ # We want to change these to something like CONFIG_SYSCTRL_xxx
+ # PowerPC macintoshes
+ if [ "$CONFIG_WORKSTATION_PPC" = "y" ]; then
+ bool ' Support for MacIO (CHRP) based machines' CONFIG_ADB_MACIO
+ bool ' Support for PMU based machines' CONFIG_ADB_PMU
+ fi
+ # 68k macintoshes
+ if [ "$CONFIG_MAC" = "y" ]; then
+ bool ' Support for Mac II machines' CONFIG_ADB_MACII
+ bool ' Support for Mac IIsi machines' CONFIG_ADB_MACIISI
+ bool ' Support for IOP (IIfx/Quadra 9x0) based machines' CONFIG_ADB_IOP
+ bool ' Support for PMU (Powerbook) based machines' CONFIG_ADB_PMU68K
+ fi
+ # Common
+ bool ' Support for CUDA based machines' CONFIG_ADB_CUDA
+ dep_bool ' Use input layer for ADB devices' CONFIG_INPUT_ADBHID $CONFIG_INPUT
+ if [ "$CONFIG_INPUT_ADBHID" = "y" ]; then
+ bool ' Support for ADB raw keycodes' CONFIG_MAC_ADBKEYCODES
+ bool ' Support for mouse button 2+3 emulation' CONFIG_MAC_EMUMOUSEBTN
+ else
+ bool ' Support for ADB keyboard (old driver)' CONFIG_ADB_KEYBOARD
+ bool ' Support for ADB mouse (old driver)' CONFIG_ADBMOUSE
+ fi
+ fi
+ if [ "$CONFIG_ADB_PMU" = "y" ]; then
+ bool ' Power management support for PowerBooks' CONFIG_PMAC_PBOOK
+ # made a separate option since backlight may end up beeing used
+ # on non-powerbook machines (but only on PMU based ones AFAIK)
+ bool ' Backlight control for LCD screens' CONFIG_PMAC_BACKLIGHT
+ fi
+ if [ "$CONFIG_WORKSTATION_PPC" = "y" ]; then
+ bool 'Support for PowerMac floppy' CONFIG_MAC_FLOPPY
+ tristate 'Support for PowerMac serial ports' CONFIG_MAC_SERIAL
+ if [ "$CONFIG_MAC_SERIAL" = "y" ]; then
+ bool ' Support for console on serial port' CONFIG_SERIAL_CONSOLE
+ fi
+ fi
+ if [ "$CONFIG_MAC" = "y" ]; then
+ tristate 'Macintosh serial support' CONFIG_MAC_SCC
+ fi
+ if [ "$CONFIG_ADBMOUSE" = "y" ]; then
+ define_bool CONFIG_BUSMOUSE y
+ fi
+fi
+endmenu
next reply other threads:[~2001-01-07 0:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-07 0:17 Tom Rini [this message]
2001-01-07 8:57 ` [PATCH] drivers/macintosh/Config.in Tony Mantler
2001-01-08 0:38 ` Tom Rini
2001-01-08 1:35 ` Tony Mantler
2001-01-08 9:56 ` Michel Dänzer
2001-01-08 14:55 ` Tom Rini
2001-01-08 2:40 ` Ray Knight
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=20010106171733.M556@opus.bloom.county \
--to=trini@kernel.crashing.org \
--cc=linux-m68k@lists.linux-m68k.org \
--cc=linuxppc-dev@lists.linuxppc.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;
as well as URLs for NNTP newsgroup(s).