|
|
Subscribe / Log in / New account

A fresh look at the kernel's device model

A fresh look at the kernel's device model

Posted May 29, 2015 11:05 UTC (Fri) by HIGHGuY (subscriber, #62277)
Parent article: A fresh look at the kernel's device model

I've always thought of a bus as an addressing/enumeration context and a place where drivers are matched to devices.

My most recent use of buses is an PCIe-connected FPGA's memory map exposing various pieces of functionality, so a new fpga bus was created where subdrivers are matched to ranges of the FPGA's memory map. Here too, each subdevice is addressible within the bus by using the starting address.

Probably in the workqueue example as well is i2c/spi/pci/... devices attached to a bus are enumerated in a particular way, which implies they are somehow individually addressable within the bus context.

Classes, as you mention, group devices by common functionality, instead.

But you have clearly identified that there are many other uses... Apparently they're just tools in the driver writer's toolbox...


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds