History log of /netbsd/sys/dev/marvell/if_mvgbe.c (Results 26 – 50 of 66)
Revision Date Author Comments
# 6e82b057 15-Apr-2015 hsuenaga <hsuenaga@NetBSD.org>

add u-boot argument parser for Marvell ARMADA XP/370.
use 'ethaddr' and 'eth1addr' in u-boot argument to setup MAC address of mvgbe.


# 7c77bcc9 13-Apr-2015 riastradh <riastradh@NetBSD.org>

Convert sys/dev to use <sys/rndsource.h>.


# a72ef114 10-Aug-2014 tls <tls@NetBSD.org>

Merge tls-earlyentropy branch into HEAD.


# eeb03cc9 15-Mar-2014 kiyohara <kiyohara@NetBSD.org>

Support Armada 370 and DDR3 tags.


# 05fd0bf3 25-Feb-2014 pooka <pooka@NetBSD.org>

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicat

Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.

show more ...


# 40fffe12 03-Feb-2014 msaitoh <msaitoh@NetBSD.org>

Carefully set IFF_OACTIVE in mvgbe_start(). Even if mvgbe_encap()
returns other than 0, the TX ring might not full. Check whether
the TX ring has one or more packets. If the ring is empty,
dont' set

Carefully set IFF_OACTIVE in mvgbe_start(). Even if mvgbe_encap()
returns other than 0, the TX ring might not full. Check whether
the TX ring has one or more packets. If the ring is empty,
dont' set IFF_OACTIVE because an TX complete interrupt never
occur and IFF_OACTIVE flags is left. The interface's timer
isn't reset, so a device timeout desn't occur.

Fixes a bug that IFF_OACTIVE flag is left on heavy load.
Part of PR#48568.

show more ...


# 7c3edd0f 23-Dec-2013 kiyohara <kiyohara@NetBSD.org>

Support Basic Mode for Armada XP.


# 4c7a0a45 28-Dec-2012 msaitoh <msaitoh@NetBSD.org>

Fix a bug that a multicast filter entry is incorrectly overrode
on some cases.


# 3adc1cf7 20-Dec-2012 msaitoh <msaitoh@NetBSD.org>

Check wheter an MII PHY is really connected or not.
This change privents panic if MII PHY port is not used.


# 4abe0922 09-Nov-2012 msaitoh <msaitoh@NetBSD.org>

Add MVGBE_EVENT_COUNTERS for debugging. Count rxoverrrun and wdogsoft.


# fbce76fc 08-Nov-2012 msaitoh <msaitoh@NetBSD.org>

Fix a bug that MVGBE_JLEN is miscalculated.


# 292f449f 08-Nov-2012 msaitoh <msaitoh@NetBSD.org>

When an interrput is link change, notify link change to mii layer using
mii_pollstat().


# cb52e2f1 08-Nov-2012 msaitoh <msaitoh@NetBSD.org>

Don't use M_HASFCS flag.


# e96de410 01-Nov-2012 msaitoh <msaitoh@NetBSD.org>

No functional change.
- Change style a bit.
- use "csc" for the variable name of struct mvgbec_softc in mvgbec_attach()
for consistency.


# 18a71110 26-Oct-2012 msaitoh <msaitoh@NetBSD.org>

Add missing mii_tick() call.


# 73f745e3 17-Oct-2012 msaitoh <msaitoh@NetBSD.org>

Fix a bug that kernel panics when the system get a packet while calling
mvgbe_stop (via ifconfig down).


# 6dacc7c1 16-Oct-2012 msaitoh <msaitoh@NetBSD.org>

Add code to modify interrupt coalescing with sysctl.
- both TX side an RX side.
- different setting for each port
- TX side is hw.mvgbe.mvgbe*.ipginttx
- RX side is hw.mvgbe.mvgbe*.ipgintrx
- Th

Add code to modify interrupt coalescing with sysctl.
- both TX side an RX side.
- different setting for each port
- TX side is hw.mvgbe.mvgbe*.ipginttx
- RX side is hw.mvgbe.mvgbe*.ipgintrx
- The default value is 768.
- The lowest value is 0
- For highest value, 0x3777 is used for V1, and 0xffff is used for V2.

show more ...


# 7c980242 14-Oct-2012 msaitoh <msaitoh@NetBSD.org>

Add Interrupt Coalescing setting by Robert Swindells.


# d17bc4cf 12-Oct-2012 msaitoh <msaitoh@NetBSD.org>

- The MVGBE_RX_MAX_FRAME_LEN_ERROR bit is used to check whether a packet
is fragmented or not, so define new MVGBE_RX_IP_FRAGMENT with the same
value and use it.
- Remove the checking whether a p

- The MVGBE_RX_MAX_FRAME_LEN_ERROR bit is used to check whether a packet
is fragmented or not, so define new MVGBE_RX_IP_FRAGMENT with the same
value and use it.
- Remove the checking whether a packet length is lower than 72 octet.
This check is not used in Linux and FreeBSD. Tested with me (for Kirkwood)
and Kiyohara (for DiscoveryII).

show more ...


# 14334ee7 04-Oct-2012 msaitoh <msaitoh@NetBSD.org>

Fix udpcsum-rx bug on fragmented case this time.
- Fix the usage of a local variable for csum_flags.
- It seemd that sometimes MVGBE_RX_L4_CHECKSUM_OK bit were set to 0
even if the checksum i

Fix udpcsum-rx bug on fragmented case this time.
- Fix the usage of a local variable for csum_flags.
- It seemd that sometimes MVGBE_RX_L4_CHECKSUM_OK bit were set to 0
even if the checksum is correct and the packet was not fragmented.
So we don't set M_CSUM_TCP_UDP_BAD even if csum bit is 0.

show more ...


# 25e54456 02-Oct-2012 msaitoh <msaitoh@NetBSD.org>

- Fix a bug that a fragmented packet is marked as bad checksum. It causes
a real bug when HW checksum offload function is used. It was easy to
reproduce with NFS UDP mount.
- Fix a potential bug

- Fix a bug that a fragmented packet is marked as bad checksum. It causes
a real bug when HW checksum offload function is used. It was easy to
reproduce with NFS UDP mount.
- Fix a potential bug that a packet other than TCP and UDP is marked as bad
checksum.

show more ...


# 0131edcf 21-Sep-2012 msaitoh <msaitoh@NetBSD.org>

Fix device timeout problem.
- Change the synching order of descriptors. First, sync descriptors except
first and then sync the first descriptor.
- To recover from an race condition, reduce the if_t

Fix device timeout problem.
- Change the synching order of descriptors. First, sync descriptors except
first and then sync the first descriptor.
- To recover from an race condition, reduce the if_timer from 5 to 1 and
when timeout occur write MVGBE_TQC_ENQ bit again.

show more ...


# fb946502 06-Sep-2012 msaitoh <msaitoh@NetBSD.org>

Add missing bus_dmamap_sync() for the RX buffer.


# e20bd029 22-Jul-2012 matt <matt@NetBSD.org>

Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes
problem with a common MDIO bus used for multiple interfaces.
Some drivers converted to CFATTACL_DECL_NEW.


# fac42626 18-Jul-2012 kiyohara <kiyohara@NetBSD.org>

Add 88F6282. tested only OpenBlockS A6.
Also fix irq 11 to 15. irq of 2nd NIC is 15.
Remove white-space.


123