mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] s390 (10/10): network device drivers.
Date: Mon, 26 May 2003 19:32:00 +0200	[thread overview]
Message-ID: <20030526173200.GK3748@mschwid3.boeblingen.de.ibm.com> (raw)

s390 network device driver fixes:
 - Make use of SET_MODULE_OWNER.
 - Fix ctc interrupt handler.

diffstat:
 drivers/s390/net/ctcmain.c |   10 +++++-----
 drivers/s390/net/ctctty.c  |    2 +-
 drivers/s390/net/lcs.c     |    2 +-
 drivers/s390/net/netiucv.c |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff -urN linux-2.5/drivers/s390/net/ctcmain.c linux-2.5-s390/drivers/s390/net/ctcmain.c
--- linux-2.5/drivers/s390/net/ctcmain.c	Mon May 26 19:20:46 2003
+++ linux-2.5-s390/drivers/s390/net/ctcmain.c	Mon May 26 19:20:48 2003
@@ -1,5 +1,5 @@
 /*
- * $Id: ctcmain.c,v 1.41 2003/04/15 16:45:37 aberg Exp $
+ * $Id: ctcmain.c,v 1.42 2003/05/23 17:45:57 felfert Exp $
  *
  * CTC / ESCON network driver
  *
@@ -36,7 +36,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * RELEASE-TAG: CTC/ESCON network driver $Revision: 1.41 $
+ * RELEASE-TAG: CTC/ESCON network driver $Revision: 1.42 $
  *
  */
 \f
@@ -272,7 +272,7 @@
 print_banner(void)
 {
 	static int printed = 0;
-	char vbuf[] = "$Revision: 1.41 $";
+	char vbuf[] = "$Revision: 1.42 $";
 	char *version = vbuf;
 
 	if (printed)
@@ -1966,7 +1966,7 @@
 	if (priv->channel[READ]->cdev == cdev)
 		ch = priv->channel[READ];
 	else if (priv->channel[WRITE]->cdev == cdev)
-		ch = priv->channel[READ];
+		ch = priv->channel[WRITE];
 	else {
 		printk(KERN_ERR
 		       "ctc: Can't determine channel for interrupt, "
@@ -2751,8 +2751,8 @@
 	dev->addr_len = 0;
 	dev->type = ARPHRD_SLIP;
 	dev->tx_queue_len = 100;
-	dev->owner = THIS_MODULE;
 	dev->flags = IFF_POINTOPOINT | IFF_NOARP;
+	SET_MODULE_OWNER(&tun->dev);
 	return dev;
 }
 
diff -urN linux-2.5/drivers/s390/net/ctctty.c linux-2.5-s390/drivers/s390/net/ctctty.c
--- linux-2.5/drivers/s390/net/ctctty.c	Mon May  5 01:53:31 2003
+++ linux-2.5-s390/drivers/s390/net/ctctty.c	Mon May 26 19:20:48 2003
@@ -1,5 +1,5 @@
 /*
- * $Id: ctctty.c,v 1.10 2003/03/21 18:47:31 aberg Exp $
+ * $Id: ctctty.c,v 1.11 2003/05/06 09:40:55 mschwide Exp $
  *
  * CTC / ESCON network driver, tty interface.
  *
diff -urN linux-2.5/drivers/s390/net/lcs.c linux-2.5-s390/drivers/s390/net/lcs.c
--- linux-2.5/drivers/s390/net/lcs.c	Mon May  5 01:53:02 2003
+++ linux-2.5-s390/drivers/s390/net/lcs.c	Mon May 26 19:20:48 2003
@@ -1786,7 +1786,7 @@
 		dev->set_multicast_list = lcs_set_multicast_list;
 #endif
 	dev->get_stats = lcs_getstats;
-	dev->owner = THIS_MODULE;
+	SET_MODULE_OWNER(&tun->dev);
 	netif_stop_queue(dev);
 	lcs_stopcard(card);
 	return 0;
diff -urN linux-2.5/drivers/s390/net/netiucv.c linux-2.5-s390/drivers/s390/net/netiucv.c
--- linux-2.5/drivers/s390/net/netiucv.c	Mon May  5 01:53:32 2003
+++ linux-2.5-s390/drivers/s390/net/netiucv.c	Mon May 26 19:20:48 2003
@@ -1630,8 +1630,8 @@
 	dev->addr_len            = 0;
 	dev->type                = ARPHRD_SLIP;
 	dev->tx_queue_len        = NETIUCV_QUEUELEN_DEFAULT;
-	dev->owner               = THIS_MODULE;
 	dev->flags	         = IFF_POINTOPOINT | IFF_NOARP;
+	SET_MODULE_OWNER(&tun->dev);
 	return dev;
 }
 

                 reply	other threads:[~2003-05-26 17:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030526173200.GK3748@mschwid3.boeblingen.de.ibm.com \
    --to=schwidefsky@de.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®