Patch-ID# 108980-13
Keywords: security Hotplug hotswap PCI pcihp printer nodetype devfsadmd pcicfg
Synopsis: SunOS 5.8_x86: PCI HotPlug framework and devfsadm patch
Date: 05/Feb/01

Solaris Release: 8_x86

SunOS release: 5.8_x86

Unbundled Product: 

Unbundled Release: 

Topic: SunOS 5.8_x86: PCI HotPlug framework and devfsadm patch

	NOTE:	Refer to Special Install Instructions section for 
		IMPORTANT specific information on this patch.

BugId's fixed with this patch: 4272737 4276021 4303126 4306367 4307062 4307080 4307747 4307827 4309011 4309750 4309802 4309818 4310864 4311126 4311134 4312937 4314121 4314936 4315098 4315100 4315101 4318351 4318747 4319122 4320440 4320471 4321326 4322424 4328067 4329695 4330383 4330429 4330774 4332425 4334198 4335003 4335285 4335935 4336443 4337039 4337674 4338007 4338009 4338633 4338702 4338704 4339732 4341185 4341224 4349603 4357092 4357552 4359294 4363907 4364048 4365270 4367993 4369175 4372712 4381743 4386092 4386544 4387034 4389866 4401837 

Changes incorporated in this version: 4338007 4338009 4387034 4389866 4401837

Relevant Architectures: i386

Patches accumulated and obsoleted by this patch: 109297-05 110107-02 110119-03 110575-01 110789-01 

Patches which conflict with this patch: 

Patches required with this patch: 108529-05 (or newer)

Obsoleted by: 

Files included with this patch:

/kernel/misc/hpcsvc
/kernel/misc/pcicfg
/kernel/misc/pcihp
/usr/include/sys/hotplug/hpcsvc.h
/usr/include/sys/hotplug/hpctrl.h
/usr/include/sys/hotplug/pci/pcicfg.h
/usr/include/sys/hotplug/pci/pcihp.h
/usr/lib/abi/abi_pci.so.1
/usr/lib/cfgadm/pci.so.1
/usr/lib/devfsadm/linkmod/SUNW_cfg_link.so
/usr/lib/devfsadm/linkmod/SUNW_misc_link.so
/usr/lib/devfsadm/linkmod/SUNW_misc_link_i386.so
/usr/lib/devfsadm/linkmod/SUNW_port_link.so
/usr/lib/devfsadm/linkmod/SUNW_usb_link.so

Problem Description:

4338007 pcihp instance number handling wrong if pci nexus detached/reattached
4338009 pcihp_uninit should call ddi_remove_minor_node to remove minor nodes
4389866 pcihp DEVCTL_DEVICE_OFFLINE should set same flags as pcihp_unconfigure_node
4387034 cPCI unconfigure each pci attachment points followed by configure board panics
4401837 fix requires ASSERT condition reversed

(from 108980-12)

4337674 Hotswap Handler in the PCI Hotplug Framework assumes radial ENUM# which is wrong
4338702 cPCI blue LED must be handled by default
4338704 cfgadm -c configure in Full Hotswap Mode can Hang the system for a full HS board
4335285 PCI hotplug framework may panic if config space mapping fails

(from 108980-11)

      This patch revision was generated to accumulate and obsolete the 
      feature changes introduced in feature point patch 110575-01 and
      110789-01

(from 108980-10)

4341224 busra improperly allocates resource
4386092 panic in pcihp after executing a HPC_CTRL_GET_SLOT_STATE request

(from 108980-09)

4386544 s28U3 Generic Patches Accumulating PP Requirements

(from 108980-08)

4372712 pcihp does not remove pcihp_instance property when detached
4338633 PCI hotplug framework must convey Failure messages to HPC on AP config/unconfig
4365270 PCI hotplug framework must check board condition before allowing PCI transaction
4367993 PCI configurator should probe and allocate discontiguously setup BARs

(from 108980-07)

      This patch revision was generated to accumulate and obsolete the
      feature changes introduced in point patches 110119-03 and 110107-02.
    
4330383 ATM: Need support to hotswap ATM
4328067 Gemini card needs to be identified 
4339732 Add new platform support in Solaris
4336443 need libdevice interfaces for device enumeration
4341185 Add i2c hotplug support to pcf8584 nexus driver
4359294 unconfiguring a 6-slot cPCI board leads to panic
4357552 pci-to-pci bridge driver should use the 'hotplug-capable" property
4364048 premature unloading of pcihp can cause segmentation violation in kernel

(from 108980-06)

4330383 ATM: Need support to hotswap ATM
4328067 Gemini card needs to be identified 

