Byte-addressable PCI config space

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-22 15:09:25 +01:00
parent dc77a79959
commit fbb8a88714
13 changed files with 117 additions and 25 deletions

View file

@ -477,7 +477,7 @@ find_framebuf (grub_uint32_t *fb_base, grub_uint32_t *line_len)
{
grub_pci_address_t addr;
addr = grub_pci_make_address (dev, 2);
addr = grub_pci_make_address (dev, GRUB_PCI_REG_CLASS);
if (grub_pci_read (addr) >> 24 == 0x3)
{
int i;