On 2011-08-16 11:51 AM, Mark Deneen wrote:
The following patch adds preliminary support for the Buffalo
WZR-HP-G300NH2. Here is the current state:
* Ethernet switch (AR8316) is functional. eth1 is not connected, so
the WAN port is simulated using a vlan.
* pci wlan (AR9280 Rev:2), is functional.
* flash, obviously, is functional. It is nearly identical to the
setup used in the AG300H and the code could easily be shared between
the two.
* GPIO switches, except for the AOSS button
* A single LED, the diagnostic button, is functional.
* USB is functional
The other LEDs and possibly the AOSS button are connected to GPIOs of
the wireless mac. nbd kindly offered to look into exposing the ath9k
GPIOs so that we can have a complete GPIO implementation.
Many thanks to KanjiMonster and nbd for helping me find my way through
the OpenWRT source.
This patch applies cleanly to r28009. Boot log: http://pastebin.com/SVzMn1gi
Please let me know if there is anything which I have overlooked.
Looks mostly fine to me on a first quick look (aside from some
whitespace vs tab issues).
Before we accept this, I want to split out the mtd concat code from
WZR-HP-AG300H, so that the mach file for this device can share it
without adding more unnecessary code duplication.
- Felix
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel