|
@@ -97,6 +97,8 @@ extern void bus_remove_file(struct bus_type *, struct bus_attribute *);
|
|
* @p: The private data of the driver core, only the driver core can
|
|
* @p: The private data of the driver core, only the driver core can
|
|
* touch this.
|
|
* touch this.
|
|
* @lock_key: Lock class key for use by the lock validator
|
|
* @lock_key: Lock class key for use by the lock validator
|
|
|
|
+ * @force_dma: Assume devices on this bus should be set up by dma_configure()
|
|
|
|
+ * even if DMA capability is not explicitly described by firmware.
|
|
*
|
|
*
|
|
* A bus is a channel between the processor and one or more devices. For the
|
|
* A bus is a channel between the processor and one or more devices. For the
|
|
* purposes of the device model, all devices are connected via a bus, even if
|
|
* purposes of the device model, all devices are connected via a bus, even if
|
|
@@ -135,6 +137,8 @@ struct bus_type {
|
|
|
|
|
|
struct subsys_private *p;
|
|
struct subsys_private *p;
|
|
struct lock_class_key lock_key;
|
|
struct lock_class_key lock_key;
|
|
|
|
+
|
|
|
|
+ bool force_dma;
|
|
};
|
|
};
|
|
|
|
|
|
extern int __must_check bus_register(struct bus_type *bus);
|
|
extern int __must_check bus_register(struct bus_type *bus);
|