Index Index for
Section 9
Index Alphabetical
listing for V
Bottom of page Bottom of
page

v1_device_info_t(9s)

NAME

v1_device_info_t - General: Stores device information for the DEVGETINFO ioctl command

SYNOPSIS

typedef struct v1_device_info { int version; short category; short bus; char interface[DEV_STRING_SIZE]; char device[DEV_STRING_SIZE]; char dev_name[DEV_STRING_SIZE]; ulong_t soft_count; ulong_t hard_count; v1_devtype_info_t devinfo; v1_bustype_info_t businfo; uchar_t private[DEV_PRIVATE_LEN]; } v1_device_info_t;

MEMBERS

version Specifies the version number of the structure definition. category Specifies the category of the device, such as disk or tape. bus Specifies the device's bus type, for example, BUS_PCI, BUS_EISA, and BUS_EISA. The /usr/sys/include/io/common/devdriver.h file defines the different bus types. interface Specifies a string that describes the interface of this device, such as an AIO disk controller or an HSC40 controller. device Specifies a string that describes this device. dev_name Specifies a string that gives the device name. soft_count Specifies the number of soft errors that have occurred on the device. hard_count Specifies the number of hard errors that have occurred on the device. devinfo Specifies a structure that contains information specific to this category of device, such as a v1_disk_dev_info_t structure for a disk device or v1_tape_dev_info_t structure for a tape device. businfo Specifies a structure that contains information specific to this type of bus, such as a v1_bustype_info_t structure. private Specifies an area to be used by the device driver for its own purposes.

DESCRIPTION

The v1_device_info_t datastructure contains all the information returned to the user data buffer by the DEVGETINFO ioctl command. This data structure is contained within the device_info_t structure so that the same interface can be used for various versions of the data structures.

FILES

<io/common/devgetinfo.h>

SEE ALSO

Data Structures: device_info_t(9s), v1_devtype_info_t(9s), v1_bustype_info_t(9s)

Index Index for
Section 9
Index Alphabetical
listing for V
Top of page Top of
page