Skip to contentSkip to conversation

New topic (PowerPC Linux PCI HELL)

DISCUSSION [email protected] 1 participant 1 message Sep 15, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Vojtech Pavlik

The same happens for OHCI on new Macs. The correct function to use is:

pci_enable_device(dev);

This function will enable the i/o, mem and irqs, and assign them if they were not assigned for some reason, too.

Quoted 6 lines

And you should use it on any PCI device you want to use before using it, on all architectures. Also check its return value.

--
Vojtech Pavlik
SuSE Labs

This comment is from my experience with the Rocketport driver port to PPC.

pci_enable_device() is a do nothing call in 2.2.x kernels. It is defined and supposedly working in 2.3.x/2.4.x kernels. On my 7200, hacks to enabled verious PCI devices are required with 2.2.x kernels.

Bob
--
Robert E. Brose II N0QBJ
http://www.jriver.com/~bob/
[email protected]

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/