summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/if_em/e1000_osdep.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2011-07-21 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2011-07-211-3/+12
| | | | | | | | * 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).
* 2011-07-20 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2011-07-201-37/+54
| | | | | | | | | | * 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).
* 2009-10-20 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2009-10-201-0/+4
| | | | | | | | | * libbsdport/libbsdport.h, if_em/e1000_osdep.h: We need __BSD_VISIBLE defined. Some things in the rtems headers changed with 4.10 (can't pinpoint the details). We now #define __INSIDE_RTEMS_BSD_TCPIP_STACK__ before explicitly including <rtems/rtems_bsdnet.h> and this seemed to fix things for 4.10.
* 2009-08-15 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2009-08-151-2/+2
| | | | | * if_em/31000_osdep.h: added missing 'void' return type of __out_le32() inline function.
* 2009-08-05 Till Straumann <Till.Straumann@TU-Berlin.de>Till Straumann2009-08-051-99/+124
| | | | | | | | | | | | * 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.
* Initial import.initialJoel Sherrill2009-02-191-0/+397