From owner-cvs-src@FreeBSD.ORG Fri Jul 14 21:57:03 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1978D16A4DD; Fri, 14 Jul 2006 21:57:03 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (vc4-2-0-87.dsl.netrack.net [199.45.160.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E76B43D6D; Fri, 14 Jul 2006 21:57:00 +0000 (GMT) (envelope-from imp@bsdimp.com) Received: from localhost (localhost.village.org [127.0.0.1] (may be forged)) by harmony.bsdimp.com (8.13.4/8.13.4) with ESMTP id k6ELrhkP026919; Fri, 14 Jul 2006 15:53:44 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Fri, 14 Jul 2006 15:53:55 -0600 (MDT) Message-Id: <20060714.155355.255408591.imp@bsdimp.com> To: scottl@samsco.org From: "M. Warner Losh" In-Reply-To: <44B81042.2090009@samsco.org> References: <200607142135.k6ELZxol050056@repoman.freebsd.org> <44B81042.2090009@samsco.org> X-Mailer: Mew version 4.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (harmony.bsdimp.com [127.0.0.1]); Fri, 14 Jul 2006 15:53:44 -0600 (MDT) Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/arm/at91 at91_spi.c at91_spiio.h at91_spireg.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 21:57:03 -0000 In message: <44B81042.2090009@samsco.org> Scott Long writes: : Warner Losh wrote: : > imp 2006-07-14 21:35:59 UTC : > : > FreeBSD src repository : > : > Modified files: : > sys/arm/at91 at91_spi.c at91_spireg.h : > Removed files: : > sys/arm/at91 at91_spiio.h : > Log: : > MF p4: : > : > Adapt to forthcoming spi framework. The ioctls for SPI commands and such : > belong in the higher level driver. : > : : SCSI Parallel Interface? SPI == Serial Peripheral Interface. It is common in the embedded world. The 'bus' is nothing more than 4 signals: chip select, clock, MOSI (master out, slave in) and MISO (master in, slave out). Lots of cool things live on the spi bus, but I'll just be committing support for AT45 DataFlash parts. The framework is general enough to support other things. In one of the hardware hacking lists I'm on, people were talking about writing a driver for a SPI Ethernet whatsit, but I'm unsure how that works, since there's no interrupt signal on this bus... Warner