mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
0e6f5ce38e
This patch adds the settings code (NMSettingAdsl) and the initial "scaffolding" i.e., a tiny stub version of NMDeviceAdsl and the udev handler code to get the device detected. With this patch you should be able to see an atm device being detected by networkmanager in the logs, although of course it doesn't do anything useful yet. Extract from the logs: [1304668252.341354] [nm-udev-manager.c:562] adsl_add(): adsl_add: ATM Device detected from udev. Adding .. (ueagle-atm0): failed to look up interface index (ueagle-atm0): new ADSL device (driver: 'ueagle-atm' ifindex: -1) (ueagle-atm0): exported as /org/freedesktop/NetworkManager/Devices/2 (ueagle-atm0): now managed (ueagle-atm0): device state change: unmanaged -> unavailable (reason 'managed') [10 20 2] (ueagle-atm0): deactivating device (reason: 2). [1304668252.345102] [nm-system.c:1349] flush_routes(): (ueagle-atm0) failed to lookup interface index [1304668252.347821] [nm-device.c:3912] nm_device_state_changed(): (ueagle-atm0): device is available, In this version, we hack the nm-device.c:nm_device_get_priority() to get better priority instead of changing the DeviceType enum. Signed-off-by: Pantelis Koukousoulas <pktoss@gmail.com>
33 lines
674 B
Makefile
33 lines
674 B
Makefile
EXTRA_DIST = \
|
|
all.xml.in \
|
|
generic-types.xml \
|
|
errors.xml \
|
|
vpn-errors.xml \
|
|
nm-access-point.xml \
|
|
nm-device-bt.xml \
|
|
nm-device-wifi.xml \
|
|
nm-device-olpc-mesh.xml \
|
|
nm-device-ethernet.xml \
|
|
nm-device-adsl.xml \
|
|
nm-device-modem.xml \
|
|
nm-device-wimax.xml \
|
|
nm-device-infiniband.xml \
|
|
nm-device-bond.xml \
|
|
nm-device-vlan.xml \
|
|
nm-device.xml \
|
|
nm-ip4-config.xml \
|
|
nm-ip6-config.xml \
|
|
nm-manager.xml \
|
|
nm-settings.xml \
|
|
nm-settings-connection.xml \
|
|
nm-vpn-plugin.xml \
|
|
nm-vpn-connection.xml \
|
|
nm-ppp-manager.xml \
|
|
nm-active-connection.xml \
|
|
nm-dhcp4-config.xml \
|
|
nm-dhcp6-config.xml \
|
|
nm-agent-manager.xml \
|
|
nm-wimax-nsp.xml \
|
|
nm-secret-agent.xml
|
|
|