This is odd, but try again.
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
This commit is contained in:
parent
ff7df4f7ad
commit
b41e38e4a2
7 changed files with 79 additions and 20 deletions
8
include/ip_checksum.h
Normal file
8
include/ip_checksum.h
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#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 */
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue