Configuring HP-UX For Peripherals

Appendix C 285
Major and Minor Numbers
Associating a Custom Driver with a Peripheral
directly.
1. List the driver in the upper portion of the system file, with other
similar drivers. For example, the following figure shows the upper
portion of a system file with a custom SCSI driver, disco added.
**********************************************************************
* Bus-Dependent subsystems
**********************************************************************
* ccio = Cache Coherent I/O
ccio
**********************************************************************
* SCSI drivers
**********************************************************************
disco
sdisk
sflop
stape
...
2. Add a driver statement at the end of the file, if you intend to
force-load the driver at only a certain hardware path.
The driver statement tells HP-UX to associate the driver at a
specified hardware address and has the following format:
driver <hardware_path> <driver_name>
For example, a driver statement to associate a custom driver
named disco with an interface card at address 2/0/7.6.0 on a
Model 755 resembles this:
driver 2/0/7.6.0 disco
Note, although an HP-UX disk device driver (such as sdisk) may
be present in the kernel, this driver statement instructs HP-UX to
use disco for the disk at address 2/0/7.6.0, only. HP-UX
continues to use its standard disk device drivers for any other
disks. If disco should replace all instances of sdisk in the kernel,
you could simply remove sdisk from the system file and replace it
with disco. You only need to add a driver statement if you want to
force-configure the driver to a specific path(s).
c. Create a small file in the /usr/conf/master.d directory to be
cross-referenced by the /stand/system file entry when the kernel is
rebuilt. The file can be given any name, but should have the following