From owner-freebsd-embedded@FreeBSD.ORG Fri Dec 16 01:29:58 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 099B3106564A for ; Fri, 16 Dec 2011 01:29:58 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id ADCF08FC15 for ; Fri, 16 Dec 2011 01:29:57 +0000 (UTC) Received: by vcbfk1 with SMTP id fk1so3489427vcb.13 for ; Thu, 15 Dec 2011 17:29:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=WGsGTeqcwWNQyLTyUbykJXufiUXM4+IiIaVWVFP+Sl8=; b=ZmEu3eC6p7+y6lb1O3khUTJYd4iDVEDpGWj0G7JkoNeeHKR9pky80pKKTuZh0YJPjk TqFM74oYmXWQcm9STXn2clClwgBb+xDQGCcGlULW1ZzP5+Hb0nSwk+M4x/s/0evkDqcZ rwx8FCUbJMgA6KFaaqNzZlWDbBy5sEjPzqKyY= MIME-Version: 1.0 Received: by 10.52.175.9 with SMTP id bw9mr4736317vdc.130.1323998997112; Thu, 15 Dec 2011 17:29:57 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.52.26.50 with HTTP; Thu, 15 Dec 2011 17:29:57 -0800 (PST) In-Reply-To: References: <68ABED76-CB1F-405A-8036-EC254F7511FA@lassitu.de> <3B3DB17D-BF87-40EE-B1C1-445F178E8844@lassitu.de> <86030CEE-6839-4B96-ACDC-2BA9AC1E4AE4@lassitu.de> <2D625CC9-A0E3-47AA-A504-CE8FB2F90245@lassitu.de> <203BF1C8-D528-40C9-8611-9C7AC7E43BAB@lassitu.de> <3C0E9CA3-E130-4E9A-ABCC-1782E28999D1@lassitu.de> <6387ABA5-AC55-49DD-9058-E45CC0A3E0A0@lassitu.de> <74E4AF57-3D22-415E-B913-176753B09B16@lassitu.de> <710E2C7A-E9AC-4103-8C61-0EDC4A3AF9DE@lassitu.de> <24FB4633-B729-4582-9FF6-CA8656742985@lassitu.de> Date: Thu, 15 Dec 2011 17:29:57 -0800 X-Google-Sender-Auth: EnHcw77zExWBveYEUsoUuHIo824 Message-ID: From: Adrian Chadd To: Stefan Bethke Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-embedded@freebsd.org Subject: Re: TL-WR1043: switch X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 01:29:58 -0000 Hi! So I have it working; I've not tried vlans yet (I'm still building an updated world complete with your config tool) so I'll report when I've tested that, but so far so good. Both ports work, the default vlan tag works, port status seems to work. Thanks very much for this! So next is looking at ray@'s work in zrouter on the ar8216/ar8316 switch PHYs. There's going to be some rather (un) fun stuff, including figuring out what to do about gluing in ukphy/switchphy entries as needed, shared MII bus, etc. Question: the tplink 1043nd arge0 hints currently has a phymask of 0x000c, with a nailed up media/duplex. This avoids attaching a ukphy to the device. How should that now be handled? Instead of this phymask thing, add a flag which says "don't use a phy, we're attaching another way" so that code path doesn't run, but it doesn't try probing a PHY? Or? Adrian