On Thu, Sep 08, 2022 at 02:22:59PM +0530, Viresh Kumar wrote: > In order to prepare for adding support for more device types, create a > separate routine to allocate base and irq for a device as the same code > will be required for other device types too. > > Also move updates to virtio_irq and virtio_enabled out of the disk > device specific block, as they will depend on other device types too. > > Suggested-by: Oleksandr Tyshchenko <[email protected]> > Reviewed-by: Oleksandr Tyshchenko <[email protected]> > Signed-off-by: Viresh Kumar <[email protected]>
Reviewed-by: Anthony PERARD <[email protected]> Thanks, -- Anthony PERARD
