summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorbriggs <briggs@NetBSD.org>2007-05-24 15:57:58 +0000
committerbriggs <briggs@NetBSD.org>2007-05-24 15:57:58 +0000
commit9e95a6e47730b99b0979d1590c8bc95ccf08e08f (patch)
tree513436d02a3c0fca06001b6e68977a6d16cea86c /sys/dev
parent1f40a9d3d409a0d980fe9cfd80f4034f722adab8 (diff)
The number of max_lat units in 1 sec is 4000000 instead of 40000000 (an
extra 0 snuck into the code). Found when looking at this with dyoung.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/pciconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/pciconf.c b/sys/dev/pci/pciconf.c
index de8f36c98f2..32f245a1dc0 100644
--- a/sys/dev/pci/pciconf.c
+++ b/sys/dev/pci/pciconf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pciconf.c,v 1.29 2006/02/27 16:11:58 gdamore Exp $ */
+/* $NetBSD: pciconf.c,v 1.30 2007/05/24 15:57:58 briggs Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pciconf.c,v 1.29 2006/02/27 16:11:58 gdamore Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pciconf.c,v 1.30 2007/05/24 15:57:58 briggs Exp $");
#include "opt_pci.h"
@@ -972,7 +972,7 @@ configure_bus(pciconf_bus_t *pb)
}
bus_mhz = pb->freq_66 ? 66 : 33;
max_ltim = pb->max_mingnt * bus_mhz / 4; /* cvt to cycle count */
- band = 40000000; /* 0.25us cycles/sec */
+ band = 4000000; /* 0.25us cycles/sec */
if (band < pb->bandwidth_used) {
printf("PCI bus %d: Warning: Total bandwidth exceeded!?\n",
pb->busno);
pan>more typo.christos 2002-03-17fix typo.christos 2002-03-17move aurateconv.h into audiovar.h to avoid name clash with the config(8)christos 2002-03-17Rename aurateconvproto.h to aurateconv.h.kent 2002-03-09Move sampling rate conversion functions to aurateconv.c.kent 2002-03-07Sampling rate and mono-stereo conversion described inkent 1999-09-09Add support for detaching audio devices.augustss 1999-02-17Pass the direction to the allocm and round_buffersize methods.mycroft 1998-03-03Avoid the name free so the MALLOCLOG option works again.augustss 1997-10-19Make the audio API (almost) SunOS compatible.augustss 1997-08-19Change the MI audio driver so it attaches to the MD driver in theaugustss 1997-08-11Implement delivery of SIGIO on changes to /dev/mixer.augustss 1997-08-08Make setting the audio block size sticky.augustss 1997-07-31Audio changes:augustss 1997-07-27Fix divide by 0 bug in audio driver.augustss 1997-07-27Changes to the sudio system:augustss 1997-04-29Change the interface between the high and low level audio driversaugustss 1997-03-20Fill in silence-padded blocks so we don't get gaps. From PR 3357,mycroft 1997-03-13Don't share the silence block between devices. Make silence filling work formycroft 1996-02-20Trivial (and probably not very good) implementation of SIGIO.mycroft 1996-02-17Fix PR#2060 (add AUDIO_PERROR ioctl to query # of playback drops), alsojtk 1996-02-16Eliminate sc_silence, and handle output interrupts somewhat differently.mycroft 1996-02-05Don't adjust the number of blocks in the ring buffer if the driverscottr 1995-05-08Remove stringsbrezak 1995-03-25Use void* rather than caddr_t in many places.mycroft 1995-02-21New audio subsystembrezak