drivers/macintosh/Config.in
PATCH 1/1 drivers/macintosh/Config.in
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/
===== arch/ppc/config.in 1.58 vs edited =====
arch/ppc/config.in +1 -31
@@ -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 =====
arch/m68k/config.in +1 -14
@@ -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
macintosh/Config.in new file +56 -0
56 lines not on this page · raw message
Quoted 7 lines · Tom Rini
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..)
Does the input layer work on the 68k drivers? I don't know that I've ever heard of anyone testing it.
The patch looks fairly sane to me. If it breaks something, it's not very hard to fix a config file.
Cheers - Tony 'Nicoya' Mantler :)
--
Tony "Nicoya" Mantler - Renaissance Nerd Extraordinaire - [email protected]
Winnipeg, Manitoba, Canada -- http://nicoya.feline.pp.se/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 11 lines · Tony Mantler
Quoted 7 lines · Tom Rini
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..)
Does the input layer work on the 68k drivers? I don't know that I've ever heard of anyone testing it.
Well, it should. It was in the menu :)
Quoted 2 lines
The patch looks fairly sane to me. If it breaks something, it's not very hard to fix a config file.
Right. I just wanna make sure everyone like the way it looks. I also (may) move things like MOL into that file.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 1 line · Tom Rini
On Sun, Jan 07, 2001 at 02:57:30AM -0600, Tony Mantler wrote:
[...]
Quoted 4 lines
Quoted 2 lines
Does the input layer work on the 68k drivers? I don't know that I've ever heard of anyone testing it.
Well, it should. It was in the menu :)
Still doesn't mean anyone's tested it. ;)
Quoted 5 lines
Quoted 2 lines
The patch looks fairly sane to me. If it breaks something, it's not very hard to fix a config file.
Right. I just wanna make sure everyone like the way it looks. I also (may) move things like MOL into that file.
68k MOL might be an intersting project to play with sometime... Hmm... :)
Cheers - Tony 'Nicoya' Mantler :)
--
Tony "Nicoya" Mantler - Renaissance Nerd Extraordinaire - [email protected]
Winnipeg, Manitoba, Canada -- http://nicoya.feline.pp.se/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 1 line · Tom Rini
I also (may) move things like MOL into that file.
We're still hoping to get MOL working on APUS anytime soon, and according to the web page it should work on PReP and CHRP boxen.
Michel
--
Earthling Michel Dänzer (MrCooper) \ CS student and free software enthusiast
Debian GNU/Linux (powerpc,i386) user \ member of XFree86 and the DRI project
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 6 lines · Michel D?nzer
Quoted 1 line · Tom Rini
I also (may) move things like MOL into that file.
We're still hoping to get MOL working on APUS anytime soon, and according to the web page it should work on PReP and CHRP boxen.
Well, there's no distinction between PReP, CHRP and Pmac, config wise. It would be in if [ "$CONFIG_6xx" = "y" ]; then ... fi probably (I need to ask one of the IBM folks if it would work on POWER3).
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 10 lines · Tony Mantler
Quoted 7 lines · Tom Rini
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..)
Quoted 8 lines
Does the input layer work on the 68k drivers? I don't know that I've ever heard of anyone testing it.
The patch looks fairly sane to me. If it breaks something, it's not very hard to fix a config file.
Cheers - Tony 'Nicoya' Mantler :)
The input layer doesn't currently compile on the m68k Macs. (undefined variables) I didn't look to closely at it because right now I'm just trying to get a 2.4.0 kernel that will boot. I'll go back and take a better look at that when I reach my goal of getting a bootable kernel on an LC475.
--
Ray Knight
[email protected]
Linux-Mac68k Developer
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/