From owner-freebsd-embedded@FreeBSD.ORG Fri Dec 2 19:45:22 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 997D4106566B for ; Fri, 2 Dec 2011 19:45:22 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate.funkthat.com [70.36.235.232]) by mx1.freebsd.org (Postfix) with ESMTP id 70FF18FC17 for ; Fri, 2 Dec 2011 19:45:22 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id pB2JBMw0000895 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 2 Dec 2011 11:11:23 -0800 (PST) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id pB2JBMSX000894; Fri, 2 Dec 2011 11:11:22 -0800 (PST) (envelope-from jmg) Date: Fri, 2 Dec 2011 11:11:22 -0800 From: John-Mark Gurney To: Aleksandr Rybalko Message-ID: <20111202191122.GK25601@funkthat.com> Mail-Followup-To: Aleksandr Rybalko , Adrian Chadd , freebsd-embedded@freebsd.org 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> <2B8826C7-00C7-4117-B424-4A86F1346DFF@bsdimp.com> <20111130231311.4a154bc5.ray@ddteam.net> <20111202164539.fff3ea91.ray@dlink.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111202164539.fff3ea91.ray@dlink.ua> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Fri, 02 Dec 2011 11:11:23 -0800 (PST) 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, 02 Dec 2011 19:45:22 -0000 Aleksandr Rybalko wrote this message on Fri, Dec 02, 2011 at 16:45 +0200: > On Fri, 2 Dec 2011 22:39:32 +0800 > Adrian Chadd wrote: > > >> .. erk. > >> > >> Well, what shall we do? Create a different driver? Or just enable a > >> "quirk" or configuration paramater, which allows the device to be > >> not-quite-i2c? > > It's too specific to Realtek, so from one point better to have > separate driver, but from another point it have i2c EEPROM on same bus. > So if we want to have access to both, we need quirk. Not to complicate things, but you could have a custom bus driver that provides an attachment for the standard i2c bus, and another attachment for the Realtek part... This custom bus driver would mediate access between the two... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."