From owner-p4-projects@FreeBSD.ORG Fri Jul 7 01:35:52 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 C3E6916A4E0; Fri, 7 Jul 2006 01:35:52 +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 9E14216A4DE for ; Fri, 7 Jul 2006 01:35:52 +0000 (UTC) (envelope-from imp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F46443D46 for ; Fri, 7 Jul 2006 01:35:51 +0000 (GMT) (envelope-from imp@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 k671ZpU6075487 for ; Fri, 7 Jul 2006 01:35:51 GMT (envelope-from imp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k671ZoDg075484 for perforce@freebsd.org; Fri, 7 Jul 2006 01:35:50 GMT (envelope-from imp@freebsd.org) Date: Fri, 7 Jul 2006 01:35:50 GMT Message-Id: <200607070135.k671ZoDg075484@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to imp@freebsd.org using -f From: Warner Losh To: Perforce Change Reviews Cc: Subject: PERFORCE change 100827 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: Fri, 07 Jul 2006 01:35:53 -0000 http://perforce.freebsd.org/chv.cgi?CH=100827 Change 100827 by imp@imp_lighthouse on 2006/07/07 01:35:16 Start of a driver for the TC (Time Counter) device. This oddball little unit won't be used much in TCS's application, so most of the driver will be #ifdef TSC for our high-precision timecounter. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91.c#18 edit .. //depot/projects/arm/src/sys/arm/at91/at91_tc.c#1 add .. //depot/projects/arm/src/sys/arm/at91/at91_tcreg.h#1 add .. //depot/projects/arm/src/sys/arm/at91/files.at91#8 edit .. //depot/projects/arm/src/sys/arm/conf/TSC4370#2 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91.c#18 (text+ko) ==== ==== //depot/projects/arm/src/sys/arm/at91/files.at91#8 (text) ==== @@ -9,6 +9,7 @@ arm/at91/at91_rtc.c standard arm/at91/at91_ssc.c optional at91_ssc arm/at91/at91_spi.c optional at91_spi +arm/at91/at91_tc.c optional at91_tc arm/at91/at91_twi.c optional at91_twi arm/at91/at91_udp.c optional at91_udp arm/at91/if_ate.c optional ate ==== //depot/projects/arm/src/sys/arm/conf/TSC4370#2 (text+ko) ==== @@ -95,9 +95,10 @@ device mem # Memory and kernel memory devices device md -device at91_twi # TWI: Two Wire Interface +device at91_twi # TWI: Two Wire Interface device at91_spi # SPI: device at91_ssc +device at91_tc # iic device iic device iicbus