0 Replies Latest reply: Nov 27, 2009 11:45 PM by 807567 RSS

    when the device tree node(dev_info_t) is built for a pseudo device?

    807567
      Hi Expert,

      I am a new driver writer. I am writing a pseudo driver.

      As my understanding, the a device node (dev_info_t) must exist before the attach routine is called.

      int attach(dev_info_t *dip, ddi_attach_cmd_t cmd);

      For the hardware device, the node will be built when the system boots.
      But when the node is built on the device tree for the pseudo device.

      Thanks,
      Eric