Driver for device behind a PCI-VME bridge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I'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 "attach" my driver for the custom device to the bridge device driver.
The bridge device driver is implemented as a class, i.e. doesn'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 as something as "subclass")?
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?

Any recommendations and sharing of practical experience are highly appreciated.

Best Regards,
Konstantin

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux