On Sun, 6 Jan 2002, M. Warner Losh wrote:
...
> : pci2: on pcib2
> : pccbb0: mem 0x5000-0x5fff irq 11 at device
> : 0.0 on pci2
> : pcib2: device pccbb0 requested unsupported memory range 0x5000-0x5fff
> : (decoding 0xc020-0xcfff, 0xe800-0xefff)
> : pccbb0: Could
In message: <20020105232557.S706-10@nihil>
Michael Reifenberger <[EMAIL PROTECTED]> writes:
: But why?
: Where is PCI_ENABLE_IO_MODES different from:
:
: pci_enable_busmaster(dev);
: pci_enable_io(dev, SYS_RES_IOPORT);
: pci_enable_io(dev, SYS_RES_MEMORY);
:
: or
:
:
Hi,
thanks for the tip. "options PCI_ENABLE_IO_MODES" did the trick (for snd_ich).
But why?
Where is PCI_ENABLE_IO_MODES different from:
pci_enable_busmaster(dev);
pci_enable_io(dev, SYS_RES_IOPORT);
pci_enable_io(dev, SYS_RES_MEMORY);
or
data = pci_read_config(dev, PCIR_COMMAND
On Sat, 5 Jan 2002, Matthew N. Dodd wrote:
...
> While the PCI bus code should enable these resources, only the driver
> really knows if a PCI map will be used. It should enable it. See
> pci_enable_io()
Am I wrong or is:
pci_enable_busmaster(dev);
pci_enable_io(dev, SYS_RES_IOPORT);
You might want to try and enable PCI_ENABLE_IO_MODES in your kernel.
Warner
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message
On Sat, 5 Jan 2002, Michael Reifenberger wrote:
> map[10]: type 4, range 32, base 2400, size 8, port disabled
> map[14]: type 4, range 32, base 2000, size 7, port disabled
> ...
>
> Which I interpret as:
> There are two ioports (type 4) which are disabled ( should get en
Hi,
here are some details for my previous message (A30p) (where the detailed
dmesg output was attached):
In the case of the snd_ich driver it seems that the following code fails:
...
foo = bus_alloc_resource(dev,SYS_RES_IOPORT,0x10,0,~0,1,RF_ACTIVE);
bar = bus_alloc_resource(dev,SYS_RES_IOPORT,0x