summaryrefslogtreecommitdiffhomepage
path: root/device.c
AgeCommit message (Collapse)Author
2012-01-19allow devices to be disabled through a config optionFelix Fietkau
2011-12-04fix use-after-free on device free codepath due to recursion issues, and fix ↵Felix Fietkau
dev->parent refcounting issues
2011-10-26recognize stacked interfaces (e.g. dsa) and handle their dependenciesFelix Fietkau
2011-10-20do not clear device state for devices created by proto-up with ↵Felix Fietkau
address-external set
2011-10-19fix device_lockFelix Fietkau
2011-10-19rework device hotplug handling some more, add device_lock/device_unlock to ↵Felix Fietkau
prevent use-after-free bugs
2011-10-19rework and fix hotplug interface handlingFelix Fietkau
2011-10-19apply device settings to simple devices with config specified from the ↵Felix Fietkau
interface section (legacy format compatibility), but only if no other config was provided
2011-10-18add support for alias devices, which are activated based on hotplug events ↵Felix Fietkau
containing the real device name
2011-10-18directly pass the device name to the device create functionFelix Fietkau
2011-10-11implement a new ubus object "network.device", add a method for dumping ↵Felix Fietkau
detailed device information
2011-10-09fix clearing device state, trigger it on device_init()Felix Fietkau
2011-10-06only free unused devices after the final config initFelix Fietkau
2011-10-06only show the "Create new device.." message if there is no old deviceFelix Fietkau
2011-10-06device reload, use config_check_equal instead of config_check_diffFelix Fietkau
2011-10-06fix parsing settings for devices on reloadFelix Fietkau
2011-10-06fix refcount bugs when dev->set_state failsFelix Fietkau
2011-10-06always recreate devices by default if the config attribute list is not the ↵Felix Fietkau
default one
2011-10-06fix a double free / use after freeFelix Fietkau
2011-10-06prevent deletion devices that are part of the current configurationFelix Fietkau
2011-10-06recreate devices if the type does not matchFelix Fietkau
2011-10-06delete devices before recreating themFelix Fietkau
2011-10-06add debug messages for device config changesFelix Fietkau
2011-10-05rename a variable for clarityFelix Fietkau
2011-10-05device: duplicate the config earlier to avoid using stale dataFelix Fietkau
2011-10-05add a debug message when a device is createdFelix Fietkau
2011-10-05allow temporary duplicates of devicesFelix Fietkau
2011-10-05use device_(add|remove)_user when replacing devicesFelix Fietkau
2011-10-05rename check_device_state to device_check_stateFelix Fietkau
2011-10-04rework debugging code, add debugging levelsFelix Fietkau
2011-10-03fix device reload with no previous configFelix Fietkau
2011-10-03more changes for config reload handlingFelix Fietkau
2011-10-03use a common function for creating devices that avoids creating duplicatesFelix Fietkau
2011-09-24fix a compile error on non-linux systemsFelix Fietkau
2011-09-22fix compilation with GCC 4.6 on LinuxSteven Barth
2011-09-11use DPRINTF instead of fprintf(stderr)Felix Fietkau
2011-09-05remove code duplicationFelix Fietkau
2011-09-05improve interface for cleaning up unused devicesFelix Fietkau
2011-09-04make device_claim/device_release operate on the device_user instead of the ↵Felix Fietkau
device to avoid refcount bugs
2011-09-04use list_add_tail instead of list_addFelix Fietkau
2011-09-04make bridge configuration more dynamicFelix Fietkau
2011-07-29s/broadcast_device_event/device_broadcast_event/Felix Fietkau
2011-07-29s/release_device/device_release/Felix Fietkau
2011-07-29s/claim_device/device_claim/Felix Fietkau
2011-07-29s/init_virtual_device/device_init_virtual/Felix Fietkau
2011-07-29s/init_device/device_init/Felix Fietkau
2011-07-29s/get_device/device_get/Felix Fietkau
2011-07-29s/cleanup_device/device_cleanup/Felix Fietkau
2011-07-29s/set_device_present/device_set_present/Felix Fietkau
2011-07-29s/add_device_user/device_add_user/Felix Fietkau