Re: [PATCH v2 1/5] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-02-24 Thread Dan Carpenter
On Mon, Feb 24, 2014 at 11:25:12AM +0100, Gerd Hoffmann wrote: > -static acpi_status vmbus_walk_resources(struct acpi_resource *res, void *irq) > +static acpi_status vmbus_walk_resources(struct acpi_resource *res, void *ctx) > { > + switch (res->type) { > + case ACPI_RESOURCE_TYPE_IRQ: >

[PATCH v2 1/5] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-02-24 Thread Gerd Hoffmann
From: "K. Y. Srinivasan" On Gen2 firmware, Hyper-V does not emulate the PCI bus. However, the MMIO information is packaged up in DSDT. Extract this information and export it for use by the synthetic framebuffer driver. This is the only driver that needs this currently. In this version of the

[PATCH v2 1/5] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-02-24 Thread Gerd Hoffmann
From: K. Y. Srinivasan k...@microsoft.com On Gen2 firmware, Hyper-V does not emulate the PCI bus. However, the MMIO information is packaged up in DSDT. Extract this information and export it for use by the synthetic framebuffer driver. This is the only driver that needs this currently. In this

Re: [PATCH v2 1/5] Drivers: hv: vmbus: Extract the mmio information from DSDT

2014-02-24 Thread Dan Carpenter
On Mon, Feb 24, 2014 at 11:25:12AM +0100, Gerd Hoffmann wrote: -static acpi_status vmbus_walk_resources(struct acpi_resource *res, void *irq) +static acpi_status vmbus_walk_resources(struct acpi_resource *res, void *ctx) { + switch (res-type) { + case ACPI_RESOURCE_TYPE_IRQ: +