From ebb80ebfe31e70660729705a456428a2c392e3e3 Mon Sep 17 00:00:00 2001 From: imp Date: Mon, 17 Feb 2003 19:47:02 +0000 Subject: These don't need to be semi-public after all. --- sys/dev/pci/pci.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/pci.c') 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) -- cgit v1.1