patch-2.2.15 linux/drivers/s390/net/iucv.c

Next file: linux/drivers/sbus/audio/dbri.c
Previous file: linux/drivers/s390/net/ctc.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/s390/net/iucv.c linux/drivers/s390/net/iucv.c
@@ -3,7 +3,7 @@
  *    Network driver for VM using iucv
  *
  *  S390 version
- *    Copyright (C) 1999 IBM Deutschland Entwicklung GmbH, IBM Corporation
+ *    Copyright (C) 1999,2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
  *    Author(s): Stefan Hegewald <hegewald@de.ibm.com>
  *               Hartmut Penner <hpenner@de.ibm.com> 
  */
@@ -596,8 +596,8 @@
 #ifdef DEBUG
         printk(  "iucv: transaction complete now.\n");
 #endif
+        iucv_next = *((unsigned short*)rcvptr);
         rcvptr = rcvptr + iucv_data_len;
-        iucv_next = iucv_data_len; 
         /* get next packet offset */  
         iucv_data_len= *((unsigned short*)rcvptr);
 	
@@ -791,7 +791,9 @@
 /*----------------*/
 int iucv_ioctl(struct device *dev, struct ifreq *rq, int cmd)
 {
+#ifdef DEBUG
     printk(  "iucv: device %s; iucv_ioctl\n",dev->name);
+#endif
     return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)