DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

eisa_parse_devconfig(D3)


eisa_parse_devconfig -- parse EISA device configuration space

Synopsis

   #include <sys/types.h>
   #include <sys/eisa.h>
   #include <sys/ddi.h>
   

boolean_t eisa_parse_devconfig(void *data, void *str, uint_t dtype, uint_t stype);

Description

eisa_parse_devconfig is used to parse the ``type'' or ``subtype'' string to determine special properties of the device in EISA configuration space.

Arguments


data
Pointer to the configuration data.

str
The string to be searched for in the configuration space.

dtype
Type of configuration data passed in the data argument and may be one of:

EISA_SLOT_DATA
All the data pertaining to the slot (eisa_slotinfo_t plus all eisa_funcinfo_t). eisa_parse_devconfig will search through all the functions blocks to find str.

EISA_FUNC_DATA
EISA function block (eisa_funcinfo_t).

stype
indicates which field to search. The following values are supported:

EISA_TYPE
Search the "type" string.

EISA_SUBTYPE
Search the "subtype" string.

dtype
indicates the format of the data passed in data. The following values are supported:

EISA_SLOT_DATA
All the data pertaining to the slot (eisa_slotinfo_t plus all eisa_funcinfo_t). eisa_parse_devconfig will search through all the functions blocks to find str.

EISA_FUNC_DATA
EISA function block (eisa_funcinfo_t).

Return values

Returns B_TRUE on success and B_FALSE on failure to find the string str.

Usage

Typically, the data passed in will have been obtained from cm_read_devconfig(D3).

Context and synchronization

Non-blockable, interrupt, user, or blockable context.

Hardware applicability

PC-AT compatible platforms

Version applicability

ddi: 6, 6mp, 7, 7mp, 7.1, 7.1mp, 8, 8mp

References

cm_read_devconfig(D3), eisa(D4) eisa(D5)
19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005