Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!gem.mps.ohio-state.edu!ginosko!uunet!virtech!cpcahil From: cpcahil@virtech.UUCP (Conor P. Cahill) Newsgroups: comp.unix.questions Subject: Re: Motorolla Unix Device Drivers Keywords: Driver Message-ID: <1184@virtech.UUCP> Date: 20 Sep 89 02:54:38 GMT References: <232@melpar.UUCP> Organization: Virtual Technologies Inc Lines: 21 In article <232@melpar.UUCP>, dan@melpar.UUCP (Dan Pawlowski) writes: > 1. I am writing a Unix driver for a DMA device under system 5 release 3. > (Motorolla 68030-MVME147). > Is there any way to get to the strategy routine without calling it > explicitly from the write routine. Somehow I am getting to my strategy routine > from my application, by calling write, but not actually entering the write > entry point. Does anyone have an idea on what is happening? The strategy routine is normally used by the block i/o routines when a "dirty" block needs to be flushed. This would be asynchronous to writes. For block devices, the read/write system call operations will be performed by the system block i/o routines, not the device driver read/write routines. For character devices the device driver read/write routines will be used. -- +-----------------------------------------------------------------------+ | Conor P. Cahill uunet!virtech!cpcahil 703-430-9247 ! | Virtual Technologies Inc., P. O. Box 876, Sterling, VA 22170 | +-----------------------------------------------------------------------+