lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC] iSeries virtual i/o sysfs files
Date
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]
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.107 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site