Home | History | Annotate | Download | only in bktr
History log of /src/sys/dev/pci/bktr/bktr_os.h
RevisionDateAuthorComments
 1.7  30-Jun-2011  wiz dependant -> dependent
 1.6  12-Mar-2003  wiz Merge first bktr-sf import.
 1.5  16-Mar-2001  ross 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!
 1.4  16-Mar-2001  wiz Restore non-NetBSD parts -- we're still sharing this code.
 1.3  15-Mar-2001  ross Do critical sections a better way.
 1.2  28-Oct-2000  wiz branches: 1.2.2; 1.2.4;
Replace remaining vm_offset_t's in NetBSD code by vaddr_t; remove now
unnecessary casts added by thorpej in 1.11 of bktr_core.c. Strike one
from the TODO list.
 1.1  07-May-2000  wiz branches: 1.1.1;
Initial revision
 1.1.1.3  12-Mar-2003  wiz Import of current state of bktr(4) in sourceforge repository.
Changes since last import:
. lots of whitespace cleanups
. typo fixes (e.g. hz, compatibilty)
. fix brightness ioctl return value
. wait for int ready using DELAY() instead of tight loop
 1.1.1.2  01-Jul-2000  wiz Import release 2.14 of the bktr driver. Changes: mostly integration
of NetBSD changes; support for new Hauppauge tuner types.
 1.1.1.1  07-May-2000  wiz branches: 1.1.1.1.4;
Import of (finally busspaced) bktr-driver from FreeBSD (part 1).
This version is from the location specified in the README, modified
by bktr2netbsd, to be committed later.
 1.1.1.1.4.1  03-Jul-2000  wiz Pull up revision 1.1.1.2 (requested by wiz):
Sync with release 2.14 of the bktr driver. Changes: mostly integration
of NetBSD changes; support for new Hauppauge tuner types.

Approved by thorpej.
 1.2.4.1  09-Apr-2001  nathanw Catch up with -current.
 1.2.2.4  27-Mar-2001  bouyer Sync with HEAD.
 1.2.2.3  22-Nov-2000  bouyer Sync with HEAD.
 1.2.2.2  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
 1.2.2.1  28-Oct-2000  bouyer file bktr_os.h was added on branch thorpej_scsipi on 2000-11-20 22:35:47 +0000

RSS XML Feed