This chapter assumes that you are familiar with the third-party device driver kits delivery process, the syntaxes used to populate configuration-related files, and the steps performed to statically or dynamically configure device drivers on the TURBOchannel bus. This chapter discusses the syntax associated with the TC_Option attribute field. You use this field to supply option data associated with device drivers that operate on the TURBOchannel bus. You specify the TC_Option attribute field in the sysconfigtab file fragment. See Writing Device Drivers: Tutorial for information on the sysconfigtab file fragment.
The following example shows an entry in a sysconfigtab file fragment for the /dev/cb driver:
cb:
TC_Option = Modname - 'CB ', Driver_Name - cb, Type - C, Adpt_Config - N
Begin each TURBOchannel bus option data entry with the keyword TC_Option followed by an equals sign. The following list describes each of the keywords and associated information:
Note
Place the TC_Option entry on a single line within the file.
Specifies the device name in the ROM on the hardware device. This name must be eight characters and must be unique among the names of devices that are configured for the TURBOchannel bus. You must blank-pad the name to 8 bytes. Note the use of single quotes to surround the name.
Specifies the name of the driver. This name must be unique among the names of drivers that are configured for the system. This name is a string that matches the string you specified for the entry_name item in the /etc/sysconfigtab database. Typically, third-party driver writers specify the driver name (followed by a colon) in the sysconfigtab file fragment, which gets appended to the /etc/sysconfigtab database during the driver product installation.
Specifies the type of device. This attribute should always be C, for controller.
Specifies the name of the interface to configure. This attribute should also always be N.