Date: Sun, 12 Nov 2006 12:06:50 +0100 From: =?UTF-8?B?R8OhYm9yIEvDtnZlc2TDoW4=?= <gabor@FreeBSD.org> To: Attilio Rao <attilio@freebsd.org> Cc: Max Laier <max@love2party.net>, freebsd-net@freebsd.org, Massimo Lusetti <massimo@cedoc.mo.it>, Florent Thoumie <flz@xbsd.org>, freebsd-hackers@freebsd.org Subject: Re: New wpi driver Message-ID: <4557004A.5070105@FreeBSD.org> In-Reply-To: <3bbf2fe10611101157p13296002ic974d45c3fe95e09@mail.gmail.com> 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> <3bbf2fe10611101157p13296002ic974d45c3fe95e09@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Attilio Rao wrote: >> 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 > > If I could understand your instructions correctly, I had to change the line sc->mem_rid = WPI_PCI_BAR0 to sc->mem_rid = PCIR_BAR(n) with all the possible n values from 0 to 5. I tried that but it lead nowhere, I still got the same output. If you can ping me on IRC this afternoon, too, I can give you ssh access if you want to take a look. -- Cheers, Gabor
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4557004A.5070105>