From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261752AbUKUPx5 (ORCPT ); Sun, 21 Nov 2004 10:53:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261742AbUKUPwg (ORCPT ); Sun, 21 Nov 2004 10:52:36 -0500 Received: from macedonia.mhl.tuc.gr ([147.27.3.60]:23270 "HELO macedonia.mhl.tuc.gr") by vger.kernel.org with SMTP id S261737AbUKUPuB (ORCPT ); Sun, 21 Nov 2004 10:50:01 -0500 Subject: PCI resource allocation problem in 2.6.8 From: Dimitris Lampridis To: linux-kernel@vger.kernel.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-CchaRRivQh2phM6bSkqs" Date: Sun, 21 Nov 2004 14:57:27 +0000 Message-Id: <1101049047.3201.18.camel@naousa.mhl.tuc.gr> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org --=-CchaRRivQh2phM6bSkqs Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi, I'm writing a driver for a PCI-based USB controller. The work is almost done but a few days ago something very ugly happened. I've tried to pinpoint the problem but everything is so simple and clear to be wrong... I really hope that someone can help me! OK, here's the problem: I'm using kernel 2.6.8 on an i386 arch. I want to allocate region 2 of my PCI board. Here's the output of lspci: 0000:00:0e.0 Bridge: PLX Technology, Inc.: Unknown device 5406 (rev 0b) Subsystem: PLX Technology, Inc.: Unknown device 9054 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=3Dmedium >TAbort- SERR- length:0 Nov 21 16:28:56 naousa kernel: region:1 start:df1000ff, end:200 - <7>length:20f00102 Nov 21 16:28:56 naousa kernel: region:2 start:e4ff, end:101 - <7>length:ffff1c03 Nov 21 16:28:56 naousa kernel: region:3 start:e8ff, end:101 - <7>length:ffff1803 Nov 21 16:28:56 naousa kernel: region:4 start:df0fffff, end:200 - <7>length:20f00202 Nov 21 16:28:56 naousa kernel: region:5^Istart:0, end:0 - <7>length:0 As you can see, what "start" claims to be is in reality the end of each region, and "end", "length" are nonsense... Any ideas? Is this something typical??? I would appreciate any help, please CC me personally as I'm not yet subscribed to the list, or find me at the linux-usb-devel list. Thanx in advance, --=20 Dimitris Lampridis --=-CchaRRivQh2phM6bSkqs Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBBoKzVgMArLfy6HHMRAucDAKCUS+xJJFmqvW5kc2ae4Dq26EPmaQCeKcaD 2wyBMCPWEB5eB3qbTz8B8Zk= =v7Kb -----END PGP SIGNATURE----- --=-CchaRRivQh2phM6bSkqs--