Messages in this thread | | | From | Bjorn Helgaas <> | Subject | Re: device driver for the SGI system clock, mmtimer | Date | Mon, 20 Sep 2004 15:53:29 -0600 |
| |
On Thursday 16 September 2004 12:46 pm, Christoph Lameter wrote: > On Thu, 16 Sep 2004, Vojtech Pavlik wrote: > > mmtimer and hpet are the same hardware actually, just a different > > specification revision, hpet being the newer one. > > Its basically the same software API but different hardware.
OK, I guess I'm convinced that the SGI mmtimer and the HPET really are different things. It looks like the counter resolution, frequency, and size (which are all described in the HPET register set) are either compiled into mmtimer or discovered via special- purpose SGI hooks.
So maybe it's not really a good thing to integrate mmtimer and hpet. Apps that mmap the HPET will be expecting a certain register layout that mmtimer doesn't support.
I was confused because your mmtimer patch mentions the Intel spec, and the driver identifies itself as "IA-PC Multimedia Timer". My vote would be to leave mmtimer alone, and perhaps remove the references to the Intel spec and change the driver ident string. After all, it doesn't really implement very much of the HPET functionality, and I don't think the Intel spec says anything that relates to the SGI hardware. - 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/
| |