| N F O _ I S D E V 6 4 B I T ( )
| | | | | SOURCE: qdev_autodocs.txt 1.163 (12/09/2014) English AMIGA - NFO_#?
----------------------------------------------------------------------------
NAME
nfo_isdev64bit() - Checks if dev. understands 64bit cmds.
SYNOPSIS
res = nfo_isdev64bit(device, unit);
LONG nfo_isdev64bit(UBYTE *, LONG);
FUNCTION
This function allows to query the device to see if it is
able to work beyond 4 GiB boundary.
INPUTS
device - Standard AmigaOS device name including ".device".
unit - Unit of that device(0-255).
RETURNS
Returns ORed('|') flags(see header file) or 0 if the dev.
does not support 64bit commands at all or -1 if there was
an error.
BASES
(SysBase)
NOTES
None.
SEE ALSO
EXAMPLE
...
LONG query
if ((query = nfo_isdev64bit("scsi.device", 0)) > -1)
{
if ((query & QDEV_NFO_ISDEV64BIT_NSD64) ==
QDEV_NFO_ISDEV64BIT_NSD64)
{
/* Device is NSD64 compliant */
}
if ((query & QDEV_NFO_ISDEV64BIT_TD64) ==
QDEV_NFO_ISDEV64BIT_TD64)
{
/* Device is (also) TD64 compliant */
}
}
BUGS
None known.
----------------------------------------------------------------------------
| |
| |