Lines Matching refs:driver
13 """Finds the driver associated with network interface.
16 @return String containing the kernel driver name for this interface
19 driver_file = '/sys/class/net/%s/device/driver/module' % ifname
33 """Finds an interface that we can unload the driver for.
37 and the name of the module used to load the driver.
42 and a 'wlan' key with the kernel module name for the driver.
50 driver = FindDriver(intf)
51 if driver is not None:
52 return {'intf': intf, 'driver': driver}
73 utils.system('rmmod %s' % interface['driver'])
78 utils.system('modprobe %s' % interface['driver'])
81 raise error.TestFail('Failed to reload driver %s' % interface['driver'])