Glenn suggested to rename the existing PCI_CLASS defines to have
explicit class and subclass names.
Suggested-by: Glenn Washburn
Signed-off-by: Peter Zijlstra (Intel)
---
Index: grub/grub-core/kern/i386/qemu/init.c
===
--- grub.orig
Hi!
A small collection of patches that adds PCI serial support.
The first patch is by Glenn and adds GRUB_HAS_PCI -- it is included so that it
is a complete posting.
The second patch is the actual PCI serial support, and the last patch a cleanup
requested by Glenn.
Much thanks to Glenn for all
Loosely based on early_pci_serial_init() from Linux, allow GRUB to make
use of PCI serial devices.
Specifically, my Alderlake NUC exposes the Intel AMT SoL UART as a PCI
enumerated device but doesn't include it in the EFI tables.
Tested and confirmed working on a "Lenovo P360 Tiny" with Intel AMT
From: Glenn Washburn
The list of targets that support PCI is in gentpl.py. However, there is no
support for generating makefile script from a .def file that will apply
globally to the makefile, but on a per target basis. So instead, use
gentpl.py in configure to get the list of targets and check