Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103023987
D47676.id146703.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
D47676.id146703.diff
View Options
diff --git a/sys/sys/bus.h b/sys/sys/bus.h
--- a/sys/sys/bus.h
+++ b/sys/sys/bus.h
@@ -442,7 +442,8 @@
rman_res_t count, u_int flags);
int bus_generic_translate_resource(device_t dev, int type, rman_res_t start,
rman_res_t *newstart);
-int bus_generic_attach(device_t dev);
+int bus_generic_attach(device_t dev)
+ __attribute__((deprecated("Use bus_attach_children instead")));
int bus_generic_bind_intr(device_t dev, device_t child,
struct resource *irq, int cpu);
int bus_generic_child_location(device_t dev, device_t child, struct sbuf *sb);
@@ -478,7 +479,8 @@
int bus_print_child_domain(device_t dev, device_t child);
int bus_print_child_footer(device_t dev, device_t child);
int bus_generic_print_child(device_t dev, device_t child);
-int bus_generic_probe(device_t dev);
+int bus_generic_probe(device_t dev)
+ __attribute__((deprecated("Use bus_identify_children instead")));
int bus_generic_read_ivar(device_t dev, device_t child, int which,
uintptr_t *result);
int bus_generic_release_resource(device_t bus, device_t child,
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 11:12 PM (8 h, 42 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14741559
Default Alt Text
D47676.id146703.diff (1 KB)
Attached To
Mode
D47676: new-bus: Deprecate bus_generic_(attach|probe)
Attached
Detach File
Event Timeline
Log In to Comment