Date: Sun, 11 Mar 2012 11:19:03 -0400 From: Patrick Kelsey <kelsey@ieee.org> To: Adrian Chadd <adrian@freebsd.org> Cc: freebsd-mips@freebsd.org Subject: Re: [PATCH] MikroTik RB450G support Message-ID: <CAD44qMWkWB6eqe%2BXyfFq9Tam=OLPowiMEgri_8BYw9AbPbdK6Q@mail.gmail.com> In-Reply-To: <CAJ-VmomZiutERg4YcTDUCAOC9Wwx5Gsdei4E-iSvszAw6H81SQ@mail.gmail.com> References: <CAD44qMV=PEv3DFU7z1S=UhOYO3YMi7zqg7rsjn1zByTpN7ZxgA@mail.gmail.com> <CAJ-VmomZiutERg4YcTDUCAOC9Wwx5Gsdei4E-iSvszAw6H81SQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--20cf307d01d867342204baf9259d Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Mar 10, 2012 at 10:44 PM, Adrian Chadd <adrian@freebsd.org> wrote: > Thanks for this! Thanks for taking a look! > The arge patch for board info should be something chip specific, > rather than always compiled in. > > The board model thing should be an environment variable, rather than > hard-coded in the driver. =A0What's it needed for, anyway? Are the MAC > addresses reversed? On the RB450G, the typical config seems to be to have arge1 connected to the lowest numbered front panel port, with the base MAC address assigned. In the updated patch (attached), I did away with the board model logic and replaced it with a mac_offset hint, which is a generic solution that is also more concise and flexible. I also cleaned up the patch to ar71xx_machdep.c, which was needlessly putting the board_model in a global when it was already available in the environment via the existing HEAD code. The only change remaining then for the RB450 is to extract the mem size from argv. > The MII speed thing is good, I've been wondering about adding more MII > config stuff to the ar71xx code. But we'll have to ensure it's set > correctly for the AR91xx and AR724x code. I currently have no knowledge of the AR91xx and AR724x requirements. As far as I can tell, and I'm not authoritative on this by any means, setting the MII speed on AR71xx is only relevant when operating in MII/RMII mode. The RB450G runs in RGMII mode, and empirically doesn't seem to be affected by setting the MII speed to any value, so I'd have no objection if this part of the patch is put off until questions can be resolved. Perhaps this should be broken out into a separate patch. -Patrick --20cf307d01d867342204baf9259d Content-Type: application/octet-stream; name="rb450_support_pass2.diff" Content-Disposition: attachment; filename="rb450_support_pass2.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gzo7kxz50 SW5kZXg6IHN5cy9taXBzL2NvbmYvUkI0NTAuaGludHMKPT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL21pcHMv Y29uZi9SQjQ1MC5oaW50cwkocmV2aXNpb24gMCkKKysrIHN5cy9taXBzL2NvbmYvUkI0NTAuaGlu dHMJKHJldmlzaW9uIDApCkBAIC0wLDAgKzEsNzIgQEAKKyMKKyMgJEZyZWVCU0QkCisjCitoaW50 LmFwYi4wLmF0PSJuZXh1czAiCitoaW50LmFwYi4wLmlycT00CisKKyMgdWFydDAKK2hpbnQudWFy dC4wLmF0PSJhcGIwIgorIyBzZWUgYXRoZXJvcy91YXJ0X2NwdV9hcjcxeHguYyB3aHkgKzMKK2hp bnQudWFydC4wLm1hZGRyPTB4MTgwMjAwMDMKK2hpbnQudWFydC4wLm1zaXplPTB4MTgKK2hpbnQu dWFydC4wLmlycT0zCisKKyNvaGNpCisjaGludC5vaGNpLjAuYXQ9ImFwYjAiCisjaGludC5vaGNp LjAubWFkZHI9MHgxYzAwMDAwMAorI2hpbnQub2hjaS4wLm1zaXplPTB4MDEwMDAwMDAKKyNoaW50 Lm9oY2kuMC5pcnE9NgorCisjZWhjaQorI2hpbnQuZWhjaS4wLmF0PSJuZXh1czAiCisjaGludC5l aGNpLjAubWFkZHI9MHgxYjAwMDAwMAorI2hpbnQuZWhjaS4wLm1zaXplPTB4MDEwMDAwMDAKKyNo aW50LmVoY2kuMC5pcnE9MQorCisjIHBjaQorI2hpbnQucGNpYi4wLmF0PSJuZXh1czAiCisjaGlu dC5wY2liLjAuaXJxPTAKKworaGludC5hcmdlLjAuYXQ9Im5leHVzMCIKK2hpbnQuYXJnZS4wLm1h ZGRyPTB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PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gc3lzL21pcHMvY29u Zi9SQjRYWAkocmV2aXNpb24gMCkKKysrIHN5cy9taXBzL2NvbmYvUkI0WFgJKHJldmlzaW9uIDAp CkBAIC0wLDAgKzEsMTMyIEBACisjCisjICRGcmVlQlNEJAorIworCitpZGVudAkJUkI0WFgKK21h a2VvcHRpb25zCVRBUkdFVF9CSUdfRU5ESUFOCittYWtlb3B0aW9ucwlLRVJOTE9BREFERFI9MHg4 MDA1MDAwMAorb3B0aW9ucwkJSFo9MTAwMAorb3B0aW9ucwkJSFdQTUNfSE9PS1MKKworaGludHMJ CSJSQjQ1MC5oaW50cyIKKworaW5jbHVkZQkJIi4uL2F0aGVyb3Mvc3RkLmFyNzF4eCIKKworI21h a2VvcHRpb25zCURFQlVHPS1nCQkjQnVpbGQga2VybmVsIHdpdGggZ2RiKDEpIGRlYnVnIHN5bWJv bHMKK21ha2VvcHRpb25zCU1PRFVMRVNfT1ZFUlJJREU9IiIKKworI29wdGlvbnMJCUREQgorI29w dGlvbnMJCUtEQgorCitvcHRpb25zCQlTQ0hFRF80QlNECQkjNEJTRCBzY2hlZHVsZXIKK29wdGlv bnMJCUlORVQJCQkjSW50ZXJORVR3b3JraW5nCitvcHRpb25zCQlORlNDTAkJCSNOZXR3b3JrIEZp bGVzeXN0ZW0gQ2xpZW50CitvcHRpb25zCQlORlNDTElFTlQJCSNOZXR3b3JrIEZpbGVzeXN0ZW0g Q2xpZW50CitvcHRpb25zCQlORlNfUk9PVAkJI05GUyB1c2FibGUgYXMgLywgcmVxdWlyZXMgTkZT Q0xJRU5UCitvcHRpb25zCQlQU0VVRE9GUwkJI1BzZXVkby1maWxlc3lzdGVtIGZyYW1ld29yawor b3B0aW9ucwkJX0tQT1NJWF9QUklPUklUWV9TQ0hFRFVMSU5HICNQb3NpeCBQMTAwM18xQiByZWFs LXRpbWUgZXh0ZW5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ICAgQVI3MVhYX1BMTF9FVEgxX1NISUZUKTsKKwkJYXI3MXh4 X2NoaXBfc2V0X21paV9zcGVlZChBUjcxWFhfTUlJMV9DVFJMLCBjdHJsKTsKIAkJYnJlYWs7CiAJ ZGVmYXVsdDoKIAkJcHJpbnRmKCIlczogaW52YWxpZCBQTEwgc2V0IGZvciBhcmdlIHVuaXQ6ICVk XG4iLApJbmRleDogc3lzL21pcHMvYXRoZXJvcy9hcjcxeHhyZWcuaAo9PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBz eXMvbWlwcy9hdGhlcm9zL2FyNzF4eHJlZy5oCShyZXZpc2lvbiAyMzI3MjUpCisrKyBzeXMvbWlw cy9hdGhlcm9zL2FyNzF4eHJlZy5oCSh3b3JraW5nIGNvcHkpCkBAIC0yNzAsNiArMjcwLDEzIEBA CiAvKgogICogR2lnRSBhZGFwdGVycyByZWdpb24KICAqLworI2RlZmluZSBBUjcxWFhfTUlJMF9D VFJMCTB4MTgwNzAwMDAKKyNkZWZpbmUgQVI3MVhYX01JSTFfQ1RSTAkweDE4MDcwMDA0CisjZGVm aW5lCQlNSUlfQ1RSTF9TUEVFRF9TSElGVAk0CisjZGVmaW5lCQlNSUlfQ1RSTF9TUEVFRF9NQVNL CTMKKyNkZWZpbmUJCU1JSV9DVFJMX1NQRUVEXzEwCTAKKyNkZWZpbmUJCU1JSV9DVFJMX1NQRUVE XzEwMAkxCisjZGVmaW5lCQlNSUlfQ1RSTF9TUEVFRF8xMDAwCTIKICNkZWZpbmUgQVI3MVhYX01B QzBfQkFTRQkweDE5MDAwMDAwCiAjZGVmaW5lIEFSNzFYWF9NQUMxX0JBU0UJMHgxQTAwMDAwMAog LyoK --20cf307d01d867342204baf9259d--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD44qMWkWB6eqe%2BXyfFq9Tam=OLPowiMEgri_8BYw9AbPbdK6Q>