summaryrefslogtreecommitdiff
path: root/include/linux/virtio.h
diff options
context:
space:
mode:
authorSjur Brændeland <sjur.brandeland@stericsson.com>2013-02-12 16:24:59 +1030
committerRusty Russell <rusty@rustcorp.com.au>2013-02-12 16:26:39 +1030
commitdc18f0800f5f16460030a9623d4fcc165d607edf (patch)
tree27318d5a4cb4bddb3792d0f4dc65d224939d95f7 /include/linux/virtio.h
parent35cdc9eb65837687bdfc9ea1d2515eb03ea5048a (diff)
downloadlwn-dc18f0800f5f16460030a9623d4fcc165d607edf.tar.gz
lwn-dc18f0800f5f16460030a9623d4fcc165d607edf.zip
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>
Diffstat (limited to 'include/linux/virtio.h')
0 files changed, 0 insertions, 0 deletions