I have an embedded linux board with standard wireline ethernet device driver.

I added another wireless device driver to kernel code.

Kernel now at start up has two network interfaces "wireless and wireline" and both not coded to be default.

unluckily Kernel attempts to connect to network through wireless.

Only wireline is connected to network, wireless device is to be used for something else.


Hence I need to make my wireline network interface the default. So kernel would use it to access the network.

What do I have to change in the device driver code to make it the default network interface?