From aac517695f87c6b55a5fefa5a14da8c270097ef4 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Tue, 21 Jun 2011 10:00:20 -0700 Subject: [PATCH] 1907 schpc switches for impossible bitfield value Reviewed by: Garrett D'Amore Reviewed by: Gordon Ross Approved by: Garrett D'Amore --- usr/src/uts/sun4u/starcat/io/schpc.c | 7 ------- usr/src/uts/sun4u/starcat/sys/schpc_msg.h | 3 --- 2 files changed, 10 deletions(-) diff --git a/usr/src/uts/sun4u/starcat/io/schpc.c b/usr/src/uts/sun4u/starcat/io/schpc.c index e604018b7a..921012693d 100644 --- a/usr/src/uts/sun4u/starcat/io/schpc.c +++ b/usr/src/uts/sun4u/starcat/io/schpc.c @@ -2069,13 +2069,6 @@ restart_test: 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) { diff --git a/usr/src/uts/sun4u/starcat/sys/schpc_msg.h b/usr/src/uts/sun4u/starcat/sys/schpc_msg.h index b9c6e44ffd..64098b01e4 100644 --- a/usr/src/uts/sun4u/starcat/sys/schpc_msg.h +++ b/usr/src/uts/sun4u/starcat/sys/schpc_msg.h @@ -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 @@ typedef struct { #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 -- 2.11.4.GIT