Blue Swirl writes:
> On 5/11/10, Markus Armbruster wrote:
>> Blue Swirl writes:
>>
>> > On 5/9/10, chen huacai wrote:
>> >> This patch add initial support of VIA IDE controller used by fulong mini
>> pc
>> >>
>> >> Signed-off-by: Huacai Chen
>> >> -
>> [...]
>>
>> >> diff --git
On 5/11/10, Markus Armbruster wrote:
> Blue Swirl writes:
>
> > On 5/9/10, chen huacai wrote:
> >> This patch add initial support of VIA IDE controller used by fulong mini
> pc
> >>
> >> Signed-off-by: Huacai Chen
> >> -
> [...]
>
> >> diff --git a/hw/ide/via.c b/hw/ide/via.c
> >
>> + pci_register_bar((PCIDevice *)d, 4, 0x10,
>> + PCI_BASE_ADDRESS_SPACE_IO, bmdma_map);
>> +
>> + vmstate_register(0, &vmstate_ide_pci, d);
>
> Is this correct?
>
I think so, since ide/piix.c and ide/cmd646.c both do in this way.
--
Huacai Chen
Blue Swirl writes:
> On 5/9/10, chen huacai wrote:
>> This patch add initial support of VIA IDE controller used by fulong mini pc
>>
>> Signed-off-by: Huacai Chen
>> -
[...]
>> diff --git a/hw/ide/via.c b/hw/ide/via.c
>> new file mode 100644
>> index 000..9adc5b5
>> --- /dev/null
On 5/9/10, chen huacai wrote:
> This patch add initial support of VIA IDE controller used by fulong mini pc
>
> Signed-off-by: Huacai Chen
> -
> diff --git a/Makefile.objs b/Makefile.objs
> index ecdd53e..75be9ce 100644
> --- a/Makefile.objs
> +++ b/Makefile.objs
> @@ -195,6 +195,7 @@
This patch add initial support of VIA IDE controller used by fulong mini pc
Signed-off-by: Huacai Chen
-
diff --git a/Makefile.objs b/Makefile.objs
index ecdd53e..75be9ce 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -195,6 +195,7 @@ hw-obj-$(CONFIG_IDE_ISA) += ide/isa.o
hw-obj-$(CONFIG_