From owner-freebsd-net@FreeBSD.ORG Fri Nov 10 20:00:45 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A71C16A4A0 for ; Fri, 10 Nov 2006 20:00:45 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.232]) by mx1.FreeBSD.org (Postfix) with ESMTP id 99B3843F52 for ; Fri, 10 Nov 2006 19:57:47 +0000 (GMT) (envelope-from asmrookie@gmail.com) Received: by wx-out-0506.google.com with SMTP id s18so518647wxc for ; Fri, 10 Nov 2006 11:57:45 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ryu8eUTa46QYMRnuMnppY7DPoA8xU9wfDu4+Er+1YtnGbWBv/HY1RVaZEw+JgABVS0djlFeIQDq24b+bD2EyLpsdPTdEgrx5K8zVOFG6IK1AosgREvqTibHoBb9DyJ+vtSnXW7ykued7T60r6ZWlDCoCG8XIqj7UbWSE0KJxQns= Received: by 10.70.90.18 with SMTP id n18mr3718138wxb.1163188664677; Fri, 10 Nov 2006 11:57:44 -0800 (PST) Received: by 10.70.12.2 with HTTP; Fri, 10 Nov 2006 11:57:44 -0800 (PST) Message-ID: <3bbf2fe10611101157p13296002ic974d45c3fe95e09@mail.gmail.com> Date: Fri, 10 Nov 2006 20:57:44 +0100 From: "Attilio Rao" Sender: asmrookie@gmail.com To: "Max Laier" In-Reply-To: <3bbf2fe10611101149y72f29285s517f5e40a5b8f3e0@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1162993001.4305.37.camel@massimo.datacode.it> <4553A000.7070407@FreeBSD.org> <1163151468.4328.6.camel@massimo.datacode.it> <200611101459.20117.max@love2party.net> <3bbf2fe10611100747l386a624cpd72d04b62a0681e7@mail.gmail.com> <3bbf2fe10611100751i77e9c8afle0aed1e794062f4f@mail.gmail.com> <3bbf2fe10611101149y72f29285s517f5e40a5b8f3e0@mail.gmail.com> X-Google-Sender-Auth: 93e8c797357ed415 Cc: freebsd-hackers@freebsd.org, Massimo Lusetti , Florent Thoumie , =?UTF-8?Q?G=C3=A1bor_K=C3=B6vesd=C3=A1n?= , freebsd-net@freebsd.org Subject: Re: New wpi driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Nov 2006 20:00:45 -0000 > First of all, WPI_PCI_BAR0 might not be defined in this way, but it > should really use PCIR_BAR() macro. > Then, probabilly, gabor's device I/O space is relative to another BAR, > so simply try all 6 using PCIR_BAR(n) where n range is 0-6 until it > does allocate. Sorry, n ranges 0-5... (as I said before 6 different address spaces). Today it seems I'm absolutely sleeping... (probabilly I'm too angry to have not parecipied at EuroBSDCon...). Attilio -- Peace can only be achieved by understanding - A. Einstein