Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: beyer@athena.uto.dec.com (Peter Beyer)
Subject: Re: TORBOchannel bus clock
Date: Wed, 30 Jun 1993 10:53:31 GMT	[thread overview]
Message-ID: <1993Jun30.105331.8154@e2big.mko.dec.com> (raw)
In-Reply-To: 1993Jun30.104809@zelux7.zel.kfa-juelich.de


In article <1993Jun30.104809@zelux7.zel.kfa-juelich.de>, holzer@zelux7.zel.kfa-juelich.de
 (Juergen Holzer) writes:
|>
|>Hi,
|>To use a hardware driver on different TURBOchannel systems it requires an
|>adaption to the bus clock(25MHz or 12.5MHz). Is there any possibility to get
|>information from the systems themselves about the used bus clock to automate
|>this adaption within the driver without any user action?
|>
|>Thanks in advance!
|>

I've written a few drivers for TURBOchannel in the past, but never needed
to know the difference in bus clock speed. So why do you want to know?

There is no information in the system which tells "This is a 12.5 MHz
TURBOchannel". The only way you can do this, is by using the cpu type
and knowing in your driver that this cpu has a 12.5 Meg TURBOchannel.

On ULTRIX you could do a check in global variable "cpu".
See /sys/machine/common/cpuconf.h. VMS has macros to find the cpu type...

/Peter
--

Peter Beyer
Windows, Graphics & Multimedia
Digital Equipment b.v.
beyer@utrtsc.enet.dec.com
beyer@athena.uto.dec.com


      reply	other threads:[~1993-06-30 10:53 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1993-06-30  8:54 TORBOchannel bus clock Juergen Holzer
1993-06-30 10:53 ` Peter Beyer [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox