Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: [netbsd-4] build failure
I've reported to Manuel,
In message <20090401100748.GA5054%bekerja.lan@localhost>
on Wed, 1 Apr 2009 12:07:48 +0200,
Andreas Burghardt <AndreasBurghardt%gmx.de@localhost> wrote:
> /usr/src/sys/dev/ic/rtl8169.c: In function 're_rxeof':
> /usr/src/sys/dev/ic/rtl8169.c:1339: error: 'RE_RDESC_VLANCTL_IPV4' undeclared
> (first use in this function)
> /usr/src/sys/dev/ic/rtl8169.c:1339: error: (Each undeclared identifier is
> reported only once
> /usr/src/sys/dev/ic/rtl8169.c:1339: error: for each function it appears in.)
> /usr/src/sys/dev/ic/rtl8169.c: In function 're_start':
> /usr/src/sys/dev/ic/rtl8169.c:1653: error: 'RE_TDESC_VLANCTL_IPCSUM'
> undeclared (first use in this function)
> /usr/src/sys/dev/ic/rtl8169.c:1657: error: 'RE_TDESC_VLANCTL_TCPCSUM'
> undeclared (first use in this function)
> /usr/src/sys/dev/ic/rtl8169.c:1661: error: 'RE_TDESC_VLANCTL_UDPCSUM'
> undeclared (first use in this function)
> --- rtl8169.o ---
> *** [rtl8169.o] Error code 1
Try this one, updating simply to rtl81x9reg.h to revision 1.35's content.
--
Takahiro Kambe <taca%back-street.net@localhost>
--- sys/dev/ic/rtl81x9reg.h 2009-04-01 17:15:42.000000000 +0900
+++ /tmp/rtl81x9reg.h 2009-03-30 02:50:38.000000000 +0900
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9reg.h,v 1.25.2.4 2009/03/31 18:22:02 bouyer Exp $
*/
+/* $NetBSD: rtl81x9reg.h,v 1.35 2009/03/27 12:19:17 tsutsui Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -475,6 +475,9 @@
#define RE_TDESC_VLANCTL_TAG 0x00020000 /* Insert VLAN tag */
#define RE_TDESC_VLANCTL_DATA 0x0000FFFF /* TAG data */
+#define RE_TDESC_VLANCTL_UDPCSUM 0x80000000 /* DESCV2 UDP cksum enable */
+#define RE_TDESC_VLANCTL_TCPCSUM 0x40000000 /* DESCV2 TCP cksum enable */
+#define RE_TDESC_VLANCTL_IPCSUM 0x20000000 /* DESCV2 IP hdr cksum
enable */
/*
* Error bits are valid only on the last descriptor of a frame
@@ -521,6 +524,8 @@
#define RE_RDESC_VLANCTL_TAG 0x00010000 /* VLAN tag available
(re_vlandata valid)*/
#define RE_RDESC_VLANCTL_DATA 0x0000FFFF /* TAG data */
+#define RE_RDESC_VLANCTL_IPV6 0x80000000 /* DESCV2 IPV6 packet */
+#define RE_RDESC_VLANCTL_IPV4 0x40000000 /* DESCV2 IPV4 packet */
#define RE_PROTOID_NONIP 0x00000000
#define RE_PROTOID_TCPIP 0x00010000
@@ -558,5 +563,5 @@
#define RE_IFQ_MAXLEN 512
-#define RE_JUMBO_FRAMELEN 9018
-#define RE_JUMBO_MTU (RE_JUMBO_FRAMELEN-ETHER_HDR_LEN-ETHER_CRC_LEN)
+#define RE_JUMBO_FRAMELEN ETHER_MAX_LEN_JUMBO
+#define RE_JUMBO_MTU ETHERMTU_JUMBO
Home |
Main Index |
Thread Index |
Old Index