From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 27 03:25:41 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0ED1616A4CE for ; Thu, 27 Nov 2003 03:25:41 -0800 (PST) Received: from peedub.jennejohn.org (p213.54.229.155.tisdip.tiscali.de [213.54.229.155]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7AE9843FE5 for ; Thu, 27 Nov 2003 03:25:39 -0800 (PST) (envelope-from garyj@jennejohn.org) Received: from peedub.jennejohn.org (localhost [127.0.0.1]) by peedub.jennejohn.org (8.12.10/8.11.6) with ESMTP id hARBPTaF001704; Thu, 27 Nov 2003 12:25:30 +0100 (CET) (envelope-from garyj@peedub.jennejohn.org) Message-Id: <200311271125.hARBPTaF001704@peedub.jennejohn.org> X-Mailer: exmh version 2.6.3 04/04/2003 with nmh-1.0.4 To: Eduard Martinescu In-Reply-To: Message from Eduard Martinescu <1069700517.4505.0.camel@firestorm.crafts4life.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 27 Nov 2003 12:25:29 +0100 From: Gary Jennejohn cc: freebsd-hackers@freebsd.org Subject: Re: [Fwd: TWE driver IOCTL's] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Nov 2003 11:25:41 -0000 Eduard Martinescu writes: > Tried this on current, but no responses...maybe some one here has some ideas? > > Hello, > > I looking to extend the smartmontools support > (/usr/ports/sysutils/smartmontools) to include support for drives behind > a TWE device. > > I looked at the source for the TWE driver, and it seems to support what > I need....not sure yet, as the linux version use the ATA Passthru > IOCTL. At any rate, there does not appear to be any twe.h include files > installed into /usr/include anywhere for my program to be able to pick > the correct definitions. Is this just an oversight? Or did I miss > something? > Looks like an oversight. It seems that /sys/dev/twe/tweio.h should get installed into /usr/include/sys. Maybe /sys/dev/twe/twereg.h too, since that's where TWE_Command is defined, although not everything in there seems like it should be visible to the user. --- Gary Jennejohn / garyj[at]jennejohn.org gj[at]freebsd.org gj[at]denx.de