| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Let swconfig provide the cpu port index in its help page. This is
needed as e.g. Atheros switches have their cpu port at port 0, not
port 5.
This could allow e.g. luci to get a rough overview of the layout of
the switch.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 20939
|
|
|
|
|
|
|
|
|
|
|
|
| |
Swconfig needs to make sure that requested vlans/ports actually exist,
else it might read or modify memory not belonging to itself.
This patch adds a quick range check in swconfig's kernel part to
prevent accidential or intentional memory modification.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
SVN-Revision: 20811
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch is rather a cosmetic patch. It fixes the following issues:
* Demote the unknown device message to debug level to not spam
the log.
* Fix the version print of the unknown device message.
* Output the 'attach' message only when attaching as switch driver,
not when attaching as phy driver.
* Correctly return NET_RX_DROP when dropping packets.
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>
Cc: bacfire@openwrt.org
SVN-Revision: 20773
|
|
|
|
|
|
|
|
| |
Fixes broken ethernet on the Planex MZK-W04NU/W300NH boards.
Cc: bacfire@openwrt.org
SVN-Revision: 20753
|
|
|
|
|
|
|
|
|
|
| |
with ar8316 support and fixes some minor issues with the ar8216 driver itself. It should not break anything, but isn't tested on ar8216 devices.
[PATCH 2/2] ar71xx: Add the ar8316 driver to rs pro/rb-450g.
Add the ar8216 driver to the ar71xx target, and add network
configurations for the RouterStation Pro and the RouterBoard RB-450G.
SVN-Revision: 20722
|
|
|
|
| |
SVN-Revision: 20551
|
|
|
|
| |
SVN-Revision: 20110
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Create defines for some magic values/masks.
* Change vlan_id to u16, to allow VIDs > 255.
* Add a range check to set_pvid as it isn't a VID, but the index
in the vlan table.
* Set the max VID to 4094, since 4095 is a reserved value and
should not be used.
* In mangle_rx replace the provided VID with the VID of the table
entry of the port, not the index of the table.
* In hw_apply, remove a redundant emptyness check (was already
checked several lines above).
* In no vlan mode do not set the ingress mode to secure, as there
are no vlan table entries, but to use the port's destination
masks. Otherwise the switch won't forward anything.
* In read_status tell that the phy is up (taken from the rtl8306
driver).
SVN-Revision: 20083
|
|
|
|
|
|
| |
Thanks to Andrew Tarabaras.
SVN-Revision: 19837
|
|
|
|
| |
SVN-Revision: 19834
|
|
|
|
| |
SVN-Revision: 19402
|
|
|
|
| |
SVN-Revision: 19355
|
|
|
|
| |
SVN-Revision: 19329
|
|
|
|
|
|
| |
status reading and autonegotiation - the genphy driver does not handle it properly
SVN-Revision: 18709
|
|
|
|
|
|
| |
wrt160nl, fixes wan port detection (#6309)
SVN-Revision: 18699
|
|
|
|
| |
SVN-Revision: 18698
|
|
|
|
|
|
| |
files directory and remove patches for older kernel versions (no longer in use)
SVN-Revision: 17594
|
|
|
|
| |
SVN-Revision: 17248
|
|
|
|
|
|
| |
other drivers
SVN-Revision: 16770
|
|
|
|
| |
SVN-Revision: 16629
|
|
|
|
|
|
| |
corruption. use packet mangling to fix up the vlan for incoming packets (workaround for hardware bug, which renders normal 802.1q support unusable)
SVN-Revision: 16442
|
|
|
|
| |
SVN-Revision: 15506
|
|
|
|
|
|
| |
Inc. for providing access to the documentation
SVN-Revision: 15482
|
|
|
|
| |
SVN-Revision: 15470
|
|
|
|
|
|
| |
fix querying the phy status
SVN-Revision: 15308
|
|
|
|
|
|
| |
for transparently fixing up pvid for untagged port when setting vlan ports)
SVN-Revision: 15307
|
|
|
|
| |
SVN-Revision: 15305
|
|
|
|
| |
SVN-Revision: 15302
|
|
|
|
| |
SVN-Revision: 15301
|
|
|
|
| |
SVN-Revision: 15186
|
|
|
|
|
|
| |
(1,2) instead of (0,1) for lan/wan
SVN-Revision: 14981
|
|
|
|
|
|
| |
detection
SVN-Revision: 14977
|
|
|
|
| |
SVN-Revision: 13060
|
|
|
|
|
|
| |
now applies to *ALL* kernel versions, and is copied along with ./files-* - this gets rid of quite a bit of redundancy in the extra kernel drivers.
SVN-Revision: 13010
|
|
|
|
| |
SVN-Revision: 11895
|
|
|
|
|
|
| |
workaround for moving node bug: clear the ATU database on every PHY poll
SVN-Revision: 11881
|
|
|
|
| |
SVN-Revision: 11880
|
|
|
|
|
|
| |
fixes some fonera 2.0 ethernet issues
SVN-Revision: 11410
|
|
|
|
|
|
| |
proprietary header instead of a proprietary trailer) - fixes some mtu issues
SVN-Revision: 10975
|
|
|
|
| |
SVN-Revision: 10970
|
|
|
|
| |
SVN-Revision: 10934
|
|
|
|
|
|
| |
bridging issues
SVN-Revision: 10931
|
|
|
|
|
|
| |
and the upcoming Fonera 2.0
SVN-Revision: 10876
|
|
currently uses a hardcoded VLAN mapping and has no configuration yet Tested on Accton MR3202a
SVN-Revision: 10869
|