* Match supported devices by devid to avoid excessive bit manipulations at runtime. Calculate the devid at compile time instead.
* Put the relevant flags next to the devid in the static array of supported devices, so we don't need to figure them out separately once we've matched a device.
* Use snprintf instead of sprintf as an extra safeguard against memory corruption.
No change in functionality.