\ *****************************************************************************
\ * Copyright (c) 2011 IBM Corporation
\ * All rights reserved.
\ * This program and the accompanying materials
\ * are made available under the terms of the BSD License
\ * which accompanies this distribution, and is available at
\ * http://www.opensource.org/licenses/bsd-license.php
\ *
\ * Contributors:
\ *     IBM Corporation - initial implementation
\ ****************************************************************************/

\ Handle virtio-fs device

s" virtio [ network ]" type cr

my-space pci-device-generic-setup

pci-master-enable
pci-mem-enable
pci-io-enable

s" virtio-fs.fs" included

pci-device-disable

\ *****************************************************************************
\ * Copyright (c) 2011 IBM Corporation
\ * All rights reserved.
\ * This program and the accompanying materials
\ * are made available under the terms of the BSD License
\ * which accompanies this distribution, and is available at
\ * http://www.opensource.org/licenses/bsd-license.php
\ *
\ * Contributors:
\ *     IBM Corporation - initial implementation
\ ****************************************************************************/

\ Handle virtio-fs device

s" virtio [ network ]" type cr

my-space pci-device-generic-setup
s" virtio-9p" device-name

pci-master-enable
pci-mem-enable
pci-io-enable

s" virtio-fs.fs" included

pci-device-disable

Set a proper name for virtio-9p device tree nodes
virtio: Set a proper name for virtio-9p device tree nodes

The virtio-9p devices currently show up as "unknown-legacy-device"
in the device tree. We've got a driver for this device, so it is
certainly not "unknown", i.e. let's use a better name here instead.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Nikunj A Dadhania <e2f4a5db9b4735182a88051d1e7a3599f9eac9db@linux.vnet.ibm.com>
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>

Signed-off-by: Nikunj A Dadhania <e2f4a5db9b4735182a88051d1e7a3599f9eac9db@linux.vnet.ibm.com>
