From owner-freebsd-scsi Mon Nov 20 3:26:41 2000 Delivered-To: freebsd-scsi@freebsd.org Received: from hotmail.com (f151.pav1.hotmail.com [64.4.31.151]) by hub.freebsd.org (Postfix) with ESMTP id 82EA137B479; Mon, 20 Nov 2000 03:26:38 -0800 (PST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 20 Nov 2000 03:26:38 -0800 Received: from 202.109.0.100 by pv1fd.pav1.hotmail.msn.com with HTTP; Mon, 20 Nov 2000 11:26:38 GMT X-Originating-IP: [202.109.0.100] From: "bsdnewbie bsdnewbie" To: msmith@freebsd.org Cc: freebsd-scsi@FreeBSD.org Subject: Re: _ioctl with scsi drivers? Date: Mon, 20 Nov 2000 19:26:38 CST Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Nov 2000 11:26:38.0324 (UTC) FILETIME=[BF619B40:01C052E4] Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >From: Mike Smith >To: "bsdnewbie bsdnewbie" >CC: freebsd-scsi@FreeBSD.org >Subject: Re: _ioctl with scsi drivers? >Date: Mon, 20 Nov 2000 03:03:09 -0800 > > > Hi, > > I wanna to talk with scsi drivers, how to modify them? Is there any > > examples? I have not see any ioctl in aha or aic7xxx. Or I have to >make a > > device file and then talk with scsi drivers via the device file? > >This depends a lot on what you're trying to achieve by doing this. Are >you trying to write your own SCSI driver, or modify an existing one? > >In many cases, you may find that using a sysctl node is the easiest way >to go. > >-- >... every activity meets with opposition, everyone who acts has his >rivals and unfortunately opponents also. But not because people want >to be opponents, rather because the tasks and relationships force >people to take different points of view. [Dr. Fritz Todt] > V I C T O R Y N O T V E N G E A N C E > > Thanks a alot. I'm writing my own scsi driver and want to inspect the status of the card, so I need a ioctl. And I also need to set the parameters of my card. Therefore, I need a function like ioctl. Thank you best regards bsdnewbie, Nov 20, 2k _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message