From owner-freebsd-current@FreeBSD.ORG Thu Sep 8 13:30:33 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 281C916A41F for ; Thu, 8 Sep 2005 13:30:33 +0000 (GMT) (envelope-from sos@FreeBSD.ORG) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C16A43D48 for ; Thu, 8 Sep 2005 13:30:32 +0000 (GMT) (envelope-from sos@FreeBSD.ORG) Received: from [194.192.25.136] (mac.deepcore.dk [194.192.25.136]) by spider.deepcore.dk (8.13.3/8.13.3) with ESMTP id j88DOhDg096477; Thu, 8 Sep 2005 15:24:44 +0200 (CEST) (envelope-from sos@FreeBSD.ORG) In-Reply-To: References: <7daacbbe0509060626686aed19@mail.gmail.com> <4CE29790-127C-4E07-A92F-B5A72EE63CBE@FreeBSD.org> <7daacbbe05090701341143a4a@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <172188E3-E465-4AAD-92B5-3DAE4024E866@FreeBSD.ORG> Content-Transfer-Encoding: quoted-printable From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= Date: Thu, 8 Sep 2005 15:30:25 +0200 To: Matthias Andree X-Mailer: Apple Mail (2.734) X-mail-scanned: by DeepCore Virus & Spam killer v1.12 Cc: freebsd-current@FreeBSD.ORG, Dominique Goncalves Subject: Re: VIA 6420 SATA150 controller on FreeBSD 6.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2005 13:30:33 -0000 On 08/09/2005, at 9:15, Matthias Andree wrote: > S=F8ren Schmidt writes: > > >>> FreeBSD support hotplug SATA for this controller? >>> >> >> Well, assisted hotplug using atacontrol to detach/attach the devices. >> Apparently the VIA chip doesn't have hotplug support build in, or at >> least its unknown to me how to.. >> > > It appears as though VIA 64XX might be able to do hotplug, at least > according to the Linux SATA pages - at least they don't claim "does =20= > not > support for lack of information from PHY" or something to that extent > which they do for other controllers. > > > > > > I am not sure if someone has actually tried to implement SATA hotplug > for Linux on VIA chips though, so I'm deliberately writing "it appears > ... it might", not "it does support...". > > Perhaps you can ask the Linux SATA guys where to look or get the =20 > needed > specs. There is no support in Linux either for hotplug on the VIA (just =20 checked) and I just ran through the (sparse) docs again to no avail. When I added hotplug for those controllers that support it, I spent =20 quite some time playing with the VIA chips to get them to interrupt =20 when there is a PHY "surprise", but alas I didn't succed. Now the =20 SATA regs shows that there was a change etc, but with the interrupt =20 thats worth close to nothing... S=F8ren Schmidt sos@FreeBSD.org