From: Alessandro Zummo Subject: Re: [PATCH v2] Add Dallas DS1390 RTC chip Date: Mon, 20 Oct 2008 11:46:07 +0200 Message-ID: <20081020114607.1b0299cb@i1501.lan.towertech.it> References: <48FC442E.9070206@mimc.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, dbrownell-Rn4VEauK+AKRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, lkml , rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To: Mark Jackson Return-path: In-Reply-To: <48FC442E.9070206-kZtEnBLzDKq1Qrn1Bg8BZw@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Mon, 20 Oct 2008 09:41:18 +0100 Mark Jackson wrote: > +struct ds1390 { > + struct rtc_device *rtc; > + u8 buf[9]; /* cmd + 8 registers */ > + u8 tx_buf[2]; > + u8 rx_buf[2]; > +}; > + don't we still have too many buffers? the use of bin2bcd an bcd2bin (lowercase) would also be appreciated. -- Best regards, Alessandro Zummo, Tower Technologies - Torino, Italy http://www.towertech.it ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/