Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Mar 2002 17:35:24 +0900 (JST)
From:      FUJITA Kazutoshi <fujita@soum.co.jp>
To:        freebsd-current@FreeBSD.ORG
Cc:        freebsd-mobile@FreeBSD.ORG
Subject:   bus_alloc_resouce() failure for OPTi 82C861
Message-ID:  <20020307.173524.71090447.fujita@soum.co.jp>

next in thread | raw e-mail | index | archive | help
Hi there,

I installed -CURRENT on my old PC(ThinkPad235 aka Chandra2),
but its USB device doesn't work.
(it works on Windows environment)

[boot message]
ohci0: <OPTi 82C861 (FireLink) USB controller> irq 10 at device 5.0 on pci0
ohci0: Could not map memory
device_probe_and_attach: ohci0 attach returned 6


in source code, sys/pci/ohci_pci.c

        rid = PCI_CBMEM;
        sc->io_res = bus_alloc_resource(self, SYS_RES_MEMORY, &rid,
            0, ~0, 1, RF_ACTIVE);
        if (!sc->io_res) {
                device_printf(self, "Could not map memory\n");
                return ENXIO;
        }

It seems the function bus_alloc_resource() returns NULL.

How can I avoid this failure?


TIA

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




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