From: Alan Cox Subject: Re: [PATCH 1/4] scsi: Allow hosts to be flagged as hotpluggable Date: Thu, 16 Jul 2009 08:59:02 +0100 Message-ID: <20090716085902.782f3fd6@lxorguk.ukuu.org.uk> References: <1247701438-18266-1-git-send-email-mjg@redhat.com> <1247706748.8632.3.camel@mulgrave.site> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1247706748.8632.3.camel@mulgrave.site> Sender: linux-scsi-owner@vger.kernel.org To: James Bottomley Cc: Matthew Garrett , linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org, linux-ide@vger.kernel.org List-Id: linux-ide@vger.kernel.org > However, by definition SATA (like SAS) is a hotplug bus ... why isn't it > set for some SATA controllers ... is it because the HBA itself does > something wrong when a hotplug event comes in? A lot of older controllers emulate various forms of the IDE interfaces. They don't support detection/reporting of hotplug events to the OS. Some of them support "warm-plug" - where you tell the controller the device is going to go away, then remove it, then add a new one, then tell the controller. Often they need to execute code when told these things (eg to disable IORDY for PATA devices)