From 180811460db051546709e804e80a59daa90535d4 Mon Sep 17 00:00:00 2001 From: Warner Losh 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 +++++-- sys/dev/pci/pci_private.h | 3 --- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c index 3ca38c3c7e7c4..ef9893f29376b 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 3902efb45f88b..c01e416c39ddc 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_ */ -- cgit v1.3