diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-08-05 21:41:20 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-08-05 21:41:20 +0000 |
commit | 370f3c5469cbc626113a3a53dde09bb86d50d788 (patch) | |
tree | af0c4f64be1c85bc4b01608f55737f9eeb28fb1c /bsd_eth_drivers/if_em/Makefile.am | |
parent | 2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de> (diff) | |
download | libbsdport-370f3c5469cbc626113a3a53dde09bb86d50d788.tar.bz2 |
2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>
* if_em/Makefile.am, if_em/e1000_osdep.h, if_em/if_em.c:
Changed 'e1000_osdep.h' to provide stdalone I/O methods for
select architectures (x86 and PPC -- others fall back on
libbsdport/bus.h). This lets the low-level driver (everything
except for 'if_em.c/if_em.h') API be independent of
BSD networking and libbsdport which is desirable since
certain applications may wish to just use the low-level
API for implementing dedicated 'raw-ethernet' drivers
for BSD-independent, proprietary GigE communication.
Diffstat (limited to '')
-rw-r--r-- | bsd_eth_drivers/if_em/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bsd_eth_drivers/if_em/Makefile.am b/bsd_eth_drivers/if_em/Makefile.am index 1a6a12f..a795ef8 100644 --- a/bsd_eth_drivers/if_em/Makefile.am +++ b/bsd_eth_drivers/if_em/Makefile.am @@ -31,6 +31,7 @@ libif_em_a_DEPENDENCIES = $(libif_em_a_LIBADD) lib_LIBRARIES = libif_em.a +AM_CPPFLAGS += -D_KERNEL AM_CPPFLAGS += -I$(srcdir) AM_CPPFLAGS += -I$(srcdir)/../libbsdport -I../libbsdport -I../libbsdport/dummyheaders AM_CPPFLAGS += $(CPPFLAGS_82542_SUPPORT_$(ENBL_82542_SUPPORT)) |