| Commit message (Collapse) | Author | Files | Lines |
|
This patch is a part of the BSP source reorganization.
Update #3285.
|
|
Define __INSIDE_RTEMS_BSD_TCPIP_STACK__ in the network interface driver
source files to avoid some build system magic.
|
|
GCC 6.0 previews give the following warning on sonic.c:
../../../../../rtems/c/src/libchip/network/sonic.c:837:11: warning:
statement is indented as if it were guarded by... [-Wmisleading-indentation]
This was discussed here:
https://lists.rtems.org/pipermail/devel/2016-March/014004.html
and we concluded it would be better to rewrite the entire snippet.
|
|
|
|
Add reserved system events RTEMS_EVENT_SYSTEM_NETWORK_SBWAIT and
RTEMS_EVENT_SYSTEM_NETWORK_SOSLEEP.
Add and use rtems_bsdnet_event_send().
|
|
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
* libchip/network/sonic.c: Activate SONIC_STATIC.
|
|
* libchip/network/sonic.c: Make sonic_enable_interrupts,
sonic_disable_interrupts, sonic_clear_interrupts,
sonic_command static.
|
|
* libchip/network/sonic.c: Don't cast pointers to uint32_t.
|
|
* libchip/network/greth.c, libchip/network/open_eth.c
libchip/network/sonic.c: Eliminate evil typecasts.
* libchip/network/greth.h, libchip/network/open_eth.h,
libchip/network/sonic.h: Use void* for addresses.
|
|
* libchip/network/sonic.c: Do not declare a variable just to hold an
ignored return value.
|
|
* libchip/network/sonic.c: Rename Dump_Buffer to rtems_print_buffer.
|
|
* libchip/network/greth.c, libchip/network/open_eth.c,
libchip/network/smc91111.c, libchip/network/sonic.c: Fix error
introduced by warning removal.
|
|
* libchip/network/cs8900.c, libchip/network/greth.c,
libchip/network/i82586.c, libchip/network/open_eth.c,
libchip/network/sonic.c: Remove warnings -- use uintptr_t, properly
sized integers, and inttypes.h printf helpers.
|
|
* libchip/network/cs8900.c, libchip/network/i82586.c,
libchip/network/open_eth.c, libchip/network/sonic.c,
libchip/serial/mc68681.c: Modified types to remove
warnings. Added initialization to remove warnings.
|
|
|
|
* libchip/ide/ata.c, libchip/network/dec21140.c,
libchip/network/elnk.c, libchip/network/i82586.c,
libchip/network/if_fxp.c, libchip/network/if_fxpvar.h,
libchip/network/open_eth.c, libchip/network/sonic.c,
libchip/rtc/icm7170.c, libchip/serial/ns16550.c,
libchip/serial/z85c30.c, libchip/shmdr/cnvpkt.c,
libchip/shmdr/init.c, libchip/shmdr/intr.c,
libchip/shmdr/shm_driver.h: Cosmetics.
|
|
* libchip/ide/ata.c, libchip/ide/ata_internal.h,
libchip/ide/ide_controller.c, libchip/ide/ide_ctrl_cfg.h,
libchip/ide/ide_ctrl_io.h, libchip/network/cs8900.c,
libchip/network/dec21140.c, libchip/network/elnk.c,
libchip/network/if_fxp.c, libchip/network/open_eth.c,
libchip/network/open_eth.h, libchip/network/sonic.c,
libchip/network/sonic.h, libchip/rtc/icm7170.c, libchip/rtc/icm7170.h,
libchip/rtc/icm7170_reg.c, libchip/rtc/icm7170_reg2.c,
libchip/rtc/icm7170_reg4.c, libchip/rtc/icm7170_reg8.c,
libchip/rtc/m48t08.c, libchip/rtc/m48t08.h, libchip/rtc/m48t08_reg.c,
libchip/rtc/m48t08_reg2.c, libchip/rtc/m48t08_reg4.c,
libchip/rtc/m48t08_reg8.c, libchip/rtc/rtc.h, libchip/serial/mc68681.c,
libchip/serial/mc68681.h, libchip/serial/mc68681_reg.c,
libchip/serial/mc68681_reg2.c, libchip/serial/mc68681_reg4.c,
libchip/serial/mc68681_reg8.c, libchip/serial/ns16550.c,
libchip/serial/ns16550_p.h, libchip/serial/serial.h,
libchip/serial/z85c30.c, libchip/serial/z85c30.h,
libchip/serial/z85c30_p.h, libchip/serial/z85c30_reg.c,
libchip/shmdr/addlq.c, libchip/shmdr/cnvpkt.c, libchip/shmdr/dump.c,
libchip/shmdr/fatal.c, libchip/shmdr/getlq.c, libchip/shmdr/init.c,
libchip/shmdr/initlq.c, libchip/shmdr/intr.c, libchip/shmdr/poll.c,
libchip/shmdr/send.c, libchip/shmdr/shm_driver.h: Convert to using c99
fixed-size types.
|
|
* ide/ata.c, ide/ata.h, ide/ata_internal.h, ide/ide_controller.c,
ide/ide_ctrl.h, ide/ide_ctrl_cfg.h, ide/ide_ctrl_io.h,
network/cs8900.c, network/cs8900.c.bsp, network/cs8900.h,
network/dec21140.c, network/elnk.c, network/open_eth.c,
network/sonic.c, network/sonic.h, rtc/icm7170.c, rtc/icm7170.h,
rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c,
rtc/icm7170_reg8.c, rtc/m48t08.c, rtc/m48t08.h, rtc/m48t08_reg.c,
rtc/m48t08_reg2.c, rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, rtc/rtc.h,
rtc/rtcprobe.c, serial/mc68681.c, serial/mc68681.h,
serial/mc68681_p.h, serial/mc68681_reg.c, serial/mc68681_reg2.c,
serial/mc68681_reg4.c, serial/mc68681_reg8.c, serial/serial.h,
serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h,
serial/z85c30_reg.c: URL for license changed.
|
|
* network/i82586.c: Include <string.h>.
* network/sonic.c: Ditto.
|
|
* network/cs8900.c, network/cs8900.h, network/sonic.c, network/sonic.h,
rtc/icm7170_reg.c, rtc/icm7170_reg2.c, rtc/icm7170_reg4.c,
rtc/icm7170_reg8.c, rtc/m48t08_reg.c, rtc/m48t08_reg2.c,
rtc/m48t08_reg4.c, rtc/m48t08_reg8.c, serial/mc68681_reg.c,
serial/mc68681_reg2.c, serial/mc68681_reg4.c, serial/mc68681_reg8.c,
serial/z85c30.c, serial/z85c30.h, serial/z85c30_p.h,
serial/z85c30_reg.c: Corrected header.
|
|
* network/sonic.c: Added ipalign() routine to align the
received packet so that the ip header is on a 32-bit boundary.
Necessary for cpu's that do not allow unaligned loads and stores
and when the 32-bit DMA mode is used.
|
|
interface naming convention.
|
|
fix some problems encountered when reusing this driver on
a SPARC ERC32 based Tharsys board. He eliminted the need
for TX interrupts and added code that can optionally ensure that
the IP address is 32-bit aligned. He also fixed a handful of
problems that only occured because the 8 Mhz ERC32 was
enough slower than the 100 Mhz PPC603e that timing
issues in this driver were magnified.
|
|
by Jiri Gaisler <jgais@ws.estec.esa.nl> when using this
driver on a SPARC.
|
|
portion is now in the libchip tree and the dmv177 configuration is in
the dmv177 bsp. The performance impact of libchip'ing this driver
was minimal.
|
|
and placed in the right shareable directories.
|
|
|
|
Fixed bug where only the mbuf associated with the first TX fragment was
being freed.
|
|
to be a problem with overwriting the TX descriptors during an RX.
|
|
|
|
of the SONIC driver to the new FreeBSD stack instead of KA9Q.
|
|
a giant packet.
|
|
|
|
Redid interrupt handler to read imr/isr once and to write the imr once.
|
|
|
|
Fixed one important bug. After wrapping the RX Descriptors all had the
EOL bit set which resulted in everything slowing down massively.
|
|
|
|
|
|
Problem appears to be on the RX buffer initialization side.
|
|
|
|
promiscuous mode.
It still dies somewhere between 16 and 20 pings.
|
|
|
|
|
|
Moved CAM Descriptor types to sonic.h.
CAM memory is now malloced to insure it shares the same upper address bits.
Removed increment of RX interrupt count on TX interrupt path.
Added SONIC_DEBUG_FRAGMENTS and SONIC_DEBUG_CAM conditionals.
Fixed bugs in fragment manipulation. First bug was that the pad overwrote
the last fragment. The second bug was that the link information overwrote
the size of the last fragment.
Rewrote initialization of TDA to simplify it.
|
|
Added pointer to RDA to sonic structure.
Added macro names for values used in the in_use field of RDA entries.
Rewrote the RX Descriptor Area initialization loop.
Added a check to barf if this is a Rev B sonic chip.
Enabled check that the CAM was properly loaded.
|
|
types of debug information.
Removed call to rtems_panic which was based on checking a variable which
was no longer being set.
|
|
This primarily included setting the state of the programmable outputs
and the RX and TX FIFO depths.
Moved all of the TX, RX, and RRA data structure initialization to before
the hardware initialization. As part of this, the hardware initialization
was consolidated. More than likely, some of this movement broke stuff.
Used constants added to sonic.h which gave more logical names to some
of the register bit settings.
Switched to calloc to insure the data areas where initialized to 0.
Commented out a panic check in the RX server which may or may not have
been right.
Increased the size of the CAM initialization area. It is possible
that this could be decreased or code added to handle the management
of multiple hardware addresses.
Added sonic read and write register routines which aid greatly in
debugging and provide the core for the eventual movement of this
driver to libchip.
Added debug code to the read and write register routines which can
print the value read from or written to a register. This code also
prints the register name which significantly eases reading the log.
|
|
help.
|