opnsense-src/sys/powerpc
Mark Johnston 1d250ec707 netinet: Deduplicate most in_cksum() implementations
in_cksum() and related routines are implemented separately for each
platform, but only i386 and arm have optimized versions.  Other
platforms' copies of in_cksum.c are identical except for style
differences and support for big-endian CPUs.

Deduplicate the implementations for the rest of the platforms.  This
will make it easier to implement in_cksum() for unmapped mbufs.  On arm
and i386, define HAVE_MD_IN_CKSUM to mean that the MI implementation is
not to be compiled.

No functional change intended.

Reviewed by:	kp, glebius
Sponsored by:	The FreeBSD Foundation

(cherry picked from commit ecbbe83144)
2021-12-01 07:42:43 -05:00
..
aim powerpc64: fix OFWFB with Radix MMU 2021-11-05 11:08:27 -03:00
amigaone powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
booke Convert vm_page_alloc() callers to use vm_page_alloc_noobj(). 2021-11-03 13:39:36 -04:00
conf Restore PPS_SYNC in NOTES 2021-10-17 03:28:13 +03:00
cpufreq powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
fpu powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
include netinet: Remove in_cksum_update() 2021-12-01 07:41:55 -05:00
mambo Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
mikrotik powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00
mpc85xx Make MAXPHYS tunable. Bump MAXPHYS to 1M. 2020-11-28 12:12:51 +00:00
ofw Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
powermac powerpc/powermac: Constrain 'cpu_sleep()' for AIM to mpc745x 2021-04-19 23:13:41 -05:00
powernv opal_console: fix serial console output corruption on powerpc64 2021-05-07 02:33:39 -03:00
powerpc netinet: Deduplicate most in_cksum() implementations 2021-12-01 07:42:43 -05:00
ps3 Add CFI start/end proc directives to arm64, i386, and ppc 2020-12-05 00:33:28 +00:00
pseries powerpc/pseries: Add new hypercall definition, H_REGISTER_PROC_TBL 2021-04-06 22:10:09 -05:00
psim powerpc: clean up empty lines in .c and .h files 2020-09-01 21:20:08 +00:00