From dad803d9ac22cedd12db173cec013ad4fd3167be Mon Sep 17 00:00:00 2001 From: cg Date: Mon, 11 Jun 2001 00:29:25 +0000 Subject: get clkrun the right way around remove debug messages --- sys/dev/sound/pci/csa.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sys/dev/sound/pci/csa.c') 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); -- cgit v1.1