[PATCH 1/2] vmbus: add support for dynamic device id's

2016-11-30 Thread Stephen Hemminger
This patch adds sysfs interface to dynamically bind new UUID values to existing VMBus device. This is useful for generic UIO driver to act similar to uio_pci_generic. Signed-off-by: Stephen Hemminger --- v3 - use DRIVER_ATTR_WO drivers/hv/vmbus_drv.c | 174

Re: [PATCH 1/2] vmbus: add support for dynamic device id's

2016-11-30 Thread Greg Kroah-Hartman
On Mon, Nov 28, 2016 at 08:51:32AM -0800, Stephen Hemminger wrote: > +static DRIVER_ATTR(new_id, 0600, NULL, store_new_id); DRIVER_ATTR_RO()? > + > +/* > + * store_remove_id - remove a PCI device ID from this driver > + * > + * Removes a dynamic pci device ID to this driver. > + */ > +static

Re: [PATCH 1/2] vmbus: add support for dynamic device id's

2016-11-29 Thread Greg Kroah-Hartman
On Mon, Nov 28, 2016 at 08:51:32AM -0800, Stephen Hemminger wrote: > This patch adds sysfs interface to dynamically bind new UUID values > to existing VMBus device. This is useful for generic UIO driver to > act similar to uio_pci_generic. > > Signed-off-by: Stephen Hemminger

[PATCH 1/2] vmbus: add support for dynamic device id's

2016-11-28 Thread Stephen Hemminger
This patch adds sysfs interface to dynamically bind new UUID values to existing VMBus device. This is useful for generic UIO driver to act similar to uio_pci_generic. Signed-off-by: Stephen Hemminger --- drivers/hv/vmbus_drv.c | 174

[PATCH 1/2] vmbus: add support for dynamic device id's

2016-10-14 Thread Stephen Hemminger
From: Stephen Hemminger This patch adds sysfs interface to dynamically bind new UUID values to existing VMBus device. This is useful for a generic UIO driver to act similar to uio_pci_generic. Signed-off-by: Stephen Hemminger ---