summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2003-02-17 19:47:02 +0000
committerimp <imp@FreeBSD.org>2003-02-17 19:47:02 +0000
commitebb80ebfe31e70660729705a456428a2c392e3e3 (patch)
tree2d7a367876d616f88a28c06379bc878353f17fbe /sys
parent51ce609fe68853f963d15399d3fe57317e6e1fdb (diff)
downloadFreeBSD-src-ebb80ebfe31e70660729705a456428a2c392e3e3.zip
FreeBSD-src-ebb80ebfe31e70660729705a456428a2c392e3e3.tar.gz
These don't need to be semi-public after all.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/pci.c7
-rw-r--r--sys/dev/pci/pci_private.h3
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index 3ca38c3..ef9893f 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -78,6 +78,9 @@ static int pci_describe_parse_line(char **ptr, int *vendor,
int *device, char **desc);
static char *pci_describe_device(device_t dev);
static int pci_modevent(module_t mod, int what, void *arg);
+static void pci_hdrtypedata(device_t pcib, int b, int s, int f,
+ pcicfgregs *cfg);
+static void pci_read_extcap(device_t pcib, pcicfgregs *cfg);
static device_method_t pci_methods[] = {
/* Device interface */
@@ -291,7 +294,7 @@ pci_fixancient(pcicfgregs *cfg)
/* extract header type specific config data */
-void
+static void
pci_hdrtypedata(device_t pcib, int b, int s, int f, pcicfgregs *cfg)
{
#define REG(n, w) PCIB_READ_CONFIG(pcib, b, s, f, n, w)
@@ -389,7 +392,7 @@ pci_read_device(device_t pcib, int b, int s, int f, size_t size)
#undef REG
}
-void
+static void
pci_read_extcap(device_t pcib, pcicfgregs *cfg)
{
#define REG(n, w) PCIB_READ_CONFIG(pcib, cfg->bus, cfg->slot, cfg->func, n, w)
diff --git a/sys/dev/pci/pci_private.h b/sys/dev/pci/pci_private.h
index 3902efb..c01e416 100644
--- a/sys/dev/pci/pci_private.h
+++ b/sys/dev/pci/pci_private.h
@@ -68,7 +68,4 @@ struct pci_devinfo *pci_read_device(device_t pcib, int b, int s, int f,
size_t size);
void pci_print_verbose(struct pci_devinfo *dinfo);
int pci_freecfg(struct pci_devinfo *dinfo);
-void pci_hdrtypedata(device_t pcib, int b, int s, int f,
- pcicfgregs *cfg);
-void pci_read_extcap(device_t pcib, pcicfgregs *cfg);
#endif /* _PCI_PRIVATE_H_ */
OpenPOWER on IntegriCloud