search for: virtio_mmio_match

Displaying 17 results from an estimated 17 matches for "virtio_mmio_match".

2015 Jul 28
3
[PATCH] virtio_mmio: add ACPI probing
...irtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -58,6 +58,7 @@ #define pr_fmt(fmt) "virtio-mmio: " fmt +#include <linux/acpi.h> #include <linux/highmem.h> #include <linux/interrupt.h> #include <linux/io.h> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { }; MODULE_DEVICE_TABLE(of, virtio_mmio_match); +#ifdef CONFIG_ACPI +static const struct acpi_device_id virtio_mmio_acpi_match[] = { + { "LNRO0005", }, + { } +}; +MODULE_DEVICE_TABLE(acpi, virtio_mmio_acpi_match); +#endif + static struct platform_driver virtio_mmio_driver = {...
2015 Jul 28
3
[PATCH] virtio_mmio: add ACPI probing
...irtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -58,6 +58,7 @@ #define pr_fmt(fmt) "virtio-mmio: " fmt +#include <linux/acpi.h> #include <linux/highmem.h> #include <linux/interrupt.h> #include <linux/io.h> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { }; MODULE_DEVICE_TABLE(of, virtio_mmio_match); +#ifdef CONFIG_ACPI +static const struct acpi_device_id virtio_mmio_acpi_match[] = { + { "LNRO0005", }, + { } +}; +MODULE_DEVICE_TABLE(acpi, virtio_mmio_acpi_match); +#endif + static struct platform_driver virtio_mmio_driver = {...
2015 Jul 28
3
[PATCH] virtio_mmio: add ACPI probing
...t;> >> #define pr_fmt(fmt) "virtio-mmio: " fmt >> >> +#include <linux/acpi.h> >> #include <linux/highmem.h> >> #include <linux/interrupt.h> >> #include <linux/io.h> >> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { >> }; >> MODULE_DEVICE_TABLE(of, virtio_mmio_match); >> >> +#ifdef CONFIG_ACPI >> +static const struct acpi_device_id virtio_mmio_acpi_match[] = { >> + { "LNRO0005", }, >> + { } >> +}; > > Hmm - we have reserved QEMUXXX...
2015 Jul 28
3
[PATCH] virtio_mmio: add ACPI probing
...t;> >> #define pr_fmt(fmt) "virtio-mmio: " fmt >> >> +#include <linux/acpi.h> >> #include <linux/highmem.h> >> #include <linux/interrupt.h> >> #include <linux/io.h> >> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { >> }; >> MODULE_DEVICE_TABLE(of, virtio_mmio_match); >> >> +#ifdef CONFIG_ACPI >> +static const struct acpi_device_id virtio_mmio_acpi_match[] = { >> + { "LNRO0005", }, >> + { } >> +}; > > Hmm - we have reserved QEMUXXX...
2015 Mar 16
1
[PATCH 19/35 linux-next] virtio_mmio: constify of_device_id array
...-) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index 9c877d2..0ce8cda 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -671,7 +671,7 @@ static void vm_unregister_cmdline_devices(void) /* Platform driver */ -static struct of_device_id virtio_mmio_match[] = { +static const struct of_device_id virtio_mmio_match[] = { { .compatible = "virtio,mmio", }, {}, }; -- 2.1.0
2015 Mar 16
1
[PATCH 19/35 linux-next] virtio_mmio: constify of_device_id array
...-) diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c index 9c877d2..0ce8cda 100644 --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -671,7 +671,7 @@ static void vm_unregister_cmdline_devices(void) /* Platform driver */ -static struct of_device_id virtio_mmio_match[] = { +static const struct of_device_id virtio_mmio_match[] = { { .compatible = "virtio,mmio", }, {}, }; -- 2.1.0
2015 Jul 28
0
[PATCH] virtio_mmio: add ACPI probing
....c > @@ -58,6 +58,7 @@ > > #define pr_fmt(fmt) "virtio-mmio: " fmt > > +#include <linux/acpi.h> > #include <linux/highmem.h> > #include <linux/interrupt.h> > #include <linux/io.h> > @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { > }; > MODULE_DEVICE_TABLE(of, virtio_mmio_match); > > +#ifdef CONFIG_ACPI > +static const struct acpi_device_id virtio_mmio_acpi_match[] = { > + { "LNRO0005", }, > + { } > +}; Hmm - we have reserved QEMUXXXX in ASWG explicitly for this purpose. Pater -...
2015 Jul 29
0
[PATCH] virtio_mmio: add ACPI probing
....c > @@ -58,6 +58,7 @@ > > #define pr_fmt(fmt) "virtio-mmio: " fmt > > +#include <linux/acpi.h> > #include <linux/highmem.h> > #include <linux/interrupt.h> > #include <linux/io.h> > @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { > }; > MODULE_DEVICE_TABLE(of, virtio_mmio_match); > > +#ifdef CONFIG_ACPI > +static const struct acpi_device_id virtio_mmio_acpi_match[] = { > + { "LNRO0005", }, > + { } > +}; > +MODULE_DEVICE_TABLE(acpi, virtio_mmio_acpi_match); > +#endif > + &...
2015 Jul 28
0
[PATCH] virtio_mmio: add ACPI probing
...t(fmt) "virtio-mmio: " fmt > >> > >> +#include <linux/acpi.h> > >> #include <linux/highmem.h> > >> #include <linux/interrupt.h> > >> #include <linux/io.h> > >> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { > >> }; > >> MODULE_DEVICE_TABLE(of, virtio_mmio_match); > >> > >> +#ifdef CONFIG_ACPI > >> +static const struct acpi_device_id virtio_mmio_acpi_match[] = { > >> + { "LNRO0005", }, > >> + { } > >> +};...
2015 Jul 28
2
[PATCH] virtio_mmio: add ACPI probing
...: " fmt >> >> >> >> +#include <linux/acpi.h> >> >> #include <linux/highmem.h> >> >> #include <linux/interrupt.h> >> >> #include <linux/io.h> >> >> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { >> >> }; >> >> MODULE_DEVICE_TABLE(of, virtio_mmio_match); >> >> >> >> +#ifdef CONFIG_ACPI >> >> +static const struct acpi_device_id virtio_mmio_acpi_match[] = { >> >> + { "LNRO0005", }, >> >>...
2015 Jul 28
2
[PATCH] virtio_mmio: add ACPI probing
...: " fmt >> >> >> >> +#include <linux/acpi.h> >> >> #include <linux/highmem.h> >> >> #include <linux/interrupt.h> >> >> #include <linux/io.h> >> >> @@ -732,12 +733,21 @@ static struct of_device_id virtio_mmio_match[] = { >> >> }; >> >> MODULE_DEVICE_TABLE(of, virtio_mmio_match); >> >> >> >> +#ifdef CONFIG_ACPI >> >> +static const struct acpi_device_id virtio_mmio_acpi_match[] = { >> >> + { "LNRO0005", }, >> >>...
2011 Oct 27
1
[PATCH v3] virtio: Add platform bus driver for memory mapped virtio device
On Mon, 2011-10-24 at 03:33 +0100, Rusty Russell wrote: > No, that's it I think. Please send a diff for the documentation, since > I'm updating the LyX master and I've already applied your previous > version. Here it goes (below). Also do you think you would be able to merge the driver (corresponding v4 patch follows) in the 3.2 merge window that seems to have just opened?
2011 Oct 27
1
[PATCH v3] virtio: Add platform bus driver for memory mapped virtio device
On Mon, 2011-10-24 at 03:33 +0100, Rusty Russell wrote: > No, that's it I think. Please send a diff for the documentation, since > I'm updating the LyX master and I've already applied your previous > version. Here it goes (below). Also do you think you would be able to merge the driver (corresponding v4 patch follows) in the 3.2 merge window that seems to have just opened?
2011 Nov 15
1
[PATCH] virtio-mmio: Devices parameter parsing
...unregister_cmdline_device); + device_unregister(&virtio_mmio_cmdline_parent); +} + +#else + +static int virtio_mmio_register_cmdline_devices(void) +{ + return 0; +} + +static void virtio_mmio_unregister_cmdline_devices(void) +{ +} + +#endif + /* Platform driver */ static struct of_device_id virtio_mmio_match[] = { @@ -463,11 +627,15 @@ static struct platform_driver virtio_mmio_driver = { static int __init virtio_mmio_init(void) { - return platform_driver_register(&virtio_mmio_driver); + int err = virtio_mmio_register_cmdline_devices(); + + return err ? err : platform_driver_register(&virtio...
2011 Nov 15
1
[PATCH] virtio-mmio: Devices parameter parsing
...unregister_cmdline_device); + device_unregister(&virtio_mmio_cmdline_parent); +} + +#else + +static int virtio_mmio_register_cmdline_devices(void) +{ + return 0; +} + +static void virtio_mmio_unregister_cmdline_devices(void) +{ +} + +#endif + /* Platform driver */ static struct of_device_id virtio_mmio_match[] = { @@ -463,11 +627,15 @@ static struct platform_driver virtio_mmio_driver = { static int __init virtio_mmio_init(void) { - return platform_driver_register(&virtio_mmio_driver); + int err = virtio_mmio_register_cmdline_devices(); + + return err ? err : platform_driver_register(&virtio...
2012 May 09
1
[PATCH] virtio-mmio: Devices parameter parsing
...r_each_child(&vm_cmdline_parent, NULL, + vm_unregister_cmdline_device); + device_unregister(&vm_cmdline_parent); + vm_cmdline_parent_registered = 0; + } +} + +#else + +static void vm_unregister_cmdline_devices(void) +{ +} + +#endif + /* Platform driver */ static struct of_device_id virtio_mmio_match[] = { @@ -475,6 +637,7 @@ static int __init virtio_mmio_init(void) static void __exit virtio_mmio_exit(void) { platform_driver_unregister(&virtio_mmio_driver); + vm_unregister_cmdline_devices(); } module_init(virtio_mmio_init); -- 1.7.5.4
2012 May 09
1
[PATCH] virtio-mmio: Devices parameter parsing
...r_each_child(&vm_cmdline_parent, NULL, + vm_unregister_cmdline_device); + device_unregister(&vm_cmdline_parent); + vm_cmdline_parent_registered = 0; + } +} + +#else + +static void vm_unregister_cmdline_devices(void) +{ +} + +#endif + /* Platform driver */ static struct of_device_id virtio_mmio_match[] = { @@ -475,6 +637,7 @@ static int __init virtio_mmio_init(void) static void __exit virtio_mmio_exit(void) { platform_driver_unregister(&virtio_mmio_driver); + vm_unregister_cmdline_devices(); } module_init(virtio_mmio_init); -- 1.7.5.4