| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* libbsdport/devicet.c: Initialize libbspExt.
|
| |
|
|
|
|
|
|
|
|
| |
* libbsdport/bus.h: PPC's inlines from libcpu/io.h still have
un-intuitive argument types (e.g., unsigned instead of uint32_t).
Added additional 'iotype' arg to BUS_SPACE_DECL macro (ppc only)
so that we can cast to the correct type as expected by libcpu/io.h.
Hopefully that doesn't bring us into C99 alias hell.
|
|
|
|
|
|
| |
* libbsdport/devicet.c: Silence compiler warnings by casting (char)
argument passed to 'ctype.h' functions [toupper + friends] ->
(unsigned char) as these functions expect 'int'.
|
|
|
|
| |
* links.am: POSIXified sed commands for sake of portability.
|
|
|
|
|
| |
* libbsdport/Makefile.am: Removed obsolete (and commented)
stuff.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* libbsdport/libbsdport_post.h: added missing declaration
of m_defrag() (Chris replaced the dummy #define a while
ago and provided an implementation instead [thanks!] but
we also need a declaration).
|
|
|
|
|
| |
* libbsdport/ifmedia.c: fixed 'unused variable' warning
by removing unused var.
|
|
|
|
|
|
| |
* if_re/if_re.c: fixed 'unused variable' warning by
commenting via #ifndef __rtems__ (since code which uses
the 'msi_disable' var is commented the same way).
|
|
|
|
|
|
| |
* if_pcn/if_pcn.c: fixed 'type-punned pointer' warning.
Use 'memcpy' to copy 2 bytes to a short. This requires
another #ifdef __rtems__, however.
|
|
|
|
|
|
|
| |
* if_bge/if_bge.c: bge_intr must be passed as a 'handler'
to bus_setup_intr(). However, the irq_check_dis and irq_enable
methods seem to still be skeletons so this driver won't work...
(I have no hardware or emulation available to test).
|
|
|
|
| |
* libbsdport/alldrv.c: Revert.
|
|
|
|
| |
* if_bge/if_bge.c, libbsdport/alldrv.c: Add local changes (untested).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* bsd_eth_drivers/libbsdport/sysbus.cL Fixed the print message for
no IRQ handler.
* bsd_eth_drivers/libbsdport/misc.c: Add m_defrag and what else it
needed. The RL driver needs it.
* bsd_eth_drivers/libbsdport/libbsdport_post.h: Remove the define
for m_defrag.
* bsd_eth_drivers/libbsdport/libbsdport.h: Add if_maddr_rlock and
if_maddr_runlock.
* bsd_eth_drivers/libbsdport/bus.h: Add the
bus_space_write_stream_4 call.
* bsd_eth_drivers/libbsdport/libbsdport_post.h,
bsd_eth_drivers/libbsdport/alldrv.c,
bsd_eth_drivers/if_re/Makefile.am: Add RL driver support.
* bsd_eth_drivers/if_re/if_re.c, bsd_eth_drivers/if_re/if_rlreg.h:
Updated to the lastest version.
* bsd_eth_drivers/if_re/if_rl.c: New. This is for the Realtek
8129/8139 PCI NIC while the RE driver does only the 8139C+
version.
|
|
|
|
| |
* links.am: Fixed the links so they work with absolute paths.
|
|
|
|
|
| |
* if_re/Makefile.am: added 'if_rlreg.h' to SOURCES so
that it is 'distributed'.
|
|
|
|
|
| |
* if_em/31000_osdep.h: added missing 'void' return
type of __out_le32() inline function.
|
|
|
|
|
|
|
|
|
|
| |
* libbsdport/rtems_callout.c: fixed possible race
condition. callout_stop() must check again from
critical/protected section of code if callout is still on
the list/active. Otherwise, the callout-task could
have executed and removed the callout between
callout_stop() checking the p_prev pointer and
entering the critical section.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* libbsdport/alldrv.c: reactivate weak aliases for all
known/supported drivers. This magic allows the user to
just link the desired (sub-)set of drivers.
|
|
|
|
|
| |
* libbsdport/libbsdport.h: define _KERNEL only if not defined already
(e.g., from Makefile).
|
|
|
|
|
| |
* libbsdport/alldrv.c, libbsdport/libbsdport_api.h: Add include
<stdio.h> for FILE *.
|
|
|
|
| |
* rtems-pre.am, m4/rtems-fixup-prefix.m4: Install in standard location.
|
|
|
|
| |
- bugfix: bus_write_2() must map to bus_space_write_2 (not 4)
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
included commits to RCS files with non-trunk default branches.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- removed definition of 'bswap32' (now in libbsdport)
- removed definition of 'callout_active' (now in libbsdport)
- removed definition of 'callout_pending' (now in libbsdport)
- removed bus_dmamap_load() -- I believe the version from libbsdport
should work (but setting the bus addr to zero probably not).
- added (__rtems__) specific code to set multicast address filter
- added ETHER_SIOCMULTIFRAG() macro (__rtems__ specific) to ioctl.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
a sentinel. If the user decides only to link a subset of
driver the probe algorithm skips entries matching the
sentinel.
- added more diagnostic messages which can be enabled by
setting 'libbsdportAttachVerbose' to nonzero. This
is quite helpful.
- added the ugliest of all hack -- i386 pcibios API returns
wrong number for bus count :-( [the max bus number instead
of the count]. We simply add 1 to this number...
|
|
|
|
|
|
| |
a sentinel. If the user decides only to link a subset of
driver the probe algorithm skips entries matching the
sentinel.
|
| |
|
|
|
|
|
|
|
|
| |
- added definition of PCIR_CACHELNSZ
- added definition of PCIM_CMD_MWRICEN
- added pci_get_revid()
- moved mii_mediachg() macro-stub to libbsdport_post.h
- added definition for 'bootverbose'
|
|
|
|
|
|
|
|
|
|
|
| |
- added bus_release_resources()
- added dummy handle for giant mutex.
- added resource_int_value() stub (returns ENOENT).
- added resource_long_value() stub (returns ENOENT).
- added bus_read_1(), bus_read_2(), bus_read_4()
bus_write_1(), bus_write_2(), bus_write_4().
- honour BUS_DMA_ZERO flag.
- changed 'vaddr' arg from caddr_t to void*
|
|
|
|
|
| |
indicating whether a callout was pending.
- added callout_active(), callout_pending(), callout_deactivate().
|
| |
|
|
|
|
|
|
| |
ether_addmulti()/ether_delmulti() return ENETRESET (which is acually
an OK status).
- moved mii_mediachg() dummy from libbsdport.h to libbsdport_post.h
|
| |
|
|
|
|
|
| |
- added rtems_mii_phy_probe(). This is a helper albeit RTEMS specific.
Porting the whole MII/media stuff is still too much ATM.
|
|
|
|
|
| |
- removed files that are generated by autreconf after checkout
and added them to .cvsignore
|
|\
| |
| | |
included commits to RCS files with non-trunk default branches.
|