Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/bt485.c
RevisionDateAuthorComments
 1.18  24-Jan-2018  riastradh Fix integer overflows noted by Silvio Cesare of InfoSect.

Someone^TM should name these idioms so we can eliminate this class of
copypasta bug.
 1.17  24-Jun-2013  riastradh Use static inline. Fixes i386/ALL and something else I've forgetten.
 1.16  12-Feb-2012  matt branches: 1.16.6;
Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.15  13-Nov-2010  uebayasi branches: 1.15.8; 1.15.12;
Don't pull in the whole uvm(9) API to access only PAGE_SIZE and
some other constants. These are provided by sys/param.h now.
 1.14  14-Mar-2009  dsl branches: 1.14.4;
Change about 4500 of the K&R function definitions to ANSI ones.
There are still about 1600 left, but they have ',' or /* ... */
in the actual variable definitions - which my awk script doesn't handle.
There are also many that need () -> (void).
(The script does handle misordered arguments.)
 1.13  11-Dec-2005  christos branches: 1.13.74; 1.13.84; 1.13.90;
merge ktrace-lwp.
 1.12  27-Feb-2005  perry nuke trailing whitespace
 1.11  04-Feb-2005  perry de-__P
 1.10  13-Nov-2003  chs branches: 1.10.8; 1.10.10;
eliminate uvm_useracc() in favor of checking the return value of
copyin() or copyout().

uvm_useracc() tells us whether the mapping permissions allow access to
the desired part of an address space, and many callers assume that
this is the same as knowing whether an attempt to access that part of
the address space will succeed. however, access to user space can
fail for reasons other than insufficient permission, most notably that
paging in any non-resident data can fail due to i/o errors. most of
the callers of uvm_useracc() make the above incorrect assumption. the
rest are all misguided optimizations, which optimize for the case
where an operation will fail. we'd rather optimize for operations
succeeding, in which case we should just attempt the access and handle
failures due to insufficient permissions the same way we handle i/o
errors. since there appear to be no good uses of uvm_useracc(), we'll
just remove it.
 1.9  03-Aug-2002  itojun branches: 1.9.6;
correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.8  12-Dec-2001  elric branches: 1.8.8; 1.8.10;
Update the ramdac interface to be allow the setting of dotclocks. This is
required to support the driver in ibm561.c.
 1.7  13-Nov-2001  lukem add/cleanup RCSID
 1.6  18-Sep-2001  wiz Give initiali[sz]e all the "i"s it deserves.
 1.5  05-Aug-2001  jdolecek branches: 1.5.2;
remove unnecessary casts, make variable types consistent with the
respective wsdisplay_cmap member
no functional change, stylistic only
 1.4  07-Jul-2001  thorpej branches: 1.4.2;
bzero -> memset
 1.3  28-Jun-2000  mrg branches: 1.3.2; 1.3.4;
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
 1.2  02-Apr-2000  nathanw Adapt to change in ramdac interface.
 1.1  04-Mar-2000  elric Graphics card independant Bt485 code, derived from dev/pci/tga_bt485.c.
 1.3.4.5  13-Aug-2002  nathanw Catch up to -current.
 1.3.4.4  08-Jan-2002  nathanw Catch up to -current.
 1.3.4.3  14-Nov-2001  nathanw Catch up to -current.
 1.3.4.2  21-Sep-2001  nathanw Catch up to -current.
 1.3.4.1  24-Aug-2001  nathanw Catch up with -current.
 1.3.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.3.2.1  28-Jun-2000  bouyer file bt485.c was added on branch thorpej_scsipi on 2000-11-20 11:40:25 +0000
 1.4.2.3  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.4.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.4.2.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.5.2.1  01-Oct-2001  fvdl Catch up with -current.
 1.8.10.1  07-Aug-2002  lukem Pull up revision 1.9 (requested by itojun in ticket #616):
correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.8.8.1  29-Aug-2002  gehenna catch up with -current.
 1.9.6.5  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.9.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.9.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.9.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.9.6.1  03-Aug-2004  skrll Sync with HEAD
 1.10.10.2  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.10.10.1  12-Feb-2005  yamt sync with head.
 1.10.8.1  29-Apr-2005  kent sync with -current
 1.13.90.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.13.84.1  28-Apr-2009  skrll Sync with HEAD.
 1.13.74.1  04-May-2009  yamt sync with head.
 1.14.4.1  05-Mar-2011  rmind sync with head
 1.15.12.1  18-Feb-2012  mrg merge to -current.
 1.15.8.2  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.8.1  17-Apr-2012  yamt sync with head
 1.16.6.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed