Skip to contentSkip to conversation

Topcliff: Update PCH_PHUB driver to 2.6.35

PATCH New Masayuki Ohtak 1 participant 1 message Aug 25, 2010 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Topcliff: Update PCH_PHUB driver to 2.6.35

Hi Greg,

Sorry, previous patch mail included mistake.
Please check below.

Best Regards, Ohtake(OKISEMI).

---
Packet hub driver of Topcliff PCH

Topcliff PCH is the platform controller hub that is going to be used in Intel's upcoming general embedded platform. All IO peripherals in Topcliff PCH are actually devices sitting on AMBA bus. Packet hub is a special converter device in Topcliff PCH that translate AMBA transactions to PCI Express transactions and vice versa. Thus packet hub helps present all IO peripherals in Topcliff PCH as PCIE devices to IA system. Topcliff PCH has MAC address and Option ROM data.
These data are in SROM which is connected to PCIE bus.
Packet hub driver of Topcliff PCH can access MAC address and Option ROM data in SROM via sysfs interface.

---
 Documentation/ABI/testing/sysfs-module |   12 +
 drivers/misc/Kconfig                   |   12 +
 drivers/misc/Makefile                  |    1 +
 drivers/misc/pch_phub.c                |  719 ++++++++++++++++++++++++++++++++
 4 files changed, 744 insertions(+), 0 deletions(-)
 create mode 100644 Documentation/ABI/testing/sysfs-module
 create mode 100755 drivers/misc/pch_phub.c
Documentation/ABI/testing/sysfs-module new file +12 -0
new file mode 100644
index 0000000..cfcec3b
@@ -0,0 +1,12 @@
+What:		/sys/module/pch_phub/drivers/.../pch_mac
+Date:		August 2010
+KernelVersion:	2.6.35
+Contact:	[email protected]
+Description:	Write/read GbE MAC address.
+
+What:		/sys/module/pch_phub/drivers/.../pch_firmware
+Date:		August 2010
+KernelVersion:	2.6.35
+Contact:	[email protected]
+Description:	Write/read Option ROM data.
+
drivers/misc/Kconfig +12 -0
index 26386a9..d5280da 100644
@@ -353,6 +353,18 @@ config VMWARE_BALLOON
 	  To compile this driver as a module, choose M here: the
 	  module will be called vmware_balloon.
 
+config PCH_PHUB
+	tristate "PCH Packet Hub of Intel Topcliff"
+	depends on PCI
+	help
+	  This driver is for PCH(Platform controller Hub) PHUB(Packet Hub) of
+	  Intel Topcliff which is an IOH(Input/Output Hub) for x86 embedded
+	  processor. The Topcliff has MAC address and Option ROM data in SROM.
+	  This driver can access MAC address and Option ROM data in SROM.
+
+	  To compile this driver as a module, choose M here: the module will
+	  be called pch_phub.
+
 source "drivers/misc/c2port/Kconfig"
 source "drivers/misc/eeprom/Kconfig"
 source "drivers/misc/cb710/Kconfig"
drivers/misc/Makefile +1 -0
index 6ed06a1..6389eb3 100644
@@ -31,3 +31,4 @@ obj-$(CONFIG_IWMC3200TOP)      += iwmc3200top/
 obj-y				+= eeprom/
 obj-y				+= cb710/
 obj-$(CONFIG_VMWARE_BALLOON)	+= vmware_balloon.o
+obj-$(CONFIG_PCH_PHUB)		+= pch_phub.o
drivers/misc/pch_phub.c new file +719 -0

719 lines not on this page · raw message

Signature · 1 line
1.6.0.6