Skip to contentSkip to conversation

ethernet/pch_gbe: Change company name OKI SEMICONDUCTOR to LAPIS Semiconductor

PATCH In review Tomoya MORINAGA 2 participants 8 messages Jan 27, 2012 – Feb 22, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ethernet/pch_gbe: Change company name OKI SEMICONDUCTOR to LAPIS Semiconductor

On October 1 in 2011,
OKI SEMICONDUCTOR Co., Ltd. changed the company name in to LAPIS Semiconductor Co., Ltd.

Simply, oki-semi/ moves lapis-semi/ or
"OKI" replaces "LAPIS"

---
 drivers/net/ethernet/Kconfig                       |    2 +-
 drivers/net/ethernet/Makefile                      |    2 +-
 drivers/net/ethernet/lapis-semi/Kconfig            |   23 +
 drivers/net/ethernet/lapis-semi/Makefile           |    5 +
 drivers/net/ethernet/lapis-semi/pch_gbe/Kconfig    |   22 +
 drivers/net/ethernet/lapis-semi/pch_gbe/Makefile   |    4 +
 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe.h  |  663 +++++
 .../net/ethernet/lapis-semi/pch_gbe/pch_gbe_api.c  |  245 ++
 .../net/ethernet/lapis-semi/pch_gbe/pch_gbe_api.h  |   36 +
 .../ethernet/lapis-semi/pch_gbe/pch_gbe_ethtool.c  |  513 ++++
 .../net/ethernet/lapis-semi/pch_gbe/pch_gbe_main.c | 2605 ++++++++++++++++++++
 .../ethernet/lapis-semi/pch_gbe/pch_gbe_param.c    |  504 ++++
 .../net/ethernet/lapis-semi/pch_gbe/pch_gbe_phy.c  |  274 ++
 .../net/ethernet/lapis-semi/pch_gbe/pch_gbe_phy.h  |   37 +
 drivers/net/ethernet/oki-semi/Kconfig              |   23 -
 drivers/net/ethernet/oki-semi/Makefile             |    5 -
 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig      |   22 -
 drivers/net/ethernet/oki-semi/pch_gbe/Makefile     |    4 -
 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h    |  663 -----
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c    |  245 --
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_api.h    |   36 -
 .../ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c    |  513 ----
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c   | 2605 --------------------
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c  |  504 ----
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c    |  274 --
 .../net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h    |   37 -
 26 files changed, 4933 insertions(+), 4933 deletions(-)
 create mode 100644 drivers/net/ethernet/lapis-semi/Kconfig
 create mode 100644 drivers/net/ethernet/lapis-semi/Makefile
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/Kconfig
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/Makefile
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe.h
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_api.c
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_api.h
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_ethtool.c
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_main.c
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_param.c
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_phy.c
 create mode 100644 drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_phy.h
 delete mode 100644 drivers/net/ethernet/oki-semi/Kconfig
 delete mode 100644 drivers/net/ethernet/oki-semi/Makefile
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/Makefile
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.h
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c
 delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h
drivers/net/ethernet/Kconfig +1 -1
index 597f4d4..fae3646 100644
@@ -126,7 +126,7 @@ config NET_NETX
 source "drivers/net/ethernet/nuvoton/Kconfig"
 source "drivers/net/ethernet/nvidia/Kconfig"
 source "drivers/net/ethernet/octeon/Kconfig"
-source "drivers/net/ethernet/oki-semi/Kconfig"
+source "drivers/net/ethernet/lapis-semi/Kconfig"
 
 config ETHOC
 	tristate "OpenCores 10/100 Mbps Ethernet MAC support"
drivers/net/ethernet/Makefile +1 -1
index be5dde0..bcb2e28 100644
@@ -47,7 +47,7 @@ obj-$(CONFIG_NET_NETX) += netx-eth.o
 obj-$(CONFIG_NET_VENDOR_NUVOTON) += nuvoton/
 obj-$(CONFIG_NET_VENDOR_NVIDIA) += nvidia/
 obj-$(CONFIG_OCTEON_MGMT_ETHERNET) += octeon/
-obj-$(CONFIG_NET_VENDOR_OKI) += oki-semi/
+obj-$(CONFIG_NET_VENDOR_LAPIS) += lapis-semi/
 obj-$(CONFIG_ETHOC) += ethoc.o
 obj-$(CONFIG_NET_PACKET_ENGINE) += packetengines/
 obj-$(CONFIG_NET_VENDOR_PASEMI) += pasemi/
drivers/net/ethernet/lapis-semi/Kconfig new file +23 -0
new file mode 100644
index 0000000..bce29a6
@@ -0,0 +1,23 @@
+#
+# LAPIS Semiconductor device configuration
+#
+
+config NET_VENDOR_LAPIS
+	bool " LAPIS Semiconductor devices"
+	default y
+	depends on PCI
+	---help---
+	  If you have a network (Ethernet) card belonging to this class, say Y
+	  and read the Ethernet-HOWTO, available from
+	  <http://www.tldp.org/docs.html#howto>.
+
+	  Note that the answer to this question doesn't directly affect the
+	  kernel: saying N will just cause the configurator to skip all
+	  the questions about LAPIS Semiconductor cards. If you say Y, you will
+	  be asked for your specific card in the following questions.
+
+if NET_VENDOR_LAPIS
+
+source "drivers/net/ethernet/lapis-semi/pch_gbe/Kconfig"
+
+endif # NET_VENDOR_LAPIS
drivers/net/ethernet/lapis-semi/Makefile new file +5 -0
new file mode 100644
index 0000000..1426f9e
@@ -0,0 +1,5 @@
+#
+# Makefile for the LAPIS Semiconductor device drivers.
+#
+
+obj-$(CONFIG_PCH_GBE) += pch_gbe/
drivers/net/ethernet/lapis-semi/pch_gbe/Kconfig new file +22 -0
new file mode 100644
index 0000000..7dd8dc7
@@ -0,0 +1,22 @@
+#
+# LAPIS Semiconductor device configuration
+#
+
+config PCH_GBE
+	tristate "LAPIS SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
+	depends on PCI
+	select NET_CORE
+	select MII
+	---help---
+	  This is a gigabit ethernet driver for EG20T PCH.
+	  EG20T PCH is the platform controller hub that is used in Intel's
+	  general embedded platform.  EG20T PCH has Gigabit Ethernet interface.
+	  Using this interface, it is able to access system devices connected
+	  to Gigabit Ethernet.  This driver enables Gigabit Ethernet function.
+
+	  This driver also can be used for LAPIS SEMICONDUCTOR IOH(Input/
+	  Output Hub), ML7223/ML7831.
+	  ML7223 IOH is for MP(Media Phone) use. ML7831 IOH is for general
+	  purpose use.
+	  ML7223/ML7831 is companion chip for Intel Atom E6xx series.
+	  ML7223/ML7831 is completely compatible for Intel EG20T PCH.
drivers/net/ethernet/lapis-semi/pch_gbe/Makefile new file +4 -0
new file mode 100644
index 0000000..31288d4
@@ -0,0 +1,4 @@
+obj-$(CONFIG_PCH_GBE) += pch_gbe.o
+
+pch_gbe-y := pch_gbe_phy.o pch_gbe_ethtool.o pch_gbe_param.o
+pch_gbe-y += pch_gbe_api.o pch_gbe_main.o
drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe.h new file +663 -0

663 lines not on this page · raw message

drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_api.c new file +245 -0

245 lines not on this page · raw message

drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_api.h new file +36 -0
new file mode 100644
index 0000000..5cfb6ef
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 1999 - 2010 Intel Corporation.
+ * Copyright (C) 2010 LAPIS SEMICONDUCTOR Co., LTD.
+ *
+ * This code was derived from the Intel e1000e Linux driver.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ * 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., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
+ */
+#ifndef _PCH_GBE_API_H_
+#define _PCH_GBE_API_H_
+
+#include "pch_gbe_phy.h"
+
+s32 pch_gbe_hal_setup_init_funcs(struct pch_gbe_hw *hw);
+void pch_gbe_hal_get_bus_info(struct pch_gbe_hw *hw);
+s32 pch_gbe_hal_init_hw(struct pch_gbe_hw *hw);
+s32 pch_gbe_hal_read_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 *data);
+s32 pch_gbe_hal_write_phy_reg(struct pch_gbe_hw *hw, u32 offset, u16 data);
+void pch_gbe_hal_phy_hw_reset(struct pch_gbe_hw *hw);
+void pch_gbe_hal_phy_sw_reset(struct pch_gbe_hw *hw);
+s32 pch_gbe_hal_read_mac_addr(struct pch_gbe_hw *hw);
+void pch_gbe_hal_power_up_phy(struct pch_gbe_hw *hw);
+void pch_gbe_hal_power_down_phy(struct pch_gbe_hw *hw);
+
+#endif
drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_ethtool.c new file +513 -0

513 lines not on this page · raw message

drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_main.c new file +2605 -0

1,473 lines not on this page · raw message

drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_param.c new file +504 -0

504 lines not on this page · raw message

drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_phy.c new file +274 -0

274 lines not on this page · raw message

drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_phy.h new file +37 -0
new file mode 100644
index 0000000..4077afe

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/oki-semi/Kconfig deleted +0 -23
deleted file mode 100644
index ecd45f9..0000000

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/oki-semi/Makefile deleted +0 -5
deleted file mode 100644
index b6780c8..0000000

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/oki-semi/pch_gbe/Kconfig deleted +0 -22
deleted file mode 100644
index 00bc4fc..0000000

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/oki-semi/pch_gbe/Makefile deleted +0 -4
deleted file mode 100644
index 31288d4..0000000

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe.h deleted +0 -663

663 lines not on this page · raw message

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.c deleted +0 -245

245 lines not on this page · raw message

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_api.h deleted +0 -36
deleted file mode 100644
index 94aaac5..0000000

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c deleted +0 -513

513 lines not on this page · raw message

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_main.c deleted +0 -2605

2,605 lines not on this page · raw message

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_param.c deleted +0 -504

504 lines not on this page · raw message

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c deleted +0 -274

274 lines not on this page · raw message

drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h deleted +0 -37
deleted file mode 100644
index 03264dc..0000000

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.7.4

Part of the diff is not shown here. View the raw message.

#1 lore raw

PATCH 2/3 ethernet/pch_gbe: add Intel EG20T PCH

Previous patch deleted description "Intel EG20T PCH". So, I add this again.

---
 drivers/net/ethernet/lapis-semi/pch_gbe/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ethernet/lapis-semi/pch_gbe/Kconfig +1 -1
index 7dd8dc7..af3768c 100644
@@ -3,7 +3,7 @@
 #
 
 config PCH_GBE
-	tristate "LAPIS SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
+	tristate "Intel EG20T PCH/LAPIS Semicon IOH(ML7223/ML7831) GbE"
 	depends on PCI
 	select NET_CORE
 	select MII
Signature · 1 line
1.7.7.4
#2 lore raw

PATCH 3/3 ethernet: Change author mail address

In reply to Tomoya MORINAGA
---
 .../net/ethernet/lapis-semi/pch_gbe/pch_gbe_main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ethernet/lapis-semi/pch_gbe/pch_gbe_main.c +1 -1
index a6297fd..c1a99c7 100644
@@ -2593,7 +2593,7 @@ module_init(pch_gbe_init_module);
 module_exit(pch_gbe_exit_module);
 
 MODULE_DESCRIPTION("EG20T PCH Gigabit ethernet Driver");
-MODULE_AUTHOR("LAPIS SEMICONDUCTOR, <[email protected]>");
+MODULE_AUTHOR("LAPIS SEMICONDUCTOR, <[email protected]>");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(DRV_VERSION);
 MODULE_DEVICE_TABLE(pci, pch_gbe_pcidev_id);
Signature · 1 line
1.7.7.4
maintainer
#3 lore raw
In reply to Tomoya MORINAGA

Sorry, we're not going to get into this pattern where we move drivers around in the tree every time the company that produces the chip changes it's name.

If we did this then certain drivers will have moved 5 or more times since the beginning of the Linux kernel, and there is nothing to be gained from that except confusion.

In fact more valuable thing to do is to refer to both the old and the new name, rather than just the new one or just the old one. Because you now have two sets of users, one very large set which is familiar with the old name and a smaller set which will only know about the new name.

Frankly, I would just leave everything alone except perhaps adding a mention of the new name (and not deleting the old name) in the Kconfig help text.

#4 lore raw

Hi David

I can understand your saying.

If I post like below, is this patch acceptable for you ?
+ tristate "OKI/LAPIS SEMICONDUCTOR IOH(ML7223/ML7831) GbE"

BTW, I think need consistency for "Change company/product name" as a whole of linux.
Because other patches for the same series "change company name" I posted have already accepted.
e.g.(GPIO, USB device, DMA, UART, I2C)

thanks,
tomoya

2012/1/31 David Miller <[email protected]>:

Quoted 18 lines

Sorry, we're not going to get into this pattern where we move drivers around in the tree every time the company that produces the chip changes it's name.

If we did this then certain drivers will have moved 5 or more times since the beginning of the Linux kernel, and there is nothing to be gained from that except confusion.

In fact more valuable thing to do is to refer to both the old and the new name, rather than just the new one or just the old one.  Because you now have two sets of users, one very large set which is familiar with the old name and a smaller set which will only know about the new name.

Frankly, I would just leave everything alone except perhaps adding a mention of the new name (and not deleting the old name) in the Kconfig help text.

maintainer
#5 lore raw

From: Tomoya MORINAGA <[email protected]>
Date: Tue, 31 Jan 2012 09:35:26 +0900

Quoted 10 lines

I can understand your saying.

If I post like below, is this patch acceptable for you ?
+ tristate "OKI/LAPIS SEMICONDUCTOR IOH(ML7223/ML7831) GbE"

BTW, I think need consistency for "Change company/product name" as a whole of linux.
Because other patches for the same series "change company name" I posted have already accepted.
e.g.(GPIO, USB device, DMA, UART, I2C)

I mainly object to moving the driver around, and failing to retain the old name especially in user visible contexts such as Kconfig variables, help text, and module parameters.

#6 lore raw

Hi David

I have two questions.

Q1. How should I handle "Copyright" ?

Q2. As I said before, "Intel EG20T PCH" was deleted by someone. So, I want to retrieve the description. Can I do ?

Thanks.
tomoya

2012/1/31 David Miller <[email protected]>:

Quoted 17 lines

From: Tomoya MORINAGA <[email protected]>
Date: Tue, 31 Jan 2012 09:35:26 +0900

Quoted 10 lines

I can understand your saying.

If I post like below, is this patch acceptable for you ?
+       tristate "OKI/LAPIS SEMICONDUCTOR IOH(ML7223/ML7831) GbE"

BTW, I think need consistency for "Change company/product name" as a whole of linux.
Because other patches for the same series "change company name" I posted have already accepted.
e.g.(GPIO, USB device, DMA, UART, I2C)

I mainly object to moving the driver around, and failing to retain the old name especially in user visible contexts such as Kconfig variables, help text, and module parameters.

#7 lore raw

2012年1月31日19:41 Tomoya MORINAGA <[email protected]>:

Quoted 7 lines

I have two questions.

Q1. How should I handle "Copyright" ?

Q2. As I said before, "Intel EG20T PCH" was deleted by someone. So, I want to retrieve the description. Can I do ?

Still I haven't received your reply.
Could you give me your answer/opinion ?

thanks in advance.

---
ROHM Co., Ltd.
tomoya