* [Qemu-devel] [PATCH] hw/sd: Mark sd-card as storage device
@ 2018-07-31 22:37 Guenter Roeck
2018-11-15 14:24 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 4+ messages in thread
From: Guenter Roeck @ 2018-07-31 22:37 UTC (permalink / raw)
To: Philippe Mathieu-Daudé; +Cc: qemu-devel, Guenter Roeck
sd-card is currently listed as uncategorized device.
Mark it as storage device.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
hw/sd/sd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/sd/sd.c b/hw/sd/sd.c
index d4356e9..aaab15f 100644
--- a/hw/sd/sd.c
+++ b/hw/sd/sd.c
@@ -2121,6 +2121,7 @@ static void sd_class_init(ObjectClass *klass, void *data)
dc->vmsd = &sd_vmstate;
dc->reset = sd_reset;
dc->bus_type = TYPE_SD_BUS;
+ set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
sc->set_voltage = sd_set_voltage;
sc->get_dat_lines = sd_get_dat_lines;
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [Qemu-devel] [PATCH] hw/sd: Mark sd-card as storage device
2018-07-31 22:37 [Qemu-devel] [PATCH] hw/sd: Mark sd-card as storage device Guenter Roeck
@ 2018-11-15 14:24 ` Philippe Mathieu-Daudé
2018-11-15 15:14 ` Stefan Hajnoczi
0 siblings, 1 reply; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2018-11-15 14:24 UTC (permalink / raw)
To: Guenter Roeck, Stefan Hajnoczi; +Cc: qemu-devel@nongnu.org Developers
On Wed, Aug 1, 2018 at 12:37 AM Guenter Roeck <linux@roeck-us.net> wrote:
>
> sd-card is currently listed as uncategorized device.
> Mark it as storage device.
>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
> hw/sd/sd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/hw/sd/sd.c b/hw/sd/sd.c
> index d4356e9..aaab15f 100644
> --- a/hw/sd/sd.c
> +++ b/hw/sd/sd.c
> @@ -2121,6 +2121,7 @@ static void sd_class_init(ObjectClass *klass, void *data)
> dc->vmsd = &sd_vmstate;
> dc->reset = sd_reset;
> dc->bus_type = TYPE_SD_BUS;
> + set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
>
> sc->set_voltage = sd_set_voltage;
> sc->get_dat_lines = sd_get_dat_lines;
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH] hw/sd: Mark sd-card as storage device
2018-11-15 14:24 ` Philippe Mathieu-Daudé
@ 2018-11-15 15:14 ` Stefan Hajnoczi
2019-07-11 16:24 ` [Qemu-devel] [PATCH-for-4.2] " Philippe Mathieu-Daudé
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Hajnoczi @ 2018-11-15 15:14 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: Guenter Roeck, qemu-devel@nongnu.org Developers
[-- Attachment #1: Type: text/plain, Size: 464 bytes --]
On Thu, Nov 15, 2018 at 03:24:25PM +0100, Philippe Mathieu-Daudé wrote:
> On Wed, Aug 1, 2018 at 12:37 AM Guenter Roeck <linux@roeck-us.net> wrote:
> >
> > sd-card is currently listed as uncategorized device.
> > Mark it as storage device.
> >
> > Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Do you send pull requests for the SD card subsystem or who will pick up
this patch?
Stefan
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] [PATCH-for-4.2] hw/sd: Mark sd-card as storage device
2018-11-15 15:14 ` Stefan Hajnoczi
@ 2019-07-11 16:24 ` Philippe Mathieu-Daudé
0 siblings, 0 replies; 4+ messages in thread
From: Philippe Mathieu-Daudé @ 2019-07-11 16:24 UTC (permalink / raw)
To: Stefan Hajnoczi, Philippe Mathieu-Daudé
Cc: QEMU Trivial, qemu-devel@nongnu.org Developers, Guenter Roeck
[-- Attachment #1.1: Type: text/plain, Size: 627 bytes --]
Hi Stefan,
On 11/15/18 4:14 PM, Stefan Hajnoczi wrote:
> On Thu, Nov 15, 2018 at 03:24:25PM +0100, Philippe Mathieu-Daudé wrote:
>> On Wed, Aug 1, 2018 at 12:37 AM Guenter Roeck <linux@roeck-us.net> wrote:
>>>
>>> sd-card is currently listed as uncategorized device.
>>> Mark it as storage device.
>>>
>>> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
>>
>> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
>
> Do you send pull requests for the SD card subsystem or who will pick up
> this patch?
Usually SD patches go via the ARM tree, this one could go via the
Trivial tree too (Cc'ing them).
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-07-11 16:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-31 22:37 [Qemu-devel] [PATCH] hw/sd: Mark sd-card as storage device Guenter Roeck
2018-11-15 14:24 ` Philippe Mathieu-Daudé
2018-11-15 15:14 ` Stefan Hajnoczi
2019-07-11 16:24 ` [Qemu-devel] [PATCH-for-4.2] " Philippe Mathieu-Daudé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).