[patch 1/6] s390: minor claw driver fix

2006-03-22 Thread Frank Pavlic
Hi ,
following 6 patches are for s390 network drivers claw, qeth and ctc.
tty support will be removed from the ctc network device driver , which will
happen with patch 5/6 and 6/6 . The latter one will remove two files , ctctty.c 
and ctctty.h .

Thanks 

Frank 

[patch 1/6] s390: minor claw driver fix

From: Frank Pavlic [EMAIL PROTECTED]

use CONFIG_ARCH_S390X instead of CONFIG_64BIT in function dumpit .

Signed-off-by: Frank Pavlic [EMAIL PROTECTED]

diffstat:
 claw.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index a86436a..4687bb5 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -1601,7 +1601,7 @@ dumpit(char* buf, int len)
 __u32  ct, sw, rm, dup;
 char   *ptr, *rptr;
 char   tbuf[82], tdup[82];
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 char   addr[22];
 #else
 char   addr[12];
@@ -1617,7 +1617,7 @@ dumpit(char* buf, int len)
 dup = 0;
 for ( ct=0; ct  len; ct++, ptr++, rptr++ )  {
 if (sw == 0) {
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 sprintf(addr, %16.16lX,(unsigned long)rptr);
 #else
 sprintf(addr, %8.8X,(__u32)rptr);
@@ -1632,7 +1632,7 @@ dumpit(char* buf, int len)
 if (sw == 8) {
 strcat(bhex,   );
 }
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 sprintf(tbuf,%2.2lX, (unsigned long)*ptr);
 #else
 sprintf(tbuf,%2.2X, (__u32)*ptr);
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[patch 1/6] s390: minor claw driver fix

2006-03-22 Thread Frank Pavlic
Hi ,
following 6 patches are for s390 network drivers claw, qeth and ctc.
tty support will be removed from the ctc network device driver , which will
happen with patch 5/6 and 6/6 . The latter one will remove two files , ctctty.c 
and ctctty.h .

Thanks 

Frank 

[patch 1/6] s390: minor claw driver fix

From: Frank Pavlic [EMAIL PROTECTED]

use CONFIG_ARCH_S390X instead of CONFIG_64BIT in function dumpit .

Signed-off-by: Frank Pavlic [EMAIL PROTECTED]

diffstat:
 claw.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index a86436a..4687bb5 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -1601,7 +1601,7 @@ dumpit(char* buf, int len)
 __u32  ct, sw, rm, dup;
 char   *ptr, *rptr;
 char   tbuf[82], tdup[82];
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 char   addr[22];
 #else
 char   addr[12];
@@ -1617,7 +1617,7 @@ dumpit(char* buf, int len)
 dup = 0;
 for ( ct=0; ct  len; ct++, ptr++, rptr++ )  {
 if (sw == 0) {
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 sprintf(addr, %16.16lX,(unsigned long)rptr);
 #else
 sprintf(addr, %8.8X,(__u32)rptr);
@@ -1632,7 +1632,7 @@ dumpit(char* buf, int len)
 if (sw == 8) {
 strcat(bhex,   );
 }
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 sprintf(tbuf,%2.2lX, (unsigned long)*ptr);
 #else
 sprintf(tbuf,%2.2X, (__u32)*ptr);
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [patch 1/6] s390: minor claw driver fix

2006-03-22 Thread Martin Schwidefsky
On 3/22/06, Frank Pavlic [EMAIL PROTECTED] wrote:
 [patch 1/6] s390: minor claw driver fix

 From: Frank Pavlic [EMAIL PROTECTED]

 use CONFIG_ARCH_S390X instead of CONFIG_64BIT in function dumpit .

Nack. CONFIG_ARCH_S390X doesn't exists anymore. It has been replaced
by CONFIG_64BIT in 2.6.16.

--
blue skies,
  Martin
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [patch 1/6] s390: minor claw driver fix

2006-03-22 Thread Christoph Hellwig
On Wed, Mar 22, 2006 at 04:03:36PM +0100, Frank Pavlic wrote:
 Hi ,
 following 6 patches are for s390 network drivers claw, qeth and ctc.
 tty support will be removed from the ctc network device driver

Why?

-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[patch 1/6] s390: minor claw driver fix

2006-03-22 Thread Frank Pavlic
Hi ,
following 6 patches are for s390 network drivers claw, qeth and ctc.
tty support will be removed from the ctc network device driver , which will
happen with patch 5/6 and 6/6 . The latter one will remove two files , ctctty.c 
and ctctty.h .

Thanks 

Frank 

[patch 1/6] s390: minor claw driver fix

From: Frank Pavlic [EMAIL PROTECTED]

use CONFIG_ARCH_S390X instead of CONFIG_64BIT in function dumpit .

Signed-off-by: Frank Pavlic [EMAIL PROTECTED]

diffstat:
 claw.c |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/s390/net/claw.c b/drivers/s390/net/claw.c
index a86436a..4687bb5 100644
--- a/drivers/s390/net/claw.c
+++ b/drivers/s390/net/claw.c
@@ -1601,7 +1601,7 @@ dumpit(char* buf, int len)
 __u32  ct, sw, rm, dup;
 char   *ptr, *rptr;
 char   tbuf[82], tdup[82];
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 char   addr[22];
 #else
 char   addr[12];
@@ -1617,7 +1617,7 @@ dumpit(char* buf, int len)
 dup = 0;
 for ( ct=0; ct  len; ct++, ptr++, rptr++ )  {
 if (sw == 0) {
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 sprintf(addr, %16.16lX,(unsigned long)rptr);
 #else
 sprintf(addr, %8.8X,(__u32)rptr);
@@ -1632,7 +1632,7 @@ dumpit(char* buf, int len)
 if (sw == 8) {
 strcat(bhex,   );
 }
-#if (CONFIG_64BIT)
+#if (CONFIG_ARCH_S390X)
 sprintf(tbuf,%2.2lX, (unsigned long)*ptr);
 #else
 sprintf(tbuf,%2.2X, (__u32)*ptr);
-
To unsubscribe from this list: send the line unsubscribe netdev in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html