Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jul 2001 16:08:27 -0400 (EDT)
From:      Kenneth Wayne Culver <culverk@wam.umd.edu>
To:        Juha.Nurmela@quicknet.inet.fi
Cc:        freebsd-current@freebsd.org
Subject:   Re: driver writing newbie
Message-ID:  <Pine.GSO.4.21.0107251608170.10112-100000@rac2.wam.umd.edu>
In-Reply-To: <Pine.BSF.4.10.10107251856400.704-100000@lpr-325.cable.inet.fi>

next in thread | previous in thread | raw e-mail | index | archive | help
I havn't checked, but I'll probably do that soon.

Ken

On Wed, 25 Jul 2001 Juha.Nurmela@quicknet.inet.fi wrote:

> 
> 
> On Wed, 25 Jul 2001, Kenneth Wayne Culver wrote:
> 
> > Well, I could do that, but I'd rather write a complete driver with all the
> > regular interfaces... (open, close, ioctl, and a specific major/minor in
> > the kernel, I'm going to add other chips to this driver eventually) The
> > way you are suggesting just opens /dev/io and uses inb and outb to do some
> > hacking around I believe.
> 
> You are absolutely correct. I was not suggesting this as the proper
> approach, but as a throw-away checkpoint only (the mapping registers
> seemed inconsistent between OS/motherboard combinations). I suppose
> 0x70 is for HWMon and 0x90 is for the SMBus function, in Via 686B.
> 
> Have you checked NetBSD, the seem to have a framework for temperature
> alarms etc.
> 
> 
> Juha
> 
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.21.0107251608170.10112-100000>