From owner-freebsd-arm@FreeBSD.ORG Thu Oct 31 03:26:45 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EE91BB2C for ; Thu, 31 Oct 2013 03:26:45 +0000 (UTC) (envelope-from ganbold@gmail.com) Received: from mail-ie0-x22c.google.com (mail-ie0-x22c.google.com [IPv6:2607:f8b0:4001:c03::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE39F2ABF for ; Thu, 31 Oct 2013 03:26:45 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id tp5so3914871ieb.31 for ; Wed, 30 Oct 2013 20:26:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UBu+r8z4EbXACj87cy+ffLqsNtY4x87fEerYBbmPSP8=; b=j0xX0ctN+fihLjiXTVSaU9icfOqHAnV7XyMPOKAeaqOgr7GexPkCsw7KACU2XAyxA9 auJrdT5vcGxtySf5mdNvgHFwP4qizNAt+DTl7C63CJWXkkU5g6LqsH7ZmgUJ3BdyfEvR GHrd357L3NfYuTZ/8q6g/iAs3s5U1eh5YMl6ZpjJQG6uXsjNGbv6KnNg6ZNQzqCCf38o HNqy2lbcbgwbczqM0mWYvHIQZUggRsn1nBeOVdl4v6OdFpKCFVdIoo090sgI+oEWrRav PO/RRHXFlDreVS+IP4bQRJljZ/ResEfAAPR2XxCMakrYjdUnWy4gpGiTD4awTYqSUkyX BPGw== MIME-Version: 1.0 X-Received: by 10.50.147.65 with SMTP id ti1mr4958150igb.12.1383190005056; Wed, 30 Oct 2013 20:26:45 -0700 (PDT) Received: by 10.64.18.14 with HTTP; Wed, 30 Oct 2013 20:26:44 -0700 (PDT) In-Reply-To: References: Date: Thu, 31 Oct 2013 11:26:44 +0800 Message-ID: Subject: Re: Emac network driver for Allwinner A10/A20 From: Ganbold Tsagaankhuu To: Warner Losh Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 03:26:46 -0000 Warner, On Thu, Oct 31, 2013 at 11:20 AM, Warner Losh wrote: > Cool! > > Is there some reason you didn't pull this information from the FDT blob? > Oh, I forgot other patches: https://github.com/tsgan/allwinner_a10/blob/master/emac_dts.patch https://github.com/tsgan/allwinner_a10/blob/master/emac_kernel_config.patch thanks, Ganbold > > Warner > > On Oct 30, 2013, at 9:02 PM, Ganbold Tsagaankhuu wrote: > > > Just small update for those who may be interested. > > > > I tried to write EMAC driver for Cubieboard1,2 and it is working now. > > I think it should work on other A10/A20 boards too. > > You can find the patch and necessary src files at: > > > > https://github.com/tsgan/allwinner_a10/blob/master/emac.patch > > > > https://github.com/tsgan/allwinner_a10/blob/master/if_emac.c > > > > https://github.com/tsgan/allwinner_a10/blob/master/if_emacreg.h > > > > https://github.com/tsgan/allwinner_a10/blob/master/a10_sramc.c > > > > https://github.com/tsgan/allwinner_a10/blob/master/a10_sramc.h > > > > https://github.com/tsgan/allwinner_a10/blob/master/a10_gpio.h > > > > Please let me know if there are any issues. > > > > thanks a lot, > > > > Ganbold > > _______________________________________________ > > freebsd-arm@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" > >