DragonFly kernel List (threaded) for 2006-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
pci_if.h vs pcivar.h
I'm stumbling through adding a new PCI interface function and wanted
to find out the preferred way to do prototypes. Is there a preference
between (e.g.)
#include "pci_if.h"
. ..
PCI_ENABLE_BUSMASTER(...);
and
#include <bus/pci/pcivar.h>
. ..
pci_enable_busmaster(...);
i.e. should I also add an inline function in pcivar.h that wraps the
inline function from pci_if.h?
TIA.
---chuck
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]