Page MenuHomeFreeBSD

D47676.id.diff
No OneTemporary

D47676.id.diff

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

Mime Type
text/plain
Expires
Thu, Nov 21, 3:32 AM (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14741559
Default Alt Text
D47676.id.diff (1 KB)

Event Timeline