diff options
author | marcel <marcel@FreeBSD.org> | 2002-05-19 03:17:22 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2002-05-19 03:17:22 +0000 |
commit | dc5fc6400292e035f713ab40d28460f1e582ebc3 (patch) | |
tree | a8f3db9952b16aae9ffd2fcdeea5f325af92c4e4 /sys/boot/efi/include/efi_nii.h | |
parent | 18037eb7abbc88a96356f5301de4264b7e15e365 (diff) | |
download | FreeBSD-src-dc5fc6400292e035f713ab40d28460f1e582ebc3.zip FreeBSD-src-dc5fc6400292e035f713ab40d28460f1e582ebc3.tar.gz |
An almost mechanical sweep to replace C++ style comments with C
style comments. This is not an attempt to conform to style(9).
Such has lower priority.
Diffstat (limited to 'sys/boot/efi/include/efi_nii.h')
-rw-r--r-- | sys/boot/efi/include/efi_nii.h | 59 |
1 files changed, 33 insertions, 26 deletions
diff --git a/sys/boot/efi/include/efi_nii.h b/sys/boot/efi/include/efi_nii.h index d3cd2b7..6a9c05d 100644 --- a/sys/boot/efi/include/efi_nii.h +++ b/sys/boot/efi/include/efi_nii.h @@ -29,47 +29,54 @@ typedef enum { typedef struct { + /* Revision of the network interface identifier protocol interface. */ UINT64 Revision; - // Revision of the network interface identifier protocol interface. + /* + * Address of the first byte of the identifying structure for this + * network interface. This is set to zero if there is no structure. + * For PXE/UNDI this is the first byte of the !PXE structure. + */ UINT64 ID; - // Address of the first byte of the identifying structure for this - // network interface. This is set to zero if there is no structure. - // - // For PXE/UNDI this is the first byte of the !PXE structure. + /* + * Address of the UNrelocated driver/ROM image. This is set + * to zero if there is no driver/ROM image. + * For 16-bit UNDI, this is the first byte of the option ROM in + * upper memory. + * For 32/64-bit S/W UNDI, this is the first byte of the EFI ROM + * image. + * For H/W UNDI, this is set to zero. + */ UINT64 ImageAddr; - // Address of the UNrelocated driver/ROM image. This is set - // to zero if there is no driver/ROM image. - // - // For 16-bit UNDI, this is the first byte of the option ROM in - // upper memory. - // - // For 32/64-bit S/W UNDI, this is the first byte of the EFI ROM - // image. - // - // For H/W UNDI, this is set to zero. + /* + * Size of the UNrelocated driver/ROM image of this network interface. + * This is set to zero if there is no driver/ROM image. + */ UINT32 ImageSize; - // Size of the UNrelocated driver/ROM image of this network interface. - // This is set to zero if there is no driver/ROM image. + /* + * 4 char ASCII string to go in class identifier (option 60) in DHCP + * and Boot Server discover packets. + * For EfiNetworkInterfaceUndi this field is "UNDI". + * For EfiNetworkInterfaceSnp this field is "SNPN". + */ CHAR8 StringId[4]; - // 4 char ASCII string to go in class identifier (option 60) in DHCP - // and Boot Server discover packets. - // For EfiNetworkInterfaceUndi this field is "UNDI". - // For EfiNetworkInterfaceSnp this field is "SNPN". + /* + * Information to be placed into the PXE DHCP and Discover packets. + * This is the network interface type and version number that will + * be placed into DHCP option 94 (client network interface identifier). + */ UINT8 Type; UINT8 MajorVer; UINT8 MinorVer; - // Information to be placed into the PXE DHCP and Discover packets. - // This is the network interface type and version number that will - // be placed into DHCP option 94 (client network interface identifier). + BOOLEAN Ipv6Supported; - UINT8 IfNum; // interface number to be used with pxeid structure + UINT8 IfNum; /* interface number to be used with pxeid structure */ } EFI_NETWORK_INTERFACE_IDENTIFIER_INTERFACE; extern EFI_GUID NetworkInterfaceIdentifierProtocol; -#endif // _EFI_NII_H +#endif /* _EFI_NII_H */ |