Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic After rev 1.16 rtk driver uses the CRC from the c...
details: https://anonhg.NetBSD.org/src/rev/6a40466f08f0
branches: trunk
changeset: 499829:6a40466f08f0
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Thu Nov 30 15:33:04 2000 +0000
description:
After rev 1.16 rtk driver uses the CRC from the chip,
so no need to adjust Rx address for it. Fixes kern/11301.
diffstat:
sys/dev/ic/rtl81x9.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3abd8806acb3 -r 6a40466f08f0 sys/dev/ic/rtl81x9.c
--- a/sys/dev/ic/rtl81x9.c Thu Nov 30 14:41:46 2000 +0000
+++ b/sys/dev/ic/rtl81x9.c Thu Nov 30 15:33:04 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9.c,v 1.19 2000/11/26 11:08:58 takemura Exp $ */
+/* $NetBSD: rtl81x9.c,v 1.20 2000/11/30 15:33:04 tsutsui Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -1091,7 +1091,7 @@
m_copyback(m, wrap, total_len - wrap,
sc->rtk_cdata.rtk_rx_buf);
}
- cur_rx = (total_len - wrap + ETHER_CRC_LEN);
+ cur_rx = total_len - wrap;
} else {
m = m_devget(rxbufpos - RTK_ETHER_ALIGN,
total_len + RTK_ETHER_ALIGN, 0, ifp, NULL);
@@ -1102,7 +1102,7 @@
total_len);
} else
m_adj(m, RTK_ETHER_ALIGN);
- cur_rx += total_len + 4 + ETHER_CRC_LEN;
+ cur_rx += total_len + 4;
}
/*
Home |
Main Index |
Thread Index |
Old Index