aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>2000-01-19 18:17:25 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>2000-01-19 18:17:25 +0000
commit3b2d592ca2d6d8d1ee3c90e17ae13f8421798411 (patch)
tree1b34d71807ec9163536cd5f230dec781c6a92d01 /sys
parent17ed57a6251507298fb95c4572b9589297b19fc1 (diff)
downloadsrc-3b2d592ca2d6d8d1ee3c90e17ae13f8421798411.tar.gz
src-3b2d592ca2d6d8d1ee3c90e17ae13f8421798411.zip
Import simple driver for a parallel port radio clock which receives
the German legal time (commonly available in Europe). Submitted by: Sascha Schumann <sascha@schumann.cx>
Notes
Notes: svn path=/head/; revision=56292
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/NOTES3
-rw-r--r--sys/conf/files1
-rw-r--r--sys/conf/majors1
-rw-r--r--sys/conf/options2
-rw-r--r--sys/i386/conf/LINT3
-rw-r--r--sys/i386/conf/NOTES3
6 files changed, 13 insertions, 0 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 2c5a12549cf4..cfff2c10072f 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -2153,6 +2153,8 @@ options VP0_DEBUG # ZIP/ZIP+ debug
options LPT_DEBUG # Printer driver debug
options PPC_DEBUG # Parallel chipset level debug
options PLIP_DEBUG # Parallel network IP interface debug
+options PCFCLOCK_VERBOSE # Verbose pcfclock driver
+options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
device ppbus0
device vpo0 at ppbus?
@@ -2161,6 +2163,7 @@ device plip0 at ppbus?
device ppi0 at ppbus?
device pps0 at ppbus?
device lpbb0 at ppbus?
+device pcfclock0 at ppbus?
device ppc0 at isa? port? irq 7
diff --git a/sys/conf/files b/sys/conf/files
index 7f8e689a3e9d..ec266fd2b5bf 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -246,6 +246,7 @@ dev/ppbus/immio.c optional vpo
dev/ppbus/if_plip.c optional plip
dev/ppbus/lpbb.c optional lpbb
dev/ppbus/lpt.c optional lpt
+dev/ppbus/pcfclock.c optional pcfclock
dev/ppbus/ppb_base.c optional ppbus
dev/ppbus/ppb_1284.c optional ppbus
dev/ppbus/ppb_msq.c optional ppbus
diff --git a/sys/conf/majors b/sys/conf/majors
index 4f1919d04da8..709d2db418d3 100644
--- a/sys/conf/majors
+++ b/sys/conf/majors
@@ -156,5 +156,6 @@ chrdev name comments
137 nfp nFast PCI crypto accelerator (support@ncipher.com)
138 usio USB Serial support <n_hibma>
139 wanrouter Sangoma Technologies Inc. (al.feldman@sangoma.com)
+140 pcfclock PCFCLOCK <sascha@schumann.cx>
200 ?? entries from 200-255 are reserved for local use
255 ?? entries from 200-255 are reserved for local use
diff --git a/sys/conf/options b/sys/conf/options
index 74059741b6f6..8f0b03a28085 100644
--- a/sys/conf/options
+++ b/sys/conf/options
@@ -434,3 +434,5 @@ INIT_PATH opt_init_path.h
ROOTDEVNAME opt_rootdevname.h
FDC_DEBUG opt_fdc.h
+PCFCLOCK_VERBOSE opt_pcfclock.h
+PCFCLOCK_MAX_RETRIES opt_pcfclock.h
diff --git a/sys/i386/conf/LINT b/sys/i386/conf/LINT
index 2c5a12549cf4..cfff2c10072f 100644
--- a/sys/i386/conf/LINT
+++ b/sys/i386/conf/LINT
@@ -2153,6 +2153,8 @@ options VP0_DEBUG # ZIP/ZIP+ debug
options LPT_DEBUG # Printer driver debug
options PPC_DEBUG # Parallel chipset level debug
options PLIP_DEBUG # Parallel network IP interface debug
+options PCFCLOCK_VERBOSE # Verbose pcfclock driver
+options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
device ppbus0
device vpo0 at ppbus?
@@ -2161,6 +2163,7 @@ device plip0 at ppbus?
device ppi0 at ppbus?
device pps0 at ppbus?
device lpbb0 at ppbus?
+device pcfclock0 at ppbus?
device ppc0 at isa? port? irq 7
diff --git a/sys/i386/conf/NOTES b/sys/i386/conf/NOTES
index 2c5a12549cf4..cfff2c10072f 100644
--- a/sys/i386/conf/NOTES
+++ b/sys/i386/conf/NOTES
@@ -2153,6 +2153,8 @@ options VP0_DEBUG # ZIP/ZIP+ debug
options LPT_DEBUG # Printer driver debug
options PPC_DEBUG # Parallel chipset level debug
options PLIP_DEBUG # Parallel network IP interface debug
+options PCFCLOCK_VERBOSE # Verbose pcfclock driver
+options PCFCLOCK_MAX_RETRIES=5 # Maximum read tries (default 10)
device ppbus0
device vpo0 at ppbus?
@@ -2161,6 +2163,7 @@ device plip0 at ppbus?
device ppi0 at ppbus?
device pps0 at ppbus?
device lpbb0 at ppbus?
+device pcfclock0 at ppbus?
device ppc0 at isa? port? irq 7