[parisc-linux] enumerating devices from user space
Lyonel Vincent
vincentl@ec-lyon.fr
Thu, 13 Mar 2003 13:45:58 +0100
Hi Bruno,
That sounds like what I was looking for (HW path + version information)!
What do you think is the best approach?
cheers,
lv.
On Thu, 13 Mar 2003 12:30:44 +0100
bruno_vidal@hp.com wrote:
> Hi guys.
> While developping the dump modules, I had to find a way to retrieve
> the hardware path of disk/hba. So I had to developpe a small hack
> in the kernel/firmware.c in order to retrive the right hba.
> But it is parisc dependant. Do you want I try to add an ioctl in my
> dump modules in order to print in user space this informations ?
> Example:
>
> size:1500160 nr_sects:3000320 start_sect:374784
> hwpath: 0/0/1/1.15.0.0.
> dump device opened: 0x813 with index: 0 at hpa: 0x900
>
> So my functions are able to print the hw path of each io modules.
> Is it what you are looking for ?
>
> --
> Vidal Bruno, (770-4271)
> SSD-HA Team, HP-UX & LINUX Support
> bruno_vidal@admin.france.hp.com
>
>