Subject: devnos and dv_unit.
To: Aaditya Rai <>
From: Aaditya Rai <>
List: tech-kern
Date: 10/15/2001 14:52:04
Hi all,
I have a newbie question. How can one read the device tree..? Moreover, lets
say that the autoconf code detects 2 cards for my driver, and passes me the
unit numbers for these cards (say, 0 and 1) in dv_unit. Lets also assume
that my driver interprets a devno from userland as "top 2 bits are the card

How will someone in the userland make devnos for my cards (given that they
cant find the respective unit numbers, unless I provide an ioctl)...?

I apologize if the question sounds confused!