Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Aug 1997 09:43:12 +0200 (CEST)
From:      hm@kts.org (Hellmuth Michaelis)
To:        Shimon@i-Connect.Net (Simon Shapiro)
Cc:        FreeBSD-Hackers@FreeBSD.ORG
Subject:   Re: Kernel howto, Second Request
Message-ID:  <m0wuYqG-00003bC@bert.kts.org>
In-Reply-To: <XFMail.970801130025.Shimon@i-Connect.Net> from Simon Shapiro at "Aug 1, 97 01:00:25 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Simon Shapiro wrote:

> How do I find the following, from a device driver?
> 
>   Drive Type in CMOS Drive 0
> 
>   Drive Type in CMOS Drive 1
> 
>   Number of drives (in CMOS location 40:75

This can be found in the bios equipment byte, you can get this
by calling rtcin(RTC_EQUIPMENT) and decode the result according
to a bios ref manual.

hellmuth
-- 
Hellmuth Michaelis                hm@kts.org                   Hamburg, Europe
       There is a difference between an open mind and a hole in the head



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0wuYqG-00003bC>