Tech Mahindra Interview Question

it was device driver question.."what does kernel wants from driver pgm to detect device."