summaryrefslogtreecommitdiffstats
path: root/sys/dev/puc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-12-08 22:29:42 +0000
committerimp <imp@FreeBSD.org>2005-12-08 22:29:42 +0000
commitdb662ee84cbbb3fc11f9856828976f98ce589040 (patch)
tree3f01cedc9567a614844d6fc43aefec8ea435c200 /sys/dev/puc
parent8f15339baa514298f6365102f87e313c3d5272e2 (diff)
downloadFreeBSD-src-db662ee84cbbb3fc11f9856828976f98ce589040.zip
FreeBSD-src-db662ee84cbbb3fc11f9856828976f98ce589040.tar.gz
Careful measurement of the ST Labs card shows that the pulse width of
transmitted bits was between 8.6180us and 8.6200us when we used a RCLK of 16.500MHz. This is a little low (should be 8.6805us). This error is exactly the error one would expect if it actually had a 16.384MHz watch oscillator (as suggested by garrett) instead of using the PCI RCLK. Assume that the pci clock therefore wasn't really used, but instead the cheap 16.384MH watch quartz oscillator. This gives bits in the 8.6800us to 8.6810us ranage, which matches theoretical. Submitted by: garrett
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/pucdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/pucdata.c b/sys/dev/puc/pucdata.c
index 6e4bf27..ff4c230 100644
--- a/sys/dev/puc/pucdata.c
+++ b/sys/dev/puc/pucdata.c
@@ -885,7 +885,7 @@ const struct puc_device_description puc_devices[] = {
{ 0xffff, 0xffff, 0, 0 },
{
/* { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ }, */
- { PUC_PORT_TYPE_COM, 0x10, 0x00, 33000000 / 2},
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, 16384000 },
},
},
OpenPOWER on IntegriCloud