From owner-p4-projects@FreeBSD.ORG Sun Jun 18 20:04:23 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id E0D6A16A47E; Sun, 18 Jun 2006 20:04:22 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A483C16A47C for ; Sun, 18 Jun 2006 20:04:22 +0000 (UTC) (envelope-from cognet@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73FC143D46 for ; Sun, 18 Jun 2006 20:04:22 +0000 (GMT) (envelope-from cognet@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5IK4Mp1052768 for ; Sun, 18 Jun 2006 20:04:22 GMT (envelope-from cognet@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5IK4MRx052765 for perforce@freebsd.org; Sun, 18 Jun 2006 20:04:22 GMT (envelope-from cognet@freebsd.org) Date: Sun, 18 Jun 2006 20:04:22 GMT Message-Id: <200606182004.k5IK4MRx052765@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to cognet@freebsd.org using -f From: Olivier Houchard To: Perforce Change Reviews Cc: Subject: PERFORCE change 99554 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jun 2006 20:04:23 -0000 http://perforce.freebsd.org/chv.cgi?CH=99554 Change 99554 by cognet@cognet on 2006/06/18 20:04:18 #ifdef BOOT_TSC some code which is only used in the BOOT_TSC case. Affected files ... .. //depot/projects/arm/src/sys/boot/arm/at91/libat91/emac.c#17 edit Differences ... ==== //depot/projects/arm/src/sys/boot/arm/at91/libat91/emac.c#17 (text+ko) ==== @@ -361,6 +361,7 @@ * This private function reads the PHY device. * .KB_C_FN_DEFINITION_END */ +#ifdef BOOT_TSC static unsigned short AT91F_MII_WritePhy (AT91PS_EMAC pEmac, unsigned char addr, unsigned short s) { @@ -372,6 +373,7 @@ pEmac->EMAC_CTL &= ~AT91C_EMAC_MPE; return (pEmac->EMAC_MAN & 0x0000ffff); } +#endif /* * .KB_C_FN_DEFINITION_START @@ -384,8 +386,10 @@ { unsigned short stat2; unsigned update; +#ifdef BOOT_TSC unsigned sec; int i; +#endif #if 0 // AT91F_MII_WritePhy(pEmac, 20, 0x70);