(from 108980-05)

	This patch revision was generated to accumulate and obsolete
	the feature changes introduced in point patch 109297-05.

4309750 Implement features for PSARC/2000/034 & PSARC/2000/035
4319122 xcalppm: need a way to turn off power FET from user land
4334198 Excal:  Blinking LED at the same rate
4322424 receive devfsadmd open dir failed message when printer is powered off
4332425 devfsadm needs to support se driver hdlc nodes

(from 108980-04)

4318351 scsb driver shall implement software control of LEDs
4330429 System hangs on boot if faulty fantray or powersupply present
4330774 change in hpctrl.h required for PCI HotPlug Framework

(from 108980-03)

4314121 pci plug-in library shows regression on attachment point's names
4303126 pci.so: pcisch# and like get munged to pci0 regardless of what #

(from 108980-02)

4320471 After a Basic Hotswap operation, cPCI board type information is missing!
4320440 Public API for control of SSB Slot LEDs
4318747 Unnecessary warning message "WARNING: i2c_0 forcing polled mode operation"

(from 108980-01)

4276021 Solaris Hotplug Framework requires complete support for both Basic & Full hotswap
4307062 Alarm card should have a unique product ID
4307080 Value being returned from Temperature device not correct
4307747 prtdiag does not work correctly on CompactPCI platforms
4309011 p1.0 obp: device node changes cause scsb devlinks to not be created
4309802 Need support to hotswap QuadFast Ethernet, SunSwift PCI together
4309818 PCI configurator module should be dynamically loadable
4311134 SCSB hsc module does need extensions to support full hotswap
4307827 Some #defines are defined in multiple .h with different values
4306367 env4test does not test env and i2c devices
4272737 db21554 bridge driver needs to program proper dvma address range
4310864 ENVC_IOC_GETFAN ioctl not supported in pcf8574 driver
4314936 p1.5 scsb: high interrupt line causes scsb driver to hang during attach
4311126 Need support for handling ENUM# interrupt event synchronously
4315101 Need to keep slots in reset during hotswap
4315100 Alarm Card Probe Support required in PCI Configurator during Hotswap
4315098 pcihp must use slot-flags for autoconfiguration during cPCI full hotswap
4312937 scsb_intr passes a null value to putnext(); scsb_rq uninitialized.

(from 109297-05)

4322424 receive devfsadmd open dir failed message when printer is powered off

(from 109297-04)

4319122 xcalppm: need a way to turn off power FET from user land
4334198 Excal:  Blinking LED at the same rate

(from 109297-03)

4332425 devfsadm needs to support se driver hdlc nodes

(from 109297-02)

	This patch revision was generated to include an empty root
        sparse patch pkg.  This will allow patches requiring this
        patch to install on a diskless client. 

(from 109297-01)

4309750 Support for logical device namespace for printers and new printer minor node type

(from 110107-02)

4339732 Add new platform support in Solaris
4336443 need libdevice interfaces for device enumeration
4341185 Add i2c hotplug support to pcf8584 nexus driver

(from 110107-01)

4357092 Provide Embedded FCode Interpreter feature to new platform

(from 110119-03)

4364048 premature unloading of pcihp can cause segmentation violation in kernel
4359294 unconfiguring a 6-slot cPCI board leads to panic
4357552 pci-to-pci bridge driver should use the 'hotplug-capable" property

(from 110119-02)

4349603 PCI hotplug framework must notify sysevent of attachment point state changes

(from 110119-01)

4321326 schizo nexus needs support for pci hot-plug
4329695 Schizo driver needs support for busstat performance to
4335935 pci.so: regression in pcisch renaming
4335003 new platform needs to use symlinks
4337039 Add new platform support

(from 110575-01)

4363907 Add new platform support in Solaris

(from 110789-01)

4381743 Add Daktari platform support in Solaris
4369175 pcf8584 generates syslog warning for a non-error condition

Patch Installation Instructions:
--------------------------------

For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.

For Solaris 7-8 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:

       example# patchadd /var/spool/patch/104945-02

The following example removes a patch from a standalone system:

       example# patchrm 104945-02

For additional examples please see the appropriate man pages.

Special Install Instructions: 
----------------------------- 

Reboot the system after patch installation.

	NOTE:	To get the full support for logical device namespace for 
                printers and new printer minor node type, one needs to
                install the following patches:

		108529-03 (or newer)    kernel update patch
		108980-05 (or newer)    devfsadm patch
		109884-01 (or newer)    ecppsys.h patch
		109895-01 (or newer)    lp driver patch
		109878-01 (or newer)    dma_i8237A.h patch
		109891-01 (or newer)    pmserver.jar patch
		109897-01 (or newer)    USB patch

