Global variables in linux .ko for multiple devices
<p>I have a Wi-Fi driver (a .ko file) for embedded Linux system and there are two identical Wi-Fi devices on my board. After insmod-ing the .ko file into the kernel, the system is able to drive these two Wi-Fi devices.</p>

<p>My question is:  if the driver's source code contains global variables (and static variables), do these two devices share the same set of variables? Or, there will be two driver instances for each device?</p>

<p>Thanks!</p>