grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PCI support


From: Robert Millan
Subject: Re: PCI support
Date: Mon, 28 Jan 2008 18:25:46 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

On Mon, Jan 28, 2008 at 03:03:33PM +0100, Marco Gerards wrote:
> 
> I wanted to wait with this patch until the ATA driver is adapted.  But
> I won't have time for that this week.  So I can better get this
> committed and people working on this ;-).  There is some code for ATA,
> but it was not tested yet.  The main problem here is qemu.
> 
> Does someone know if it is possible, at all, to have ATA devices
> showing up as non-legacy PCI devices in Qemu?  IDE interfaces are
> placed (and locked) in Legacy mode, meaning default IRQs and IO ports
> are used.  This means just our old ISA code will be used.  To support
> non-legacy modes, it would be nice if I could do some testing.  Does
> someone have suggestions?

Try:

--- qemu-0.9.0+20070816/hw/pc.c~        2007-06-06 18:26:13.000000000 +0200
+++ qemu-0.9.0+20070816/hw/pc.c 2008-01-28 18:25:00.000000000 +0100
@@ -676,6 +676,8 @@
     qemu_irq *cpu_irq;
     qemu_irq *i8259;

+    pci_enabled = 1;
+
     linux_boot = (kernel_filename != NULL);

     /* init CPUs */

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]