Motorolla Unix Device Drivers

Conor P. Cahill cpcahil at virtech.UUCP
Wed Sep 20 12:54:38 AEST 1989


In article <232 at melpar.UUCP>, dan at 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     |
+-----------------------------------------------------------------------+



More information about the Comp.unix.questions mailing list