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
:
:
On Sun, 6 Jan 2002, M. Warner Losh wrote:
...
: pci2: PCI bus on pcib2
: pccbb0: RF5C478 PCI-CardBus Bridge mem 0x5000-0x5fff irq 11 at device
: 0.0 on pci2
: pcib2: device pccbb0 requested unsupported memory range 0x5000-0x5fff
: (decoding 0xc020-0xcfff,
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 enabled
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, 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);
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,