DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SCO OpenServer

print(D2oddi)


print -- report error during block I/O transfer

Synopsis

   void prefixprint (dev_t dev, char *str);

Description

The print( ) entry point routine sends warning messages from the driver to the console when the kernel detects abnormal situations during the block I/O operation that is executed by the strategy(D2oddi) routine.

Arguments


dev
device number

str
character string describing the problem. The nature of the problem contained in str should be included in the driver output.

Return values

None

Usage

Context and synchronization

Blockable context. The driver can block but cannot do operations such as copyout(D3) that require access to the requesting process's address space.

Hardware applicability

All

Version applicability

oddi: 1, 2, 2mp, 3, 3mp, 4, 4mp, 5, 5mp, 6, 6mp

SVR5 DDI compatibility

DDI drivers do not use a print( ) entry point routine. This functionality is built into the biostart(D2) entry point for DDI 8 and later drivers and the strategy(D2) entry point for DDI versions prior to version 8.

External dependencies

Drivers that contain a print( ) routine must have a b in the second column of the mdevice(F) file to indicate that it is a block device. The kernel expects a print( ) routine for every block driver that is configured.

References

cmn_err(D3oddi), strategy(D2oddi)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 5 HDK - June 2005