Change the wildcard value of not significant fields from 0 to (uint32_t)-1.
Also change their type to "V", this way the -1 wildcard value will match to anything read from device.
devmatch(8) tries to match all integers, even those without a name.
If the corresponding value was not found in device the value of -1 is used for comparison.
This fixed autoloading of if_em.ko on my i350 NIC.
Without this patch devmatch -uv produced the following:
---------- Entry 22 ---------- Matching vendor;I:device;I:#;I:#;I:#;I:#;D:#; (I) table=0x8086 tomatch=0x8086 Matching device;I:#;I:#;I:#;I:#;D:#; (I) table=0x1521 tomatch=0x1521 Matching #;I:#;I:#;I:#;D:#; (I) table=0xffffffff tomatch=0 Matching #;I:#;I:#;D:#; (I) table=0xffffffff tomatch=0 Matching #;I:#;D:#; (I) table=0xffffffff tomatch=0 Matching #;D:#; (I) table=0xffffffff tomatch=0