Hi list,<br><br>I&#39;m currently reading the LDD 3rd Edition and trying to
create a device driver for a custom device located on VME bus. I have
already linux 2.6.15 running on the master board, as well as the device
driver for the PCI-VME bridge. The main problem I have is understanding
how to &quot;attach&quot; my driver for the custom device to the bridge device
driver.
<br>The bridge device driver is implemented as a class, i.e. doesn&#39;t
define a new bus type. Should I define a new class for my driver, or
should I connect it somehow to the existing one (maybe by something as
&quot;subclass&quot;)?<br>All I want to do is to redirect I/O reads and writes to the VME bus, but I got no clue as to how to use the existing VME bridge driver for this purpose. After I get through this I think all other things (VME interrupt registration &amp; handling, etc.) will be straightforward.
<br>The LDD 3rd book states that defining a new bus type is the last
thing one would like to do, instead defining a class is far better
approach. Why is that?<br><br>Any recommendations and sharing of practical experience are highly appreciated.
<br><br>Best Regards,<br><span class="sg">Konstantin</span>