commit | dc18f0800f5f16460030a9623d4fcc165d607edf | [log] [tgz] |
---|---|---|
author | Sjur Brændeland <sjur.brandeland@stericsson.com> | Tue Feb 12 16:24:59 2013 +1030 |
committer | Rusty Russell <rusty@rustcorp.com.au> | Tue Feb 12 16:26:39 2013 +1030 |
tree | 27318d5a4cb4bddb3792d0f4dc65d224939d95f7 | |
parent | 35cdc9eb65837687bdfc9ea1d2515eb03ea5048a [diff] |
virtio_console: Use virtio device index to generate port name Use virtio device index for creating unique device port names. Current index allocation in virtio is based on a monotonically increasing variable "index". A better handling of this is to use device index which is allocated by ida. Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>