Comitting IP checksum code, and its usage in linuxbios table creation. Mods to the dts, so that the device ops for the domain are set to the proper structure. This change is important. It gets rid of the obscure, confusing use of the enable_dev function to pick the right ops for a device. It makes the ops initilization very clear at the top level, in the dts. This has been tested and works, linux boots on Bochs under this version. Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/LinuxBIOSv3@191 f3766cd6-281f-0410-b1cd-43a5c92072e9
8 lines
235 B
C
8 lines
235 B
C
#ifndef IP_CHECKSUM_H
|
|
#define IP_CHECKSUM_H
|
|
|
|
unsigned long compute_ip_checksum(void *addr, unsigned long length);
|
|
unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new);
|
|
|
|
#endif /* IP_CHECKSUM_H */
|
|
|