|
From: | Liming Sun |
Subject: | Question about how to submit a grub2 patch |
Date: | Wed, 19 Dec 2018 16:20:06 +0000 |
Hi, When using grub2 from some Linux distribution, we found that it doesn’t seem to support EFI_VLAN_PATH (device path passed from EFI with VLAN information). I have a small patch, part of which like below. There seems to be multiple versions and git repos on the internet. What’s the right way to submit it for code review? diff --git a/include/grub/efi/api.h b/include/grub/efi/api.h index fbd1c4b..15da55c 100644 --- a/include/grub/efi/api.h +++ b/include/grub/efi/api.h @@ -871,6 +871,15 @@ struct grub_efi_sata_device_path } GRUB_PACKED; typedef struct grub_efi_sata_device_path grub_efi_sata_device_path_t; +#define GRUB_EFI_VLAN_PATH_SUBTYPE 20 + +struct grub_efi_vlan_device_path +{ + grub_efi_device_path_t header; + grub_efi_uint16_t vlan_id; +} GRUB_PACKED; +typedef struct grub_efi_vlan_device_path grub_efi_vlan_device_path_t; + #define GRUB_EFI_URI_DEVICE_PATH_SUBTYPE 24 Thanks! Liming |
[Prev in Thread] | Current Thread | [Next in Thread] |