Skip to contentSkip to conversation

2.5.45 cpqphp driver patch w/ intcphp driver enhancements - gzipp

Linux-ia64 Lee, Jung-Ik 1 participant 1 message Nov 12, 2002

lore
Share & tools
lore
#0 lore raw

Sorry the patch seems little too large. I simply confused myself with email client's default compressor...
Here's the patch again in gzip.

thanks,
J.I.

+++++++++++++++++++++++++++++++++++
Hi Greg,

Here's PCI hotplug driver patch to cpqphp driver in 2.5.45.
It took a while since this patch required integration of intcphp driver and cpqphp driver, which basically nullified all previous validation/regression on intcphp, hence driver had to go thru it again... It's been verified on three servers (Itanium2(Tiger), Itanium1(Lion), and i386 Intel server) in 2.5.39 and 2.5.45 kernels.

 Kconfig        |   20 
 Makefile       |   14 
 cpqphp.h       |  668 +++++++-------------
 cpqphp_core.c  | 1152 ++++++----------------------------
 cpqphp_ctrl.c  | 1585 ++++++++++++++++-------------------------------
 cpqphp_hpc.c   | 1306 +++++++++++++++++++++++++++++++++++++++
 cpqphp_nvram.c |   32 
 cpqphp_nvram.h |    2 
 cpqphp_pci.c   | 1210 ++++++++++--------------------------
 cpqphp_proc.c  |   19 
 phprm.h        |   66 +
 phprm_acpi.c   | 1883
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 phprm_legacy.c |  940 ++++++++++++++++++++++++++++
 phprm_legacy.h |  195 +++++
 14 files changed, 5788 insertions(+), 3304 deletions(-)

Diffs are mainly from enhancements to make cpqphp driver work on both i386 and ia64 platforms w/ acpi or non-acpi legacy support.

Current 2.5.45 cpqphp driver: This cpqphp driver patch:

          resource/config by               resource/config by
    +------+--------+-------+        +------+--------+-------+
    |      |non-ACPI| ACPI  |        |      |non-ACPI| ACPI  |
    +------+--------+-------+        +------+--------+-------+
    | I386 |   Y    |       |  ==>   | I386 |   Y    |   Y   |
    +------+--------+-------+        +------+--------+-------+
    | IA64 |        |       |        | IA64 |   Y    |   Y   |
    +------+--------+-------+        +------+--------+-------+
                        Diffs in feature

#1 cpqphp_core.c cpqphp_ctrl.c cpqphp_pci.c cpqphp_proc.c are now common to i386/ia64, and ACPI/non-ACPI.
*Resource/configuration interface(PHPRM) is added to support both ACPI
based solution and $HRT/BIOS based one.
*phprm_legacy.c:
Existing non-ACPI, $HRT/BIOS codes in new PHPRM interfaces.
*phprm_acpi.c:
New ACPI based PHPRM functions.
#2 HP Controller hw specifics are only in cpqphp_hpc.c

Thanks,
J.I.