All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: EHCI driver
Date: Sun, 22 Jul 2012 18:58:24 +0200	[thread overview]
Message-ID: <500C3130.1050705@gmail.com> (raw)
In-Reply-To: <1342625570.2494.11.camel@pracovna>

[-- Attachment #1: Type: text/plain, Size: 1778 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 294 bytes --]

  reply	other threads:[~2012-07-22 16:58 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-17 23:18 EHCI driver yanxiang fang
2012-07-18 15:32 ` Aleš Nesrsta
2012-07-22 16:58   ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-07-22 19:24     ` Aleš Nesrsta
  -- strict thread matches above, loose matches on Subject: below --
2012-07-19  0:31 yanxiang fang
2012-07-09  8:48 yanxiang fang
2012-07-16 22:16 ` Aleš Nesrsta
2012-07-17 18:20   ` Aleš Nesrsta
2012-05-29  9:07 Christer Weinigel
2012-05-29 22:46 ` Aleš Nesrsta
2012-05-30  9:28   ` Christer Weinigel
2012-05-30 12:12     ` Christer Weinigel
2012-05-30 12:35       ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-05-31  8:40         ` Christer Weinigel
2012-05-31 12:08       ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-05-30 12:24   ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-05-30 17:28     ` Aleš Nesrsta
2012-05-30 17:40       ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=500C3130.1050705@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.