Opened 14 years ago

Closed 14 years ago

#266 closed defect (notadefect)

The device framework should detect that the system does not have PCI bus

Reported by: Jakub Jermář Owned by:
Priority: major Milestone: 0.4.3
Component: helenos/drv/pciintel Version:
Keywords: Cc:
Blocker for: Depends on:
See also:

Description

When Qemu is started with -M isapc, the machine does not have the PCI bus. Yet the device driver framework detects it and creates a node for it in the device tree.

Hear the words of Lenka:

The framework does not do real detection of PCI bus itself,
this bus device is temporarilly hardcoded as present for all
ia32 platforms. It should be changed in future.

Change History (1)

comment:1 by Jakub Jermář, 14 years ago

Resolution: notadefect
Status: newclosed

This should rather be solved by a dedicated non-PCI platform driver, if we ever desire to support non-PCI PCs. The problem is that the current platform driver simply creates the attachment point pci0, but since there is no PCI bus on the system, no driver attaches to it and the /hw/pci0 node remains a leaf node.

For the sake of separation of concerns, the platform driver should not attempt any PCI detection itself.

I am going to close this as not a defect.

Note: See TracTickets for help on using tickets.