| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
* if_em/e1000_osdep.h, if_em/e1000_osdep.c, if_em/if_em.c:
added e1000_register()/e1000_unregister() to keep track of
devices that are 'in-use'. This allows for sharing the low-level
code between bsdnet and standalone drivers (e.g., for PtP
GigE links).
|
|
|
|
|
|
|
|
|
|
| |
* if_em/Makefile.am, if_em/e1000_osdep.h, if_em/e1000_osdep.c,
if_em/if_em.c: added e1000_osdep.c which implements all
os-dependent parts in a bsdnet-agnostic fashion. Hence, the
low-level driver can be used w/o bsdnet.
FIXES: dependency on bsdnet initialization; PCI bus header
was not initialized when not used via bsdnet (lanIpBasic driver
crashed).
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|