From owner-freebsd-current@FreeBSD.ORG Fri Mar 18 11:40:48 2005 Return-Path: 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 5707F16A4CE for ; Fri, 18 Mar 2005 11:40:48 +0000 (GMT) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45]) by mx1.FreeBSD.org (Postfix) with ESMTP id E24E243D31 for ; Fri, 18 Mar 2005 11:40:45 +0000 (GMT) (envelope-from dirkx@webweaving.org) Received: from skutsje.san.webweaving.org (skutsje.san.webweaving.org [209.132.96.45] (may be forged))j2IBedLA057585 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 18 Mar 2005 03:40:39 -0800 (PST) (envelope-from dirkx@webweaving.org) Received: from localhost (dirkx@localhost)j2IBedfP057582; Fri, 18 Mar 2005 03:40:39 -0800 (PST) (envelope-from dirkx@webweaving.org) X-Authentication-Warning: skutsje.san.webweaving.org: dirkx owned process doing -bs Date: Fri, 18 Mar 2005 03:40:39 -0800 (PST) From: Dirk-Willem van Gulik X-X-Sender: dirkx@skutsje.san.webweaving.org To: "M. Warner Losh" In-Reply-To: <20050317.124402.117348110.imp@bsdimp.com> Message-ID: <20050318033947.E56382@skutsje.san.webweaving.org> References: <20050317082725.G15162@skutsje.san.webweaving.org> <20050317.124402.117348110.imp@bsdimp.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: 'pccardc power' - on 5.x and above X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Fri, 18 Mar 2005 11:40:48 -0000 On Thu, 17 Mar 2005, M. Warner Losh wrote: > In message: <20050317082725.G15162@skutsje.san.webweaving.org> > Dirk-Willem van Gulik writes: > : At some time in the 5.0 series oldbus it's ioctl PIOCSVIR was dropped; and > : pccard/cardbus where reformed to use POWER_ENABLE_SOCKET(). > : > : What is the proper way to powercylce pccard cards from userland in > : -current ? > > You can't at the moment do that. Ok - what is the proper way for me to hack this in (Right now I added a ioctl to mess with the power_enable_socket() which is a bit dirty). Dw.