public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] bluetooth hidp is broken on s390
@ 2005-10-29 11:02 Al Viro
  2005-10-29 11:05 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Al Viro @ 2005-10-29 11:02 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, Dmitry Torokhov, Martin Schwidefsky

	Bluetooth HIDP selects INPUT and it really needs it to be
there - module depends on input core.  And input core is never
built on s390...  Marked as broken on s390, for now; if somebody
has better ideas, feel free to fix it and remove dependency...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
----
diff -urN RC14-base/net/bluetooth/hidp/Kconfig current/net/bluetooth/hidp/Kconfig
--- RC14-base/net/bluetooth/hidp/Kconfig	2005-06-17 15:48:29.000000000 -0400
+++ current/net/bluetooth/hidp/Kconfig	2005-10-29 06:14:28.000000000 -0400
@@ -1,6 +1,6 @@
 config BT_HIDP
 	tristate "HIDP protocol support"
-	depends on BT && BT_L2CAP
+	depends on BT && BT_L2CAP && (BROKEN || !S390)
 	select INPUT
 	help
 	  HIDP (Human Interface Device Protocol) is a transport layer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] bluetooth hidp is broken on s390
  2005-10-29 11:02 [PATCH] bluetooth hidp is broken on s390 Al Viro
@ 2005-10-29 11:05 ` Marcel Holtmann
  2005-10-29 18:47   ` Al Viro
  0 siblings, 1 reply; 4+ messages in thread
From: Marcel Holtmann @ 2005-10-29 11:05 UTC (permalink / raw)
  To: Al Viro; +Cc: Linus Torvalds, linux-kernel, Dmitry Torokhov, Martin Schwidefsky

Hi Al,

> 	Bluetooth HIDP selects INPUT and it really needs it to be
> there - module depends on input core.  And input core is never
> built on s390...  Marked as broken on s390, for now; if somebody
> has better ideas, feel free to fix it and remove dependency...
> 
> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

basically I think someone should fix the input layer on S390, but I am
fine with your fix.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>

Regards

Marcel



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] bluetooth hidp is broken on s390
  2005-10-29 11:05 ` Marcel Holtmann
@ 2005-10-29 18:47   ` Al Viro
  2005-10-31  9:01     ` Martin Schwidefsky
  0 siblings, 1 reply; 4+ messages in thread
From: Al Viro @ 2005-10-29 18:47 UTC (permalink / raw)
  To: Marcel Holtmann
  Cc: Linus Torvalds, linux-kernel, Dmitry Torokhov, Martin Schwidefsky

On Sat, Oct 29, 2005 at 01:05:49PM +0200, Marcel Holtmann wrote:
> Hi Al,
> 
> > 	Bluetooth HIDP selects INPUT and it really needs it to be
> > there - module depends on input core.  And input core is never
> > built on s390...  Marked as broken on s390, for now; if somebody
> > has better ideas, feel free to fix it and remove dependency...
> > 
> > Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> 
> basically I think someone should fix the input layer on S390, but I am
> fine with your fix.

There's a problem with that patch, though ;-/  S390 is never defined by
arch/s390/Kconfig; ARCH_S390 is.  From the fast grep it looks like there
is one more place with the same problem: drivers/char/Kconfig has
config HW_CONSOLE
        bool
        depends on VT && !S390 && !UML
        default y
and the second term is always true here.  Why do we have that dependency,
anyway, when s390 doesn't include drivers/char/Kconfig at all?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] bluetooth hidp is broken on s390
  2005-10-29 18:47   ` Al Viro
@ 2005-10-31  9:01     ` Martin Schwidefsky
  0 siblings, 0 replies; 4+ messages in thread
From: Martin Schwidefsky @ 2005-10-31  9:01 UTC (permalink / raw)
  To: Al Viro; +Cc: Marcel Holtmann, Linus Torvalds, linux-kernel, Dmitry Torokhov

On Sat, 2005-10-29 at 19:47 +0100, Al Viro wrote:
> On Sat, Oct 29, 2005 at 01:05:49PM +0200, Marcel Holtmann wrote:
> > Hi Al,
> > 
> > > 	Bluetooth HIDP selects INPUT and it really needs it to be
> > > there - module depends on input core.  And input core is never
> > > built on s390...  Marked as broken on s390, for now; if somebody
> > > has better ideas, feel free to fix it and remove dependency...
> > > 
> > > Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
> > 
> > basically I think someone should fix the input layer on S390, but I am
> > fine with your fix.

And since there isn't a Bluetooth device on s390 (yet), we can live with
the broken input core for now. Would be nicer if the input layer would
work but there are more important things..

> There's a problem with that patch, though ;-/  S390 is never defined by
> arch/s390/Kconfig; ARCH_S390 is.  From the fast grep it looks like there
> is one more place with the same problem: drivers/char/Kconfig has
> config HW_CONSOLE
>         bool
>         depends on VT && !S390 && !UML
>         default y
> and the second term is always true here.  Why do we have that dependency,
> anyway, when s390 doesn't include drivers/char/Kconfig at all?

.. e.g. this one. I tried to cleanup the Kconfig for s390 once. After
the patch has grown over 2000 lines of code I gave up. If you have the
feeling that this should be fixed I'll give it another try. At least the
issue with ARCH_S390/ARCH_S390X vs. S390/S390_64 should be fixed.

-- 
blue skies,
   Martin

Martin Schwidefsky
Linux for zSeries Development & Services
IBM Deutschland Entwicklung GmbH



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-31  9:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-29 11:02 [PATCH] bluetooth hidp is broken on s390 Al Viro
2005-10-29 11:05 ` Marcel Holtmann
2005-10-29 18:47   ` Al Viro
2005-10-31  9:01     ` Martin Schwidefsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox