From 82ef00f091652a625672684f8dbbd5e26fe2d4f0 Mon Sep 17 00:00:00 2001
From: Anjan Chanda <anjan.chanda@inteno.se>
Date: Tue, 12 Jun 2018 12:54:40 +0200
Subject: [PATCH] libethernet: add copyright and license information

---
 bcm.c      | 21 +++++++++++++++++++++
 ethernet.c | 21 +++++++++++++++++++++
 ethernet.h | 21 +++++++++++++++++++++
 ethsw.c    | 21 +++++++++++++++++++++
 4 files changed, 84 insertions(+)

diff --git a/bcm.c b/bcm.c
index b56ae04..520267c 100644
--- a/bcm.c
+++ b/bcm.c
@@ -1,3 +1,24 @@
+/*
+ * bcm.c - implements for Broadcom eth switch
+ *
+ * Copyright (C) 2018 Inteno Broadband Technology AB. All rights reserved.
+ *
+ * Author: anjan.chanda@inteno.se
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
diff --git a/ethernet.c b/ethernet.c
index eb4ba80..55fa914 100644
--- a/ethernet.c
+++ b/ethernet.c
@@ -1,3 +1,24 @@
+/*
+ * ethernet.c - file implements library APIs
+ *
+ * Copyright (C) 2018 Inteno Broadband Technology AB. All rights reserved.
+ *
+ * Author: anjan.chanda@inteno.se
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
diff --git a/ethernet.h b/ethernet.h
index 82a61ac..3d016bb 100644
--- a/ethernet.h
+++ b/ethernet.h
@@ -1,3 +1,24 @@
+/*
+ * ethernet.h - library header file
+ *
+ * Copyright (C) 2018 Inteno Broadband Technology AB. All rights reserved.
+ *
+ * Author: anjan.chanda@inteno.se
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #ifndef _ETHERNET_H
 #define _ETHERNET_H
 
diff --git a/ethsw.c b/ethsw.c
index 835faff..2387f7d 100644
--- a/ethsw.c
+++ b/ethsw.c
@@ -1,3 +1,24 @@
+/*
+ * ethsw.c - implements APIs through swlib
+ *
+ * Copyright (C) 2018 Inteno Broadband Technology AB. All rights reserved.
+ *
+ * Author: anjan.chanda@inteno.se
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
 #include <stdio.h>
 #include <stdlib.h>
 #include <stdarg.h>
-- 
GitLab