Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: brgphy without PCI



masanobu%iij.ad.jp@localhost wrote:

>  I've added <dev/pci/if_bgereg.h> in brgphy.c. Nonaka reported me that the
> systems wich don't have PCI can't compile brgphy.c anymore. config(8) doesn't
> make pci.h on zaurus, so we can't use pci.h and NPCI. How should we solve it?

I think it's invalid to refer parent's softc from child devices
in that case.

I wonder if we could pass necessary flags via device_properties(device_t)
with prop_dictionary_[sg]et_bool() etc.

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index