From owner-freebsd-arm@FreeBSD.ORG Thu Oct 31 03:21:38 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 31E998FE for ; Thu, 31 Oct 2013 03:21:38 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pb0-f49.google.com (mail-pb0-f49.google.com [209.85.160.49]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 08A6A2A91 for ; Thu, 31 Oct 2013 03:21:37 +0000 (UTC) Received: by mail-pb0-f49.google.com with SMTP id xb4so2283523pbc.8 for ; Wed, 30 Oct 2013 20:21:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=mvYlJOaxOiPDk5BEn+5ITzpWp9AaPYvEGpUtDK25Rrw=; b=g0RlCuS9DU46xHgyN9UsI6jVf2Gintl/EH6aOgx+xhHDmwMRQ6Lb5KQKNQbTDDPjgM n51L/ZCQr4M2vqupUXABduBmMlCNdPeuOI6BxFlZnJK1K1Tmw/FbKnamzzIqN9ntRbp1 01SgqfKhecEXGAEW8AHIxU+VgijAkorqO5IFJpDNJgbZucF0nNXPKRGBrJ4eIduWBTeo 8HnEJJvPFQo0YBSueoWj2oG2rQxDLMhHLOFo1IVtj1fE6HyiKZBBeF7wHp0TF61iBdkP GvMyjf2cQ9o4/Nt5VStPbtyEUM2p9jyqXhINWnbrmVwGXBiY8qF4AgljRn/l7j6zpdlV /v5A== X-Gm-Message-State: ALoCoQkx+Z0pDcEKespArfBM5DfbcrouVv3mWJEqUCKsX4DWNlpDgwmpC1JAr2R/iEDLbDiuVQza X-Received: by 10.68.197.165 with SMTP id iv5mr999309pbc.150.1383189691553; Wed, 30 Oct 2013 20:21:31 -0700 (PDT) Received: from 53.imp.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id ja5sm1251968pbc.14.2013.10.30.20.21.03 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 30 Oct 2013 20:21:28 -0700 (PDT) Sender: Warner Losh Subject: Re: Emac network driver for Allwinner A10/A20 Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Wed, 30 Oct 2013 21:20:47 -0600 Content-Transfer-Encoding: 7bit Message-Id: References: To: Ganbold Tsagaankhuu X-Mailer: Apple Mail (2.1085) 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:21:38 -0000 Cool! Is there some reason you didn't pull this information from the FDT blob? 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"