hba_info(D4I) hba_info(D4I)
NAME
hba_info - HBA driver per module information structure
SYNOPSIS
#include <sys/sdi.h>
#include <sys/ddi.h>
DESCRIPTION
The hba_info structure contains information specific to a
given HBA driver.
Return Values
None.
USAGE
This structure is normally defined and initialized through the
use of the HBA_INFO macro, which has the form:
HBA_INFO(pfx, dflagp, max_xfer);
The parameters for HBA_INFO are:
pfx the HBA driver's prefix, as defined in its Master file
dflagp
the address of the driver's hba_flag. The hba_flag can
have the following values set:
HBA_MP
the HBA driver has MP support
HBA_HOT
the HBA driver supports hot insertion/removal
max_xfer
the maximum byte size for a single data transfer
supported by the device.
The system adjusts the max_xfer size down by 4K to account for
unaligned buffer conditions. A max_xfer value of zero for
SVR4.2 drivers causes the default value of 64K to be used. A
max_xfer value of zero for SVR4.2 MP drivers implies an
unlimited data transfer size.
Copyright 1994 Novell, Inc. Page 1
hba_info(D4I) hba_info(D4I)
Structure Members
The hba_info structure is defined as follows:
/*
* Per-module HBA information.
*/
struct hba_info {
int *hba_flag;
ulong max_xfer;
/* Entry points */
long (*hba_freeblk)();
struct hbadata *(*hba_getblk)();
long (*hba_icmd)();
void (*hba_getinfo)();
long (*hba_send)();
int (*hba_xlat)();
int (*hba_open)();
int (*hba_close)();
int (*hba_ioctl)();
};
REFERENCES
sdi_register(D3I), xsb(D4I)
Copyright 1994 Novell, Inc. Page 2