public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ISDN: mark as 32-bit only
@ 2006-10-01 15:21 Jeff Garzik
  2006-10-01 18:08 ` Jan Engelhardt
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Jeff Garzik @ 2006-10-01 15:21 UTC (permalink / raw)
  To: kkeil, kai.germaschewski, Andrew Morton, LKML


Tons of ISDN drivers cast pointers to/from 32-bit values, which just
won't work on 64-bit.

Signed-off-by: Jeff Garzik <jeff@garzik.org>

diff --git a/drivers/isdn/Kconfig b/drivers/isdn/Kconfig
index c90afee..608588f 100644
--- a/drivers/isdn/Kconfig
+++ b/drivers/isdn/Kconfig
@@ -6,7 +6,7 @@ menu "ISDN subsystem"
 
 config ISDN
 	tristate "ISDN support"
-	depends on NET
+	depends on NET && 32BIT
 	---help---
 	  ISDN ("Integrated Services Digital Networks", called RNIS in France)
 	  is a special type of fully digital telephone service; it's mostly

^ permalink raw reply related	[flat|nested] 12+ messages in thread
* Re: [PATCH] ISDN: mark as 32-bit only
@ 2006-10-01 23:24 Tilman Schmidt
  0 siblings, 0 replies; 12+ messages in thread
From: Tilman Schmidt @ 2006-10-01 23:24 UTC (permalink / raw)
  To: Jeff Garzik; +Cc: kkeil, kai.germaschewski, Andrew Morton, LKML

[-- Attachment #1: Type: text/plain, Size: 1009 bytes --]

On Sun, 1 Oct 2006 11:21:16 -0400, Jeff Garzik wrote:
> Tons of ISDN drivers cast pointers to/from 32-bit values, which just
> won't work on 64-bit.
> 
> Signed-off-by: Jeff Garzik <jeff@garzik.org>
> 
> diff --git a/drivers/isdn/Kconfig b/drivers/isdn/Kconfig
> index c90afee..608588f 100644
> --- a/drivers/isdn/Kconfig
> +++ b/drivers/isdn/Kconfig
> @@ -6,7 +6,7 @@ menu "ISDN subsystem"
>  
>  config ISDN
>  	tristate "ISDN support"
> -	depends on NET
> +	depends on NET && 32BIT
>  	---help---
>  	  ISDN ("Integrated Services Digital Networks", called RNIS in France)
>  	  is a special type of fully digital telephone service; it's mostly

NAK. Just because many or even most of the ISDN drivers don't work
on 64 bit systems that's no reason to prevent using those that do.

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeoeffnet mindestens haltbar bis: (siehe Rueckseite)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH] ISDN: mark as 32-bit only
@ 2006-10-02  0:10 Tilman Schmidt
  0 siblings, 0 replies; 12+ messages in thread
From: Tilman Schmidt @ 2006-10-02  0:10 UTC (permalink / raw)
  To: Alan Cox; +Cc: Jeff Garzik, kkeil, kai.germaschewski, Andrew Morton, LKML

[-- Attachment #1: Type: text/plain, Size: 1141 bytes --]

On Sun, 01 Oct 2006 22:30:17 +0200, Alan Cox wrote:
> I've actually been spending some time reviewing these and the warnings
> are for stupid things but not real 64/32 problems. I've got some diffs
> that clean it up just by tidying up casts etc if anyone actually still
> cares about the old ISDN code.

Yes, the old ISDN code still has a considerable user base at least
here in Germany. There are many ISDN devices which are supported by
the old ISDN subsystem (ISDN4Linux) but not the new one (CAPI2.0).
(Some of them are supported by out-of-tree CAPI2.0 drivers like mISDN,
but still.) Also, CAPI2.0 so far doesn't have a driver interface
document (like Documentation/isdn/INTERFACE for ISDN4Linux), so the
old drivers may still be with us for some time to come.

Besides, Jeff's proposed patch would disable the new ISDN subsystem
along with the old one, so I suppose his criticism applies to the
new one too.

-- 
Tilman Schmidt                          E-Mail: tilman@imap.cc
Bonn, Germany
Diese Nachricht besteht zu 100% aus wiederverwerteten Bits.
Ungeoeffnet mindestens haltbar bis: (siehe Rueckseite)




[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 253 bytes --]

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

end of thread, other threads:[~2006-10-02 21:39 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-01 15:21 [PATCH] ISDN: mark as 32-bit only Jeff Garzik
2006-10-01 18:08 ` Jan Engelhardt
2006-10-02  3:54   ` Jeff Garzik
2006-10-02 20:37     ` David Miller
2006-10-02 22:04       ` Alan Cox
2006-10-01 20:53 ` Alan Cox
2006-10-01 23:47 ` Alan Cox
2006-10-02  9:31   ` Karsten Keil
2006-10-02  9:26 ` Karsten Keil
2006-10-02  9:46 ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2006-10-01 23:24 Tilman Schmidt
2006-10-02  0:10 Tilman Schmidt

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