qemu-patch-raspberry4/include/hw/net
Eduardo Habkost db1015e92e Move QOM typedefs and add missing includes
Some typedefs and macros are defined after the type check macros.
This makes it difficult to automatically replace their
definitions with OBJECT_DECLARE_TYPE.

Patch generated using:

 $ ./scripts/codeconverter/converter.py -i \
   --pattern=QOMStructTypedefSplit $(git grep -l '' -- '*.[ch]')

which will split "typdef struct { ... } TypedefName"
declarations.

Followed by:

 $ ./scripts/codeconverter/converter.py -i --pattern=MoveSymbols \
    $(git grep -l '' -- '*.[ch]')

which will:
- move the typedefs and #defines above the type check macros
- add missing #include "qom/object.h" lines if necessary

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-9-ehabkost@redhat.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Message-Id: <20200831210740.126168-10-ehabkost@redhat.com>
Message-Id: <20200831210740.126168-11-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2020-09-09 09:26:43 -04:00
..
allwinner-sun8i-emac.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
allwinner_emac.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
cadence_gem.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ftgmac100.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
imx_fec.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
lan9118.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00
lance.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
lasi_82596.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
mii.h net: add Sun HME (Happy Meal Ethernet) on-board NIC 2017-09-21 08:38:42 +01:00
msf2-emac.h Move QOM typedefs and add missing includes 2020-09-09 09:26:43 -04:00
ne2000-isa.h isa: Convert uses of isa_create(), isa_try_create() manually 2020-06-15 22:05:28 +02:00
smc91c111.h Include hw/irq.h a lot less 2019-08-16 13:31:52 +02:00