diff options
| author | Patrick Mochel <mochel@osdl.org> | 2003-01-06 01:50:37 -0600 |
|---|---|---|
| committer | Patrick Mochel <mochel@osdl.org> | 2003-01-06 01:50:37 -0600 |
| commit | 6ed6b9bf5b5d80581ebfcc3fa2738ee386b78cd1 (patch) | |
| tree | 8519dd91154bf4dac9367c392a89fcb8840c1750 /include/linux/input.h | |
| parent | 426f67ebf9dab281a43bb5ff07c23713e7eefe95 (diff) | |
net devices: Get network devices to show up in sysfs.
- declare net_subsys, and register during net_dev_init().
- Add kobject to struct net_device.
- initialize name and register in register_netdevice().
- remove in unregister_netdevice().
This allows one to see the registered network devices in the system via:
# tree /sys/net/
/sys/net/
`-- eth0
Diffstat (limited to 'include/linux/input.h')
0 files changed, 0 insertions, 0 deletions
