diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-07-05 20:28:31 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-07-05 20:28:31 +0200 |
commit | 51b3f21fef7f581a7df6d8a73d8b973f9eb355d2 (patch) | |
tree | 85220f47f3a056a934be73a1938c3b4421caeeb4 /device.h | |
parent | 4bf10a76e01d2f2971a86765722a4c4a65b584a7 (diff) |
alias: use a callback for managing device presence state, track alias deps in a separate list to avoid recursion issues
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -85,6 +85,7 @@ struct device_user { bool claimed; bool hotplug; + bool alias; struct device *dev; void (*cb)(struct device_user *, enum device_event); @@ -106,6 +107,7 @@ struct device { struct avl_node avl; struct list_head users; + struct list_head aliases; char ifname[IFNAMSIZ + 1]; int ifindex; |