summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/pci/csa.c
diff options
context:
space:
mode:
authorcg <cg@FreeBSD.org>2001-06-11 00:29:25 +0000
committercg <cg@FreeBSD.org>2001-06-11 00:29:25 +0000
commitdad803d9ac22cedd12db173cec013ad4fd3167be (patch)
tree8eca0f561e932307b4c9712677b036a04789d699 /sys/dev/sound/pci/csa.c
parentb1d6b7887d0c66fa1229c39acfbb5d5cf88d05b6 (diff)
downloadFreeBSD-src-dad803d9ac22cedd12db173cec013ad4fd3167be.zip
FreeBSD-src-dad803d9ac22cedd12db173cec013ad4fd3167be.tar.gz
get clkrun the right way around
remove debug messages
Diffstat (limited to 'sys/dev/sound/pci/csa.c')
-rw-r--r--sys/dev/sound/pci/csa.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/sound/pci/csa.c b/sys/dev/sound/pci/csa.c
index 24adda5..b916cdc 100644
--- a/sys/dev/sound/pci/csa.c
+++ b/sys/dev/sound/pci/csa.c
@@ -114,9 +114,7 @@ clkrun_hack(int run)
u_int16_t control;
bus_space_tag_t btag;
- printf("clkrun_hack: ");
if ((pci_devclass = devclass_find("pci")) == NULL) {
- printf("can't find devclass 'pci'\n");
return ENXIO;
}
@@ -127,8 +125,6 @@ clkrun_hack(int run)
device_get_children(*busp, &pci_children, &pci_childcount);
for (j = 0, childp = pci_children; j < pci_childcount; j++, childp++) {
if (pci_get_vendor(*childp) == 0x8086 && pci_get_device(*childp) == 0x7113) {
- run = !run;
- printf("found bx chipset, %sabling clkrun\n", run? "en" : "dis");
free(pci_devices, M_TEMP);
free(pci_children, M_TEMP);
@@ -144,7 +140,6 @@ clkrun_hack(int run)
}
}
}
- printf("can't find bx chipset\n");
free(pci_devices, M_TEMP);
free(pci_children, M_TEMP);
OpenPOWER on IntegriCloud