Writing Device Drivers

Hot Insertion

This procedure is used to insert a card in a previously unused slot.

  1. Indicate, using an administrative application, that a card is to be inserted in a particular slot.

  2. Through the administrative application, use kernel functions to turn off the appropriate slot (if it isn't off already). An optional slot-state indicator may show that the slot is off.

  3. Insert the card.

  4. Indicate to the administrative application that the card has been inserted.

  5. Through the administrative application, use kernel functions to turn on the slot and the slot-state indicator.

  6. Through the kernel, configure the system, and load and attach the device driver for the newly installed hardware.