mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05:00
net/sff8472.h: add double-include protection
(cherry picked from commit 6cb5f1629e6f89a468e34625fd4a35ce4585500f)
This commit is contained in:
parent
4d71997277
commit
2cc31e97b0
1 changed files with 5 additions and 0 deletions
|
|
@ -26,6 +26,9 @@
|
|||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef _NET_SFF8472_H_
|
||||
#define _NET_SFF8472_H_
|
||||
|
||||
/*
|
||||
* The following set of constants are from Document SFF-8472
|
||||
* "Diagnostic Monitoring Interface for Optical Transceivers" revision
|
||||
|
|
@ -524,3 +527,5 @@ static const char *sff_8024_id[SFF_8024_ID_LAST + 1] = {
|
|||
*/
|
||||
|
||||
#define SFF_8472_POWER_FACTOR 10000.0
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue