PERFORCE change 45126 for review

Juli Mallett jmallett at FreeBSD.org
Sun Jan 11 01:23:56 PST 2004


http://perforce.freebsd.org/chv.cgi?CH=45126

Change 45126 by jmallett at jmallett_oingo on 2004/01/11 01:23:39

	Make INET build.

Affected files ...

.. //depot/projects/mips/sys/conf/files.mips#27 edit
.. //depot/projects/mips/sys/mips/include/in_cksum.h#1 add
.. //depot/projects/mips/sys/mips/mips/in_cksum.c#1 add
.. //depot/projects/mips/sys/net/if_loop.c#11 edit

Differences ...

==== //depot/projects/mips/sys/conf/files.mips#27 (text+ko) ====

@@ -14,6 +14,7 @@
 mips/mips/critical.c		standard
 mips/mips/elf_machdep.c		standard
 mips/mips/exception.S		standard
+mips/mips/in_cksum.c		optional	inet
 mips/mips/locore.S		standard	no-obj
 mips/mips/locore_mips3.S	standard
 mips/mips/machdep.c		standard

==== //depot/projects/mips/sys/net/if_loop.c#11 (text+ko) ====

@@ -265,7 +265,7 @@
 	/* Strip away media header */
 	if (hlen > 0) {
 		m_adj(m, hlen);
-#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__)
+#if defined(__alpha__) || defined(__ia64__) || defined(__sparc64__) || defined(__mips__)
 		/* The alpha doesn't like unaligned data.
 		 * We move data down in the first mbuf */
 		if (mtod(m, vm_offset_t) & 3) {


More information about the p4-projects mailing list