On 10/28/2024 7:30 AM, Howard Wang wrote: > Add implementation for hardware registers access routines. > > Signed-off-by: Howard Wang <howard_w...@realsil.com.cn> >
<...> > diff --git a/drivers/net/r8169/r8169_base.h b/drivers/net/r8169/r8169_base.h > index 6fc84592a6..2fa947b2d7 100644 > --- a/drivers/net/r8169/r8169_base.h > +++ b/drivers/net/r8169/r8169_base.h > @@ -5,11 +5,395 @@ > #ifndef _R8169_BASE_H_ > #define _R8169_BASE_H_ > > +#include <stdint.h> > +#include <stddef.h> > +#include <inttypes.h> > +#include <string.h> > + > +#include <rte_common.h> > +#include <rte_cycles.h> > +#include <rte_log.h> > +#include <rte_debug.h> > +#include <rte_byteorder.h> > +#include <rte_io.h> > +#include <rte_version.h> > Please only include used/necessary headers.