On 18.07.2012 17:32, Aleš Nesrsta wrote:

> Hi Frank,
> 
> You are probably right - it might be the problem with PCI bus master
> settings! The same problem was solved in UHCI driver for coreboot by
> Rock some time ago.
> 
> Try this patch, please:
> 

Feel free to commit this patch (especially given the confirmation that
it works). My response time nowadays is long, feel free to commit USB
patches as you see fit.

> @@ -533,6 +533,11 @@ grub_ehci_pci_iter (grub_pci_device_t de
>                       "EHCI grub_ehci_pci_iter: registers above 4G are not 
> supported\n");
>         return 0;
>       }
> +
> +      /* Set bus master - needed for coreboot or broken BIOSes (and
> VMware?) */
> +      addr = grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND);
> +      grub_pci_write_word(addr,
> +          GRUB_PCI_COMMAND_BUS_MASTER | grub_pci_read_word(addr));
>        
>        grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: 32-bit EHCI OK
> \n");
>      }
> 
> BR,
> Ales
> 
> 
> yanxiang fang wrote:
>> Hi, Ales.
>>  
>> I studied linux ehci driver which can work well in vmware. But found
>> nothing useful, mybe because it is too complex. So I turned to
>> other simpler OS to find some useful thing.
>>  
>> I don't know anything about PCI. Do you think this problem having
>> something to do with PCI configuration?
>>  
>> BR,
>>  
>> frank
>>  
>> _______________________________________________
>> Grub-devel mailing list
>> Grub-devel@gnu.org
>> https://lists.gnu.org/mailman/listinfo/grub-devel
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> .
> 



-- 
Regards
Vladimir 'φ-coder/phcoder' Serbinenko

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to