Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S268129AbUIPSRk (ORCPT ); Thu, 16 Sep 2004 14:17:40 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S268113AbUIPSRj (ORCPT ); Thu, 16 Sep 2004 14:17:39 -0400 Received: from twilight.ucw.cz ([81.30.235.3]:13972 "EHLO ucw.cz") by vger.kernel.org with ESMTP id S268410AbUIPSOr (ORCPT ); Thu, 16 Sep 2004 14:14:47 -0400 Date: Thu, 16 Sep 2004 20:14:26 +0200 From: Vojtech Pavlik To: Jesse Barnes Cc: Bjorn Helgaas , Christoph Lameter , linux-kernel@vger.kernel.org, Bob Picco , venkatesh.pallipadi@intel.com Subject: Re: device driver for the SGI system clock, mmtimer Message-ID: <20040916181426.GA5052@ucw.cz> References: <200409161003.39258.bjorn.helgaas@hp.com> <200409160909.12840.jbarnes@engr.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200409160909.12840.jbarnes@engr.sgi.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1354 Lines: 33 On Thu, Sep 16, 2004 at 09:09:12AM -0700, Jesse Barnes wrote: > On Thursday, September 16, 2004 9:03 am, Bjorn Helgaas wrote: > > Christoph Lameter wrote: > > > The timer hardware was designed around the multimedia timer specification > > > by Intel but to my knowledge only SGI has implemented that standard. The > > > driver was written by Jesse Barnes. > > > > As far as I can see, drivers/char/hpet.c talks to the same hardware. > > HP sx1000 machines (and probably others) also implement the HPET. > > No, it's different hardware. mmtimer and hpet are the same hardware actually, just a different specification revision, hpet being the newer one. > > I think you should look at adding your functionality to hpet.c > > rather than adding a new driver. > > I think Christoph already looked at that. And HPET doesn't provide mmap > functionality, does it? I.e. allow a userspace program to dereference the > counter register directly? HPET registers are MMIO so it's in theory possible, while not really useful if you're using it as your system timer as well. -- Vojtech Pavlik SuSE Labs, SuSE CR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/