Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/ibm561.c
RevisionDateAuthorComments
 1.14  04-Dec-2020  thorpej - malloc(9) -> kmem(9)
- In ibm561_set_cmap(), allocating 3K on the stack is not polite; allocate
a temporary buffer for the cmap data using kmem_alloc().
 1.13  24-Jun-2020  jdolecek branches: 1.13.2;
actually stop using the stack variable
 1.12  24-Jun-2020  jdolecek avoid allocating almost 5k struct ibm561data on stack in ibm561_cninit();
it's too early for kmem_alloc(), so use static variable in BSS
 1.11  12-Feb-2012  matt Change old-style function defintions to C89 prototypes.

Approved by releng.
 1.10  13-Nov-2010  uebayasi branches: 1.10.8; 1.10.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.9  14-Mar-2009  dsl branches: 1.9.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.8  28-Apr-2008  martin branches: 1.8.8; 1.8.14;
Remove clause 3 and 4 from TNF licenses
 1.7  11-Dec-2005  christos branches: 1.7.70; 1.7.72; 1.7.74;
merge ktrace-lwp.
 1.6  04-Feb-2005  perry de-__P
 1.5  13-Nov-2003  chs branches: 1.5.8; 1.5.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.4  14-Jul-2003  lukem add missing __KERNEL_RCSID()
 1.3  03-Aug-2002  itojun branches: 1.3.6;
correct range check, have overflow check, fix type mismatches,
for cmap args and some other calls. from openbsd
 1.2  12-Jan-2002  tsutsui branches: 1.2.8; 1.2.10;
Call malloc(9) with M_ZERO flag instead of memset() after malloc().
 1.1  12-Dec-2001  elric branches: 1.1.2; 1.1.4;
Initial support for the IBM RGB561 RAMDAC. This uses the same interface
as the Bt463 and Bt485 drivers.
 1.1.4.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.1.4.3  11-Feb-2002  jdolecek Sync w/ -current.
 1.1.4.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.4.1  12-Dec-2001  thorpej file ibm561.c was added on branch kqueue on 2002-01-10 19:54:34 +0000
 1.1.2.4  13-Aug-2002  nathanw Catch up to -current.
 1.1.2.3  28-Feb-2002  nathanw Catch up to -current.
 1.1.2.2  08-Jan-2002  nathanw Catch up to -current.
 1.1.2.1  12-Dec-2001  nathanw file ibm561.c was added on branch nathanw_sa on 2002-01-08 00:29:47 +0000
 1.2.10.1  07-Aug-2002  lukem Pull up revision 1.3 (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.2.8.1  29-Aug-2002  gehenna catch up with -current.
 1.3.6.4  04-Feb-2005  skrll Sync with HEAD.
 1.3.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.3.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.3.6.1  03-Aug-2004  skrll Sync with HEAD
 1.5.10.1  12-Feb-2005  yamt sync with head.
 1.5.8.1  29-Apr-2005  kent sync with -current
 1.7.74.2  04-May-2009  yamt sync with head.
 1.7.74.1  16-May-2008  yamt sync with head.
 1.7.72.1  18-May-2008  yamt sync with head.
 1.7.70.1  02-Jun-2008  mjf Sync with HEAD.
 1.8.14.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.8.8.1  28-Apr-2009  skrll Sync with HEAD.
 1.9.4.1  05-Mar-2011  rmind sync with head
 1.10.12.1  18-Feb-2012  mrg merge to -current.
 1.10.8.1  17-Apr-2012  yamt sync with head
 1.13.2.1  14-Dec-2020  thorpej Sync w/ HEAD.

RSS XML Feed