From owner-freebsd-mobile Tue Jan 9 2:49:42 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mass.osd.bsdi.com (dhcp45-24.dis.org [216.240.45.24]) by hub.freebsd.org (Postfix) with ESMTP id 0632D37B400 for ; Tue, 9 Jan 2001 02:49:25 -0800 (PST) Received: from mass.osd.bsdi.com (localhost [127.0.0.1]) by mass.osd.bsdi.com (8.11.1/8.11.1) with ESMTP id f09B2Vt00656; Tue, 9 Jan 2001 03:02:31 -0800 (PST) (envelope-from msmith@mass.osd.bsdi.com) Message-Id: <200101091102.f09B2Vt00656@mass.osd.bsdi.com> X-Mailer: exmh version 2.1.1 10/15/1999 To: Samuel Tardieu Cc: freebsd-mobile@FreeBSD.ORG Subject: Re: Integrated memory stick reader In-reply-to: Your message of "Fri, 05 Jan 2001 13:46:35 +0100." <2001-01-05-13-46-35+trackit+sam@inf.enst.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 09 Jan 2001 03:02:31 -0800 From: Mike Smith Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On 5/01, Mike Smith wrote: > > | It *may* be possible to locate it looking at PCI configuration space or > | the output of acpidump (you can get acpidump from -current, it will run > | on -stable). > > Mmm, in fact, I wonder how I missed that: > > # pciconf -l -v > none3@pci0:13:0: class=0x050100 card=0x8085104d chip=0x808a104d rev=0x01 > hdr=0x00 > vendor = 'Sony Corporation' > device = 'Memory Stick Controller' > class = memory > subclass = flash > > If class/subclass are recognized, I guess I can use them. However, I have no > idea of how to access this memory zone :-) That'll depend a lot on the programming model; I suspect that it's not going to be as simple as a 1:1 mapping of the stick's address space into PCI address space though, so you're still going to be SOL unless you can get documenation. -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message