grub-devel
[Top][All Lists]
Advanced

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

Re: EHCI driver


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: EHCI driver
Date: Sun, 22 Jul 2012 18:58:24 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5

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
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/grub-devel
> 
> 
> 
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> .
> 



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

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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