efi/uga: Use video instead of fb as debug condition
All other video drivers use "video" as the debug condition instead of "fb" so change this in the efi/uga driver to make it consistent with the others. Signed-off-by: Peter Jones <pjones@redhat.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
df84d6e94c
commit
c73cda3495
1 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ find_card (grub_pci_device_t dev, grub_pci_id_t pciid, void *data)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
grub_dprintf ("fb", "Display controller: %d:%d.%d\nDevice id: %x\n",
|
grub_dprintf ("video", "Display controller: %d:%d.%d\nDevice id: %x\n",
|
||||||
grub_pci_get_bus (dev), grub_pci_get_device (dev),
|
grub_pci_get_bus (dev), grub_pci_get_device (dev),
|
||||||
grub_pci_get_function (dev), pciid);
|
grub_pci_get_function (dev), pciid);
|
||||||
addr += 8;
|
addr += 8;
|
||||||
|
@ -140,7 +140,7 @@ find_card (grub_pci_device_t dev, grub_pci_id_t pciid, void *data)
|
||||||
base64 <<= 32;
|
base64 <<= 32;
|
||||||
base64 |= (old_bar1 & GRUB_PCI_ADDR_MEM_MASK);
|
base64 |= (old_bar1 & GRUB_PCI_ADDR_MEM_MASK);
|
||||||
|
|
||||||
grub_dprintf ("fb", "%s(%d): 0x%" PRIxGRUB_UINT64_T "\n",
|
grub_dprintf ("video", "%s(%d): 0x%" PRIxGRUB_UINT64_T "\n",
|
||||||
((old_bar1 & GRUB_PCI_ADDR_MEM_PREFETCH) ?
|
((old_bar1 & GRUB_PCI_ADDR_MEM_PREFETCH) ?
|
||||||
"VMEM" : "MMIO"), type == GRUB_PCI_ADDR_MEM_TYPE_64 ? i - 1 : i,
|
"VMEM" : "MMIO"), type == GRUB_PCI_ADDR_MEM_TYPE_64 ? i - 1 : i,
|
||||||
base64);
|
base64);
|
||||||
|
|
Loading…
Reference in a new issue