summaryrefslogtreecommitdiff
path: root/src/analyze
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2016-01-29 17:54:30 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2016-01-29 17:54:30 +0100
commit0037a669ac9a2bbedccdb2f483111351e8ff4659 (patch)
tree7a4054d614b337ff32effbc4d77517307b32b5e7 /src/analyze
parenta5a5f03382ba7733670d7d226ce75f98dd64e554 (diff)
udev: net_id - for ccw bus, shorten the identifier and stip leading zeros
The commmon case default qeth link is enccw0.0.0600 is rather long. Thus strip leading zeros (which doesn't make the bus_id unstable), similar to the PCI domain case. Also 'ccw' is redundant on S/390, as there aren't really other buses available which could have qeth driver interfaces. Not sure why this code is even compiled on non-s390[x] platforms. But to distinguish from e.g. MAC stable names shorten the suffix to just 'c'. Thus enccw0.0.0600 becomes enc600.
Diffstat (limited to 'src/analyze')
0 files changed, 0 insertions, 0 deletions