Date: Fri, 01 Jun 2001 23:23:20 -0600 From: Warner Losh <imp@harmony.village.org> To: "Jacques A. Vidrine" <n@nectar.com> Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: `pccardc status' patch Message-ID: <200106020523.f525NKE07472@harmony.village.org> In-Reply-To: Your message of "Fri, 01 Jun 2001 15:44:51 CDT." <20010601154451.C701@shade.nectar.com> References: <20010601154451.C701@shade.nectar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010601154451.C701@shade.nectar.com> "Jacques A. Vidrine" writes: : I found this functionality useful for certain scripts. ISTR something : similar in PAO once upon a time. : : $ pccardc status : slot 0: filled : slot 1: empty : $ pccardc status 0 : slot 0: filled : $ pccardc status 9 || echo exit_status=$? : pccardc: /dev/card9: No such file or directory : exit_status=1 : : The patch is against 4.3-RELEASE. modulo style(9) issues, this looks reasonable. I've often wanted something like this. I've also wanted something that would ask the bridge what voltage the card is running at, what I/O and memory is used. rdmap does part of this, but there's no rdpower... Too bad there's not a PIOCGPOW ioctl defined right now. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106020523.f525NKE07472>