|
|
u.u_error
to ENXIO, and return.
u.u_error
to ENODEV, and return.
The sample driver registers only the strategy( ), read( ), and write( ) routines as multithreaded. Allowing other routines to run only on the base CPU does not significantly impact performance and simplifies multithreading from I/O assymetrical multiprocessor systems where some CPUs cannot access the I/O bus.
If the test fails, wake up each device served by your driver by sending a command. The sample driver does this in its Sflpopen_exit( ) routine.
printcfg("adapter",base,end,vec,dma,"type=dpt");The output from this call will be similar to:
adapter 0x5C80-0x5C90 14 - type=dptSee the sample driver to see how this information is gathered throughout the Sflpopen( ) routine.
``OSDI SCSI driver interface version for SCO OpenServer 5'' in HDK Technical Reference