Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1611957 > unrolled thread

[PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.

Started byMichal Suchanek <msuchanek@suse.de>
First post2017-03-29 15:40 +0200
Last post2017-03-30 01:00 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers. Michal Suchanek <msuchanek@suse.de> - 2017-03-29 15:40 +0200
    Re: [PATCH] macintosh: Do not arbitrarily limit architecture for  macintosh drivers. Arnd Bergmann <arnd@arndb.de> - 2017-03-29 23:40 +0200
      Re: [PATCH] macintosh: Do not arbitrarily limit architecture for  macintosh drivers. Benjamin Herrenschmidt <benh@kernel.crashing.org> - 2017-03-30 01:00 +0200

#1611957 — [PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.

FromMichal Suchanek <msuchanek@suse.de>
Date2017-03-29 15:40 +0200
Subject[PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.
Message-ID<tqlZo-7yI-17@gated-at.bofh.it>
The mac mouse emulation is neat solution for notebooks with suboptimal
touchpads. For historical reason this is available on x86 but not arm or
mips so remove the limitation.

The other more specific drivers depend on various platform drivers
anyway so users will not select those by accident.

Signed-off-by: Michal Suchanek <msuchanek@suse.de>
---
 drivers/macintosh/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
index 97a420c11eed..c23c040bc668 100644
--- a/drivers/macintosh/Kconfig
+++ b/drivers/macintosh/Kconfig
@@ -1,7 +1,6 @@
 
 menuconfig MACINTOSH_DRIVERS
 	bool "Macintosh device drivers"
-	depends on PPC || MAC || X86
 	default y if (PPC_PMAC || MAC)
 	---help---
 	  Say Y here to get to see options for devices used with Macintosh
-- 
2.10.2

[toc] | [next] | [standalone]


#1612383 — Re: [PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.

FromArnd Bergmann <arnd@arndb.de>
Date2017-03-29 23:40 +0200
SubjectRe: [PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.
Message-ID<tqttU-4o9-25@gated-at.bofh.it>
In reply to#1611957
On Wed, Mar 29, 2017 at 3:33 PM, Michal Suchanek <msuchanek@suse.de> wrote:
> The mac mouse emulation is neat solution for notebooks with suboptimal
> touchpads. For historical reason this is available on x86 but not arm or
> mips so remove the limitation.
>
> The other more specific drivers depend on various platform drivers
> anyway so users will not select those by accident.
>
> Signed-off-by: Michal Suchanek <msuchanek@suse.de>
> ---
>  drivers/macintosh/Kconfig | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/macintosh/Kconfig b/drivers/macintosh/Kconfig
> index 97a420c11eed..c23c040bc668 100644
> --- a/drivers/macintosh/Kconfig
> +++ b/drivers/macintosh/Kconfig
> @@ -1,7 +1,6 @@
>
>  menuconfig MACINTOSH_DRIVERS
>         bool "Macintosh device drivers"
> -       depends on PPC || MAC || X86
>         default y if (PPC_PMAC || MAC)
>         ---help---
>           Say Y here to get to see options for devices used with Macintosh
> --

Why not move the mac_hid module to drivers/input instead so
it no longer depends on MACINTOSH_DRIVERS?

For the other mac drivers, it may be helpful to to add '|| COMPILE_TEST'
to the dependency line here to allow building them on ARM (after
you have verified that we can in fact build them all without warnings),
but that would be unrelated.

         Arnd

[toc] | [prev] | [next] | [standalone]


#1612429 — Re: [PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.

FromBenjamin Herrenschmidt <benh@kernel.crashing.org>
Date2017-03-30 01:00 +0200
SubjectRe: [PATCH] macintosh: Do not arbitrarily limit architecture for macintosh drivers.
Message-ID<tquJj-5gF-3@gated-at.bofh.it>
In reply to#1612383
On Wed, 2017-03-29 at 23:29 +0200, Arnd Bergmann wrote:
> Why not move the mac_hid module to drivers/input instead so
> it no longer depends on MACINTOSH_DRIVERS?
> 
> For the other mac drivers, it may be helpful to to add '||
> COMPILE_TEST'
> to the dependency line here to allow building them on ARM (after
> you have verified that we can in fact build them all without
> warnings),
> but that would be unrelated.

A bunch of them will rely on specific powermac infrastructure from
arch, it's likely they won't build.

Cheers,
Ben.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web