From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1SszUN-0007bv-7L for mharc-grub-devel@gnu.org; Sun, 22 Jul 2012 12:58:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SszUK-0007bm-MZ for grub-devel@gnu.org; Sun, 22 Jul 2012 12:58:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SszUJ-0005B0-G4 for grub-devel@gnu.org; Sun, 22 Jul 2012 12:58:36 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:50377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SszUJ-0005Ap-7L for grub-devel@gnu.org; Sun, 22 Jul 2012 12:58:35 -0400 Received: by wgbez12 with SMTP id ez12so4115031wgb.30 for ; Sun, 22 Jul 2012 09:58:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=IyvDXDAHG67ABoE97q1uGf3DWa562CfT3MRxM5TUGqw=; b=PkykZGmjP1otSHvuulWxMEUagKrATeZBb6YIELqKtHec3tIiNhlX1ohPIyXFi6PDtY Z5q2Jg2baWRW1P6MmoSSdKbTSwAMdzO58QrOZHguvgqIK06QNPoBxjQrGgID2PdLQDzl ilDM8iTvL/UCmuzBgOO9njFCeHkNC7CZVNF/gbbDNf2nA9p6htOlY7Z0rWRsC/CtUx9o RWLBM7C6CyWDilr/2GVmV+o3pFNY9iUMAbgqtLurzx0CfEzCQKQZyZqGTaB0o5peywHq 3F1adwEclrYJxRfU+MqHHBzOx7ztefzQ6XqyQBzKgUIC+VSy3wDYfLzs0Vcr8uO1MPag 2sRg== Received: by 10.180.78.99 with SMTP id a3mr41216861wix.15.1342976313432; Sun, 22 Jul 2012 09:58:33 -0700 (PDT) Received: from debian.x201.phnet (121-62.77-83.cust.bluewin.ch. [83.77.62.121]) by mx.google.com with ESMTPS id el6sm12031221wib.8.2012.07.22.09.58.32 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 Jul 2012 09:58:32 -0700 (PDT) Message-ID: <500C3130.1050705@gmail.com> Date: Sun, 22 Jul 2012 18:58:24 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120624 Icedove/10.0.5 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: EHCI driver References: <1342625570.2494.11.camel@pracovna> In-Reply-To: <1342625570.2494.11.camel@pracovna> X-Enigmail-Version: 1.4.1 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig3739D099F596A55EE1816A46" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.49 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 16:58:37 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3739D099F596A55EE1816A46 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 18.07.2012 17:32, Ale=C5=A1 Nesrsta wrote: > Hi Frank, >=20 > 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. >=20 > Try this patch, please: >=20 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 =3D grub_pci_make_address (dev, GRUB_PCI_REG_COMMAND); > + grub_pci_write_word(addr, > + GRUB_PCI_COMMAND_BUS_MASTER | grub_pci_read_word(addr)); > =20 > grub_dprintf ("ehci", "EHCI grub_ehci_pci_iter: 32-bit EHCI OK > \n"); > } >=20 > BR, > Ales >=20 >=20 > yanxiang fang wrote: >> Hi, Ales. >> =20 >> 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. >> =20 >> I don't know anything about PCI. Do you think this problem having >> something to do with PCI configuration? >> =20 >> BR, >> =20 >> frank >> =20 >> _______________________________________________ >> Grub-devel mailing list >> Grub-devel@gnu.org >> https://lists.gnu.org/mailman/listinfo/grub-devel >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel > . >=20 --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig3739D099F596A55EE1816A46 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAlAMMTcACgkQNak7dOguQgn7UAD/bzAGMF0UhLtk9neY6QZVhkNY cb3Q6ftMJeHr7tf9ix0A/RvQad9STeK3XpfmS8QmFsnC3dSs0Sk02W2XcDTxeIYN =FVDb -----END PGP SIGNATURE----- --------------enig3739D099F596A55EE1816A46--