Messages in this thread | | | From | Arnd Bergmann <> | Subject | Re: [RFC] iSeries virtual i/o sysfs files | Date | Tue, 22 Jun 2004 15:57:02 +0200 |
| |
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 <>< [unhandled content-type:application/pgp-signature] | |