#
4ff2f60d |
| 02-Mar-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Add ATU flush support.
The OpenWRT AR8xxx switch support flushes the ATU (address translation unit) after each port link 'up' status change. I've modified this to just flush on any port transition.
Add ATU flush support.
The OpenWRT AR8xxx switch support flushes the ATU (address translation unit) after each port link 'up' status change. I've modified this to just flush on any port transition.
Whilst here, bump the number of ports on the AR8327 to 6, rather than the default of 5. It's DB120 specific; I'll go and make this configurable later.
There's some debugging code in here still; I am still debugging whether this is or isn't working fully.
Tested:
* DB120, AR9344 + AR8327 switch
Obtained from: OpenWRT
show more ...
|
#
c3bb5171 |
| 25-Feb-2014 |
Dimitry Andric <dim@FreeBSD.org> |
Merge from head up to r262472.
|
#
9ab21e32 |
| 24-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Add in port0/port6 configuration as part of the platform data code path.
It's still hardcoded (for db120) but it is now hardcoded in all the same place (ie, the pdata path.) The port config/status
Add in port0/port6 configuration as part of the platform data code path.
It's still hardcoded (for db120) but it is now hardcoded in all the same place (ie, the pdata path.) The port config/status code now checks port0/port6 as appropriate to configure things.
Tested:
* Qualcomm Atheros DB120, AR8327 switch.
show more ...
|
#
570c2125 |
| 24-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
* Ensure enough ports/phys are available for both the AR8327 and previous switches.
* Add some new VLAN HAL methods that will be used by the VLAN configuration code. The AR933x and later switch
* Ensure enough ports/phys are available for both the AR8327 and previous switches.
* Add some new VLAN HAL methods that will be used by the VLAN configuration code. The AR933x and later switches use slightly different register layouts (even though the driver currently doesn't support it.)
show more ...
|
#
c98bb15d |
| 21-Feb-2014 |
Glen Barber <gjb@FreeBSD.org> |
MFH: tracking commit
Sponsored by: The FreeBSD Foundation
|
#
2bddba6a |
| 19-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Add methods for the VLAN port set/get routines.
The registers (and perhaps the flags) are different for the AR8327, so I'll stub those out until they're written.
Tested:
* DB120 - both on-chip AR9
Add methods for the VLAN port set/get routines.
The registers (and perhaps the flags) are different for the AR8327, so I'll stub those out until they're written.
Tested:
* DB120 - both on-chip AR9340 and AR8327 switches.
show more ...
|
#
e3ba3a89 |
| 19-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Add a new method to set up the individual port in question.
The AR8327 requires some different setup code.
|
#
0e67bf94 |
| 19-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Add in the AR8327 probe/attach code and switch type.
It detects fine, but (as expected) it won't attach just yet, let alone pass traffic.
Tested:
* DB120, AR8327 switch
|
#
dd843f87 |
| 19-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Store away the chip version and revision; some AR8327 code depends upon the chip revision.
|
#
26ca36d4 |
| 19-Feb-2014 |
Adrian Chadd <adrian@FreeBSD.org> |
Add in a flag to control whether the low or high data word of a register access is latched in first.
The AR8327 apparently requires the low data word be latched in first.
Obtained from: Linux OpenW
Add in a flag to control whether the low or high data word of a register access is latched in first.
The AR8327 apparently requires the low data word be latched in first.
Obtained from: Linux OpenWRT
show more ...
|
#
485ac45a |
| 04-Feb-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r259205 in preparation for some SVM updates. (for real this time)
|
Revision tags: release/10.0.0 |
|
#
0bfd163f |
| 18-Oct-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r233826 through r256722.
|
#
657b8479 |
| 16-Oct-2013 |
Adrian Chadd <adrian@FreeBSD.org> |
Prepare to link in the AR934x SoC switch support.
* Add an AR9340 switch version entry; * Support the switch being connected via MII; * Add a flag to note that a switch is actually an internal swi
Prepare to link in the AR934x SoC switch support.
* Add an AR9340 switch version entry; * Support the switch being connected via MII; * Add a flag to note that a switch is actually an internal switch rather than an external switch.
Now:
* The ar9340 switch can interconnect via MII; * Since some slightly different phy/switch register access methods and quirks appear for the internal versus external switch, we will need a flag to mark it as an "internal" switch.
Tested:
* AR9344 (internal switch) * AR9331 (internal switch)
TODO:
* Test the AR8316 switch!
show more ...
|
#
1ccca3b5 |
| 10-Oct-2013 |
Alan Somers <asomers@FreeBSD.org> |
IFC @256277
Approved by: ken (mentor)
|
Revision tags: release/9.2.0 |
|
#
d1d01586 |
| 05-Sep-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head
|
#
40f65a4d |
| 07-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r254014
|
#
672ed870 |
| 02-Aug-2013 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r253862
- change the SI_SUB_RUN_SCHEDULER sysinits in hv_utilc and hv_netvsc_drv_freebsd.c to SI_SUB_KTHREAD_IDLE, since the former is no longer in FreeBSD. The use of these SYSINITs can pro
IFC @ r253862
- change the SI_SUB_RUN_SCHEDULER sysinits in hv_utilc and hv_netvsc_drv_freebsd.c to SI_SUB_KTHREAD_IDLE, since the former is no longer in FreeBSD. The use of these SYSINITs can probably be removed.
show more ...
|
#
b9f07b86 |
| 23-Jul-2013 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Add the support for 802.1q and port based vlans for arswitch.
Tested on: RB450G (standalone ar8316), RSPRO (standalone ar8316) and TPLink MR-3220 (ar724x integrated switch).
Approved by: adrian (me
Add the support for 802.1q and port based vlans for arswitch.
Tested on: RB450G (standalone ar8316), RSPRO (standalone ar8316) and TPLink MR-3220 (ar724x integrated switch).
Approved by: adrian (mentor) Obtained from: zrouter
show more ...
|
#
9604b6ac |
| 23-Jul-2013 |
Luiz Otavio O Souza <loos@FreeBSD.org> |
Fix the arswitch instability problem. It turns out that the arswitch_writereg() routine was writing the registers in the wrong order.
Revert -r241918 as the root problem is now fixed. Remove anothe
Fix the arswitch instability problem. It turns out that the arswitch_writereg() routine was writing the registers in the wrong order.
Revert -r241918 as the root problem is now fixed. Remove another workaround from arswitch_ar7240.c.
Simplify and fix the code on arswitch_writephy() by using arswitch_writereg().
While here remove a redundant declaration from arswitchvar.h.
Approved by: adrian (mentor)
show more ...
|
#
cfe30d02 |
| 19-Jun-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge fresh head.
|
Revision tags: release/8.4.0, release/9.1.0 |
|
#
300675f6 |
| 27-Nov-2012 |
Alexander Motin <mav@FreeBSD.org> |
MFC
|
#
a10c6f55 |
| 11-Nov-2012 |
Neel Natu <neel@FreeBSD.org> |
IFC @ r242684
|
#
23090366 |
| 04-Nov-2012 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Sync from head
|
#
3d094897 |
| 11-Oct-2012 |
Aleksandr Rybalko <ray@FreeBSD.org> |
Fix tiypo.
Submitted by: Luiz Otavio O Souza Approved by: adrian (mentor)
|
#
b652778e |
| 11-Jul-2012 |
Peter Grehan <grehan@FreeBSD.org> |
IFC @ r238370
|