Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103275561
D27397.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D27397.diff
View Options
Index: sys/arm/ti/ti_spi.c
===================================================================
--- sys/arm/ti/ti_spi.c
+++ sys/arm/ti/ti_spi.c
@@ -561,6 +561,17 @@
DEVMETHOD(device_attach, ti_spi_attach),
DEVMETHOD(device_detach, ti_spi_detach),
+ /* Bus interface */
+ DEVMETHOD(bus_setup_intr, bus_generic_setup_intr),
+ DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr),
+ DEVMETHOD(bus_alloc_resource, bus_generic_alloc_resource),
+ DEVMETHOD(bus_release_resource, bus_generic_release_resource),
+ DEVMETHOD(bus_activate_resource, bus_generic_activate_resource),
+ DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource),
+ DEVMETHOD(bus_adjust_resource, bus_generic_adjust_resource),
+ DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource),
+ DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource),
+
/* SPI interface */
DEVMETHOD(spibus_transfer, ti_spi_transfer),
@@ -579,4 +590,7 @@
};
DRIVER_MODULE(ti_spi, simplebus, ti_spi_driver, ti_spi_devclass, 0, 0);
+DRIVER_MODULE(spibus, ti_spi, spibus_driver, spibus_devclass, 0, 0);
+
MODULE_DEPEND(ti_spi, ti_sysc, 1, 1, 1);
+MODULE_DEPEND(ti_spi, spibus, 1, 1, 1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 11:04 PM (19 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14810831
Default Alt Text
D27397.diff (1 KB)
Attached To
Mode
D27397: Add IRQ resource to ti_spi.c
Attached
Detach File
Event Timeline
Log In to Comment