Skip to content

Commit cf4ece5

Browse files
Masayuki Ohtakgregkh
authored andcommitted
add Packet hub driver for Topcliff Platform controller hub
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. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1 parent c64a092 commit cf4ece5

4 files changed

Lines changed: 742 additions & 0 deletions

File tree

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
What: /sys/module/pch_phub/drivers/.../pch_mac
2+
Date: August 2010
3+
KernelVersion: 2.6.35
4+
Contact: masa-korg@dsn.okisemi.com
5+
Description: Write/read GbE MAC address.
6+
7+
What: /sys/module/pch_phub/drivers/.../pch_firmware
8+
Date: August 2010
9+
KernelVersion: 2.6.35
10+
Contact: masa-korg@dsn.okisemi.com
11+
Description: Write/read Option ROM data.
12+

‎drivers/misc/Kconfig‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,18 @@ config BMP085
390390
To compile this driver as a module, choose M here: the
391391
module will be called bmp085.
392392

393+
config PCH_PHUB
394+
tristate "PCH Packet Hub of Intel Topcliff"
395+
depends on PCI
396+
help
397+
This driver is for PCH(Platform controller Hub) PHUB(Packet Hub) of
398+
Intel Topcliff which is an IOH(Input/Output Hub) for x86 embedded
399+
processor. The Topcliff has MAC address and Option ROM data in SROM.
400+
This driver can access MAC address and Option ROM data in SROM.
401+
402+
To compile this driver as a module, choose M here: the module will
403+
be called pch_phub.
404+
393405
source "drivers/misc/c2port/Kconfig"
394406
source "drivers/misc/eeprom/Kconfig"
395407
source "drivers/misc/cb710/Kconfig"

‎drivers/misc/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ obj-y += eeprom/
3535
obj-y += cb710/
3636
obj-$(CONFIG_VMWARE_BALLOON) += vmw_balloon.o
3737
obj-$(CONFIG_ARM_CHARLCD) += arm-charlcd.o
38+
obj-$(CONFIG_PCH_PHUB) += pch_phub.o

0 commit comments

Comments
 (0)