Re: [RFC] iSeries virtual i/o sysfs files

From: Arnd Bergmann
Date: Tue Jun 22 2004 - 09:03:39 EST


On Dienstag, 22. Juni 2004 13:23, Stephen Rothwell wrote:
>  To enumerate the other
> devices precisely, I will need to extract the device probing code from
> each of the other device drivers (viodasd, viocd and viotape) and include
> some (hopefully simplified) form of the code directly into the bus probing
> code for iSeries in vio.c.

That sounds like what we did for s390 devices as well. I'm not sure
how similar your virtual devices are to each other, but for the 'ccw'
bus it turned out that all drivers had some version of a large
probing loop that goes through all device numbers.
Consolidating that code made it much cleaner while also allowing us
do the basic probing in parallel.

Arnd <><

Attachment: pgp00000.pgp
Description: signature