patch-2.1.67 linux/drivers/net/com20020.c

Next file: linux/drivers/net/com90io.c
Previous file: linux/drivers/net/bsd_comp.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.66/linux/drivers/net/com20020.c linux/drivers/net/com20020.c
@@ -1,4 +1,4 @@
-/*	$Id: com20020.c,v 1.2 1997/09/05 08:57:50 mj Exp $
+/*	$Id: com20020.c,v 1.6 1997/11/09 11:04:58 mj Exp $
 
         Written 1997 by David Woodhouse <dwmw2@cam.ac.uk>
 
@@ -215,7 +215,7 @@
 
 
 static const char *version =
- "com20020.c: v2.92 97/09/02 Avery Pennarun <apenwarr@bond.net> et al.\n";
+ "com20020.c: v3.00 97/11/09 Avery Pennarun <apenwarr@bond.net> et al.\n";
 
 /****************************************************************************
  *                                                                          *
@@ -922,7 +922,8 @@
        * frame.
        */
 
-      put_whole_buffer(dev, lp->txbuf*512+offset,4,"\0\0xff\0xff\0xff");
+      put_buffer_byte(dev, lp->txbuf*512+offset,hdr[0]);
+      put_whole_buffer(dev, lp->txbuf*512+offset+1,3,"\377\377\377");
       offset+=4;
     }
   else				/* "other" Exception packet */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov