mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-17 18:19:27 +08:00
e1000 driver now compiles with fewer modifications
- Change some include path in the e1000 drivers - Add some files from the FreeBSD source tree (modification in freebsd-to-rtems.py) - Avoid inconsistent functions declarations: the bool_t and/or boolean_t are not the same between rtems and freebsd so that a function with the prototype bool_t foobar() and another boolean_t foobar() does not compile on rtems. (see if_igb.c for example) Joel Note: These are still inconsistent on the FreeBSD side and need to be addressed by them. We will just make the prototype match the body until they give us a solution.
This commit is contained in:

committed by
Joel Sherrill

parent
8dce37226b
commit
a52104cf46
@@ -110,9 +110,7 @@ struct proc *initproc;
|
||||
|
||||
int boothowto = 0; /* initialized so that it can be patched */
|
||||
SYSCTL_INT(_debug, OID_AUTO, boothowto, CTLFLAG_RD, &boothowto, 0, "");
|
||||
#endif
|
||||
int bootverbose;
|
||||
#ifndef __rtems__
|
||||
SYSCTL_INT(_debug, OID_AUTO, bootverbose, CTLFLAG_RW, &bootverbose, 0, "");
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user