changeset 13602:be505a6a00b0

1907 schpc switches for impossible bitfield value Reviewed by: Garrett D'Amore <garrett@damore.org> Reviewed by: Gordon Ross <gwr@nexenta.com> Approved by: Garrett D'Amore <garrett@damore.org>
author Richard Lowe <richlowe@richlowe.net>
date Tue, 21 Jun 2011 10:00:20 -0700
parents 6f468bfaefd3
children 19698f035619
files usr/src/uts/sun4u/starcat/io/schpc.c usr/src/uts/sun4u/starcat/sys/schpc_msg.h
diffstat 2 files changed, 0 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/usr/src/uts/sun4u/starcat/io/schpc.c	Wed Feb 08 03:43:14 2012 +0000
+++ b/usr/src/uts/sun4u/starcat/io/schpc.c	Tue Jun 21 10:00:20 2011 -0700
@@ -2069,13 +2069,6 @@
 
 		schpc_p->schpc_slot[slot].state &=  ~SCHPC_SLOTSTATE_REC_GOOD;
 		return;
-	case PCIMSG_SLOTCOND_NOHOTPLUG:
-		cmn_err(CE_WARN, "schpc - Expander %d Board %d PCI Slot %d "
-		    "is not hot pluggable\n", expander, board,
-		    SCHPC_SLOT_NUM(slot));
-
-		schpc_p->schpc_slot[slot].state &=  ~SCHPC_SLOTSTATE_REC_GOOD;
-		return;
 	}
 
 	if (slotstatus.slot_power_on) {
--- a/usr/src/uts/sun4u/starcat/sys/schpc_msg.h	Wed Feb 08 03:43:14 2012 +0000
+++ b/usr/src/uts/sun4u/starcat/sys/schpc_msg.h	Tue Jun 21 10:00:20 2011 -0700
@@ -27,8 +27,6 @@
 #ifndef _SYS_SCHPC_MSG_H
 #define	_SYS_SCHPC_MSG_H
 
-#pragma ident	"%Z%%M%	%I%	%E% SMI"
-
 /*
  * This header file describes the messages that are sent between the
  * schpc Hot Plug Controller Driver running on the domain and the System
@@ -135,7 +133,6 @@
 #define	PCIMSG_SLOTCOND_GOOD		0x1
 #define	PCIMSG_SLOTCOND_REC_FAIL	0x2
 #define	PCIMSG_SLOTCOND_OCC_FAIL	0x3
-#define	PCIMSG_SLOTCOND_NOHOTPLUG	0x4
 
 /*
  * Values for the slot_freq_cap and slot_freq_setting fields of the get