diff options
author | cg <cg@FreeBSD.org> | 2001-06-11 00:29:25 +0000 |
---|---|---|
committer | cg <cg@FreeBSD.org> | 2001-06-11 00:29:25 +0000 |
commit | dad803d9ac22cedd12db173cec013ad4fd3167be (patch) | |
tree | 8eca0f561e932307b4c9712677b036a04789d699 /sys/dev/sound/pci/csa.c | |
parent | b1d6b7887d0c66fa1229c39acfbb5d5cf88d05b6 (diff) | |
download | FreeBSD-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.c | 5 |
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); |