From owner-freebsd-hackers Fri Aug 1 13:00:31 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA08735 for hackers-outgoing; Fri, 1 Aug 1997 13:00:31 -0700 (PDT) Received: from sendero-ppp.i-connect.net (sendero-ppp.i-Connect.Net [206.190.143.100]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id NAA08729 for ; Fri, 1 Aug 1997 13:00:24 -0700 (PDT) Received: (qmail 5695 invoked by uid 1000); 1 Aug 1997 20:00:25 -0000 Message-ID: X-Mailer: XFMail 1.2-alpha [p0] on FreeBSD Content-Type: text/plain; charset=iso-8859-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Fri, 01 Aug 1997 13:00:25 -0700 (PDT) Organization: Atlas Telecom From: Simon Shapiro To: FreeBSD-Hackers@FreeBSD.ORG Subject: Kernel howto, Second Request Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Old, unanswered question: 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 Processor Family (i386 vs. Alpha, etc.) Procesor Type (386 vs. 486 vs. P5 vs P6, etc.) OS Major Version (version 1 vs. 2. vs 3 ) OS minor Version (x.1, etc.) OS Revision (or build number) Next Question: What is the equivalent of SysV physmap()? Physmap takes a physical memory address and returns a virtual address. I am trying to access certain memory location only known by physical addresses. Thanx, Simon