From owner-freebsd-hackers Sun Dec 27 03:01:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id DAA03159 for freebsd-hackers-outgoing; Sun, 27 Dec 1998 03:01:50 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from reliam.teaser.fr (reliam.teaser.fr [194.51.80.12]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id DAA03137 for ; Sun, 27 Dec 1998 03:01:36 -0800 (PST) (envelope-from son@teaser.fr) Received: from teaser.fr (ppp1087-ft.teaser.fr [194.206.156.40]) by reliam.teaser.fr (8.9.1a/8.9.1a) with ESMTP id MAA22860; Sun, 27 Dec 1998 12:01:09 +0100 (MET) Received: (from son@localhost) by teaser.fr (8.9.1/8.9.1) id SAA01088; Sat, 26 Dec 1998 18:52:57 GMT (envelope-from son) Message-ID: <19981226185257.20720@breizh.prism.uvsq.fr> Date: Sat, 26 Dec 1998 18:52:57 +0000 From: Nicolas Souchu To: Drew Baxter Cc: Julian Elischer , hackers@FreeBSD.ORG, Steve Friedrich , takawata@shidahara1.planet.sci.kobe-u.ac.jp Subject: Re: Mainboard Monitor Probes (Linux port too hard?) References: <19981220165555.52107@breizh.prism.uvsq.fr> <19981222011226.50577@breizh.prism.uvsq.fr> <4.1.19981223152411.00b4d2d0@genesis.ispace.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.81e In-Reply-To: <4.1.19981223152411.00b4d2d0@genesis.ispace.com>; from Drew Baxter on Wed, Dec 23, 1998 at 03:27:00PM -0500 X-Operating-System: FreeBSD breizh 3.0-CURRENT FreeBSD 3.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, Dec 23, 1998 at 03:27:00PM -0500, Drew Baxter wrote: > >The Linux stuff is GPL.. Perhaps it'd be more logical to use the Linux >material only as a reference and not to extract code from it.. That'd be a >sound way to get around that. Since most of the code does indeed rely on >the /proc, that's about all it's good for. Certainly. Looking at there code more deeply, most of it rely on the /proc architecture. I proposed them to move there code from outside the kernel and define a /dev interface we could be compatible with. /dev is the best solution I think since it could be shared with *BSD. Moreover, a /dev interface with ioctls would be really simple... with smb(4) as a start point. /usr/include/machine/smb.h defines ioctls, but we'll have to handle timing constraints too. A PIIX4 driver is available at http://www.freebsd.org/~nsouch/iicbus.html You may try it with smb(4) if you have the hardware. > > >--- >Drew "Droobie" Baxter >Network Admin/Professional Computer Nerd(TM) >OneEX: The OneNetwork Exchange, Bangor Maine USA >http://www.droo.orland.me.us > >PGP ID: 409A1F7D > > -- nsouch@teaser.fr / nsouch@freebsd.org FreeBSD - Turning PCs into workstations - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message