From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 12 21:49:57 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 97F2B16A4DA for ; Sat, 12 Aug 2006 21:49:57 +0000 (UTC) (envelope-from nike_d@tormentor.totalterror.net) Received: from mail.interbgc.com (mx03.interbgc.com [217.9.224.229]) by mx1.FreeBSD.org (Postfix) with SMTP id 9B44943D46 for ; Sat, 12 Aug 2006 21:49:55 +0000 (GMT) (envelope-from nike_d@tormentor.totalterror.net) Received: (qmail 23738 invoked from network); 12 Aug 2006 21:49:53 -0000 Received: from nike_d@tormentor.totalterror.net by keeper.interbgc.com by uid 1002 with qmail-scanner-1.14 (uvscan: v4.2.40/v4374. spamassassin: 2.63. Clear:SA:0(0.1/8.0):. Processed in 1.624182 secs); 12 Aug 2006 21:49:53 -0000 X-Spam-Status: No, hits=0.1 required=8.0 Received: from niked.ddns.cablebg.net (HELO tormentor.totalterror.net) (85.130.14.211) by mx03.interbgc.com with SMTP; 12 Aug 2006 21:49:51 -0000 Received: (qmail 9595 invoked from network); 12 Aug 2006 21:49:51 -0000 Received: from unknown (HELO tormentor.totalterror.net) (10.0.0.2) by tormentor.totalterror.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 12 Aug 2006 21:49:51 -0000 References: <44D4A5DC.7080403@cytexbg.com> <200608071527.50711.jhb@freebsd.org> <44DD9476.7020706@cytexbg.com> <20060812180934.GN99774@funkthat.com> Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Niki Denev To: John-Mark Gurney Date: Sun, 13 Aug 2006 00:49:51 +0300 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Sat, 12 Aug 2006 23:28:19 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: jkh weird problem (reading pci device memory) [ Success story ! ] X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Aug 2006 21:49:57 -0000 John-Mark Gurney writes: > No, read_multi reads from the same location every time.. This is for > things like a FIFO where the value can change each time, you want > bus_read_region_1... Read the bus_space(9) man page for more info > about the differences between the two... > > http://www.freebsd.org/cgi/man.cgi?query=bus_space&apropos=0&sektion=0&manpath=FreeBSD+6.1-RELEASE&format=html > > -- > John-Mark Gurney Voice: +1 415 225 5579 > > "All that I will do, has been done, All that I have, has not." Oh, that's what i was looking for... thanks. I'm very new to all this, and it seems like i overloaded myself with information, and began to lose details. ( next time i'll read more carefully, and will not use lame excuses like this :) ) However, the good news is that i made some progress and now i can talk to the 3G card! The tty code is still a mess, (well, not only the tty code is a mess :) ) and i can't start PPP session yet, but issuing AT commands and getting response from the card works! phobos# uname -a FreeBSD phobos 7.0-CURRENT FreeBSD 7.0-CURRENT #11: Fri Jun 30 09:11:17 EDT 2006 root@phobos:/usr/obj/usr/src/sys/PHOBOS i386 -> card insert here nozomi0: