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

isa_slot_to_name(9r)

NAME

isa_slot_to_name - Gets the ISA_Option entry in /etc/sysconfigtab

SYNOPSIS

char *isa_slot_to_name( uint_t slot );

ARGUMENTS

slot Specifies the slot member of the controller structure.

DESCRIPTION

The isa_slot_to_name interface returns a pointer to the isacfg handle for the option card in the specified ISA slot. The isacfg handle is the string that the ISA bus code uses to match with the Function_Name attribute of the ISA_Option entry in the /etc/sysconfigtab file. Appendages to the isacfg handle can communicate various types of information to the driver through this interface.

NOTES

You should call the isa_slot_to_name interface only when you are certain that the driver's associated option card is operating on the ISA bus. You can check which bus the option card is operating on as follows: . . . struct controller *ctlr; . . . if ctlr->bus_hd->bus_type == BUS_ISA . . . The BUS_ISA constant is defined in /usr/sys/include/io/common/devdriver.h.

RETURN VALUES

Upon successful completion, isa_slot_to_name returns a pointer to the isacfg handle. Otherwise, isa_slot_to_name returns the value -1.

FILES

<eisa.h>

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