Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/dev/ic Pullup 1.46 [itojun]:



details:   https://anonhg.NetBSD.org/src/rev/d7797ce12a48
branches:  netbsd-1-5
changeset: 489821:d7797ce12a48
user:      tv <tv%NetBSD.org@localhost>
date:      Tue Oct 17 20:32:33 2000 +0000

description:
Pullup 1.46 [itojun]:
make it work right on non-32bit arch.  from kjc%csl.sony.co.jp@localhost

diffstat:

 sys/dev/ic/midway.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3f892468208c -r d7797ce12a48 sys/dev/ic/midway.c
--- a/sys/dev/ic/midway.c       Tue Oct 17 20:30:42 2000 +0000
+++ b/sys/dev/ic/midway.c       Tue Oct 17 20:32:33 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: midway.c,v 1.40 2000/04/12 10:36:45 itojun Exp $       */
+/*     $NetBSD: midway.c,v 1.40.4.1 2000/10/17 20:32:33 tv Exp $       */
 /*     (sync'd to midway.c 1.68)       */
 
 /*
@@ -1769,7 +1769,7 @@
        *       [including AAL5 PDU, if AAL5]
        */
 
-      got = mlen - sizeof(struct atm_pseudohdr *);
+      got = mlen - sizeof(struct atm_pseudohdr);
       toadd = (aal == MID_TBD_AAL5) ? MID_PDU_SIZE : 0;        /* PDU */
       cellcnt = (got + toadd + (MID_ATMDATASZ - 1)) / MID_ATMDATASZ;
       need = cellcnt * MID_ATMDATASZ;



Home | Main Index | Thread Index | Old Index