Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Feb 2002 21:57:53 +0900
From:      non@ever.sanda.gr.jp
To:        current@FreeBSD.ORG
Subject:   Re: ThinkPad X22 PC-Card slot problem
Message-ID:  <20020215215753B.non@ever.sanda.gr.jp>
In-Reply-To: <20020207.100435.29867896.imp@village.org>
References:  <20020206.193332.02879103.imp@village.org> <20020207222625S.non@ever.sanda.gr.jp> <20020207.100435.29867896.imp@village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Sorry for late reply. I didn't have time to test it.

From: "M. Warner Losh" <imp@village.org>
Date: Thu, 07 Feb 2002 10:04:35 -0700 (MST)
> Yes.  This is the ISA problem.  The checks are there to make sure we
> don't assign addresses that aren't decoded by the bridge.  However,
> the bridge does decode ISA addresses.  I need to check into which ISA
> stuff a little better before making a fix.

  Revision  Changes    Path
  1.7       +30 -14    src/sys/dev/pci/pci_pci.c

This fixed half of the problem, thank you. 

However, X22's PCICs (yes two PCICs) request to use
0x50000000-0x50000fff and 0x50000000-0x50000fff where the bridge does
not know. So I still need PCI_ALLOW_UNSUPPORTED_IO_RANGE.

>pcib1: <PCI-PCI bridge> at device 1.0 on pci0
>pcib1:   secondary bus     1
>pcib1:   subordinate bus   1
>pcib1:   I/O decode        0x3000-0x3fff
>pcib1:   memory decode     0xc0100000-0xc01fffff
>pcib1:   prefetched decode 0xe0000000-0xe7ffffff
>pci1: physical bus=1
>        map[10]: type 3, range 32, base e0000000, size 27, enabled
>        map[14]: type 4, range 32, base 00003000, size  8, enabled
>        map[18]: type 1, range 32, base c0100000, size 16, enabled
>found-> vendor=0x1002, dev=0x4c59, revid=0x00
>        bus=1, slot=0, func=0
>        class=03-00-00, hdrtype=0x00, mfdev=0
>        intpin=a, irq=11
>        powerspec 2  supports D0 D1 D2 D3  current D0
	:
>pcic0: <Ricoh RL5C476 PCI-CardBus Bridge> mem 0x50000000-0x50000fff irq 11 at 
>device 3.0 on pci2
>pcib2: device pcic0 requested unsupported memory range 0x50000000-0x50000fff (
>decoding 0xc0200000-0xcfffffff, 0xe8000000-0xf00fffff)
>pcib2: device pcic0 requested decoded memory range 0x50000000-0x50000fff

// Noriaki Mitsunaga //

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020215215753B.non>