NetBSD/sys/dev/pci/bktr
ross e10dbcfa2b Sigh.
Revert the revert. Naturally, I considered OpenBSD and FreeBSD when I fixed
the incorrect use of the spl*() interface. The change I made is _required_
for both NetBSD _and_ OpenBSD, or the code won't even COMPILE except on
i386, and it is acceptable on FreeBSD. Your revert and mod rebroke it on
OpenBSD and tangled things up on NetBSD.  It made no difference on FreeBSD.

In particular, there are 2,895 uses of splx() within the FreeBSD kernel,
and only a mere 21, that's "twenty one" uses of intrmask_t, and those are
almost exclusively in the guts of the interrupt implementation, _not_ in
the _use_ of the exported spl*() functions.  It's perfectly OK to `int s
= spltty()' in a portable driver in FreeBSD.

For that matter, FreeBSD (-current at least) does not even *use* spl*()
any more and stubs them all out with inlines that do _nothing_ except return
0, making intrmask_t vs int _even less_ important there than it already
was.

I think it's great that you want to start hacking on the kernel, but do
note that this is certainly the most simple of the kernel interfaces. It
just gets worse from here. Be careful out there!
2001-03-16 19:32:35 +00:00
..
bktr2netbsd Delete more files before import. 2000-10-28 14:51:08 +00:00
bktr_audio.c Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
bktr_audio.h
bktr_card.c Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
bktr_card.h resolve conflicts. 2000-07-01 01:38:58 +00:00
bktr_core.c Correct wrong error return in mmap fn. 2001-03-03 00:08:05 +00:00
bktr_core.h resolve conflicts. 2000-07-01 01:38:58 +00:00
bktr_mem.c Import release 2.17 of the bktr driver. 2000-10-28 14:17:40 +00:00
bktr_mem.h Import release 2.17 of the bktr driver. 2000-10-28 14:17:40 +00:00
bktr_os.c LP64 a kprintf(9) 2001-03-15 21:59:09 +00:00
bktr_os.h Sigh. 2001-03-16 19:32:35 +00:00
bktr_reg.h Merge 2.18 to trunk. 2000-12-30 16:52:36 +00:00
bktr_tuner.c constify 2001-01-18 20:28:15 +00:00
bktr_tuner.h
README re-add README that got lost in 2.12-to-2.14 merge. 2000-07-01 01:59:54 +00:00
TODO Replace remaining vm_offset_t's in NetBSD code by vaddr_t; remove now 2000-10-28 14:50:27 +00:00

README FOR BT848/BT878 DRIVER
Updated 20th March 2000

  Roger Hardiman
  roger@cs.strath.ac.uk
  roger@freebsd.org
  http://www.telepresence.strath.ac.uk/bt848
  http://www.freebsd.org/~roger

Introduction
------------

The BKTR driver is a driver for Bt848 and Bt878 based Video Capture
cards and TV Tuner Cards.
The driver was written by Amancio Hasty for FreeBSD but is now
maintained by Roger Hardiman.

The driver has been ported from FreeBSD to NetBSD, OpenBSD and BSD/OS.
There is also a Linux version on an old version.


Please read the README file for your specific Operating System for
more information.

Thanks
Roger
--
Roger Hardiman