pci_if.h vs pcivar.h
Chuck Tuffli
ctuffli at gmail.com
Tue Jun 13 23:57:55 PDT 2006
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
More information about the Kernel
mailing list