Re: [RFC PATCH] Initialize dev_id sysfs attribute to -1 by default
From: John Fastabend <hidden>
Date: 2013-06-10 18:43:05
From: John Fastabend <hidden>
Date: 2013-06-10 18:43:05
[...]
Hi John, thank you for the inputs. It was set to -1 to differentiate between driver setting it to zero and the default value zero.
The point I was trying to make here is setting it to a single digit 0, 1, or -1 doesn't really help in a virtualized environment where you may not have access to the PCI topology, serial #s, etc. You need a system-wide unique id. Anyways looks like your on the right track. .John