Home | History | Annotate | Download | only in ic
History log of /src/sys/dev/ic/cd18xx.c
RevisionDateAuthorComments
 1.33  02-Jun-2024  andvar fix various typos in word `interrupt', mainly in comments.
 1.32  02-Feb-2024  andvar fix various typos in comments.
 1.31  25-Jul-2014  dholland Add d_discard to all struct cdevsw instances I could find.

All have been set to "nodiscard"; some should get a real implementation.
 1.30  16-Mar-2014  dholland branches: 1.30.2;
Change (mostly mechanically) every cdevsw/bdevsw I can find to use
designated initializers.

I have not built every extant kernel so I have probably broken at
least one build; however I've also found and fixed some wrong
cdevsw/bdevsw entries so even if so I think we come out ahead.
 1.29  27-Oct-2012  chs branches: 1.29.2;
split device_t/softc for all remaining drivers.
replace "struct device *" with "device_t".
use device_xname(), device_unit(), etc.
 1.28  24-Apr-2011  rmind branches: 1.28.4; 1.28.14;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.27  14-Mar-2009  dsl branches: 1.27.4; 1.27.6;
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.26  12-Jun-2008  cegger branches: 1.26.4; 1.26.10;
use device_lookup_private to get softc
 1.25  29-May-2008  mrg branches: 1.25.2;
remove clause #3 from my license where there are no other
copyright holders involved.
 1.24  28-Apr-2008  martin branches: 1.24.2;
Remove clause 3 and 4 from TNF licenses
 1.23  08-Apr-2008  cegger branches: 1.23.2; 1.23.4;
use aprint_*_dev and device_xname
 1.22  19-Nov-2007  ad branches: 1.22.14;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.21  19-Oct-2007  ad branches: 1.21.2;
machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h
 1.20  08-Oct-2007  ad branches: 1.20.2;
Use the softint API.
 1.19  04-Mar-2007  christos branches: 1.19.2; 1.19.14; 1.19.16; 1.19.18;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.18  01-Oct-2006  elad branches: 1.18.4;
More from Matt Fleming:

Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
 1.17  01-Oct-2006  elad Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!

Also, add forgotten splx() calls in some places.
 1.16  21-Jul-2006  ad branches: 1.16.4; 1.16.6;
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.
 1.15  08-Jun-2006  simonb Unwrap a not-too-long line.
 1.14  14-May-2006  elad branches: 1.14.2;
integrate kauth.
 1.13  24-Dec-2005  perry branches: 1.13.4; 1.13.6; 1.13.8; 1.13.10; 1.13.12;
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.12  11-Dec-2005  christos merge ktrace-lwp.
 1.11  06-Sep-2005  kleink Change the driver open function's conditional for overriding exclusive tty
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
 1.10  27-Feb-2005  perry branches: 1.10.4;
nuke trailing whitespace
 1.9  07-Aug-2003  agc branches: 1.9.8; 1.9.10;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.8  06-Jan-2003  wiz branches: 1.8.2;
interrupt with two rs.
 1.7  01-Jan-2003  mrg make cd18xx_ccr_wait() actually wait for the CCR to settle.
 1.6  28-Dec-2002  mrg tweak some comments
 1.5  23-Oct-2002  jdolecek merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe
 1.4  06-Sep-2002  gehenna Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
by using this grammer.

- Added the new naming convention.
The name of the device switch must be <prefix>_[bc]devsw for auto-generation
of device switch tables.

- The backward compatibility of loading block/character device
switch by LKM framework is broken. This is necessary to convert
from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
the LKM framework will refer it to assign device major number dynamically.
 1.3  17-Mar-2002  atatat branches: 1.3.4;
Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY for
indicating an unhandled "command". ERESTART is -1, which can lead to
confusion. ERESTART has been moved to -3 and EPASSTHROUGH has been
placed at -4. No ioctl code should now return -1 anywhere. The
ioctl() system call is now properly restartable.
 1.2  13-Nov-2001  lukem branches: 1.2.2;
add/cleanup RCSID
 1.1  03-Oct-2001  mrg branches: 1.1.2; 1.1.4;
add a backend serial driver for the cirrus logic CL-CD180/1864/1865
8 port chip. this is used in several sbus (sparc) serial boards, as
well as an 8 port isa card from riscom. sio16 (sbus) frontend coming
shortly.

this is heavily based on the com and zs drivers.
 1.1.4.3  13-Oct-2001  fvdl Revert the t_dev -> t_devvp change in struct tty. The way that tty
structs are currently used (especially by console ttys) aren't
ready for it, and this will require quite a few changes.
 1.1.4.2  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.1.4.1  03-Oct-2001  fvdl file cd18xx.c was added on branch thorpej-devvp on 2001-10-11 00:02:02 +0000
 1.1.2.9  07-Jan-2003  thorpej Sync with HEAD.
 1.1.2.8  03-Jan-2003  thorpej Sync with HEAD.
 1.1.2.7  29-Dec-2002  thorpej Sync with HEAD.
 1.1.2.6  11-Nov-2002  nathanw Catch up to -current
 1.1.2.5  17-Sep-2002  nathanw Catch up to -current.
 1.1.2.4  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.1.2.3  14-Nov-2001  nathanw Catch up to -current.
 1.1.2.2  08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1  03-Oct-2001  nathanw file cd18xx.c was added on branch nathanw_sa on 2001-10-08 20:10:58 +0000
 1.2.2.4  10-Oct-2002  jdolecek sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
 1.2.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.2.2.1  13-Nov-2001  thorpej file cd18xx.c was added on branch kqueue on 2002-01-10 19:54:18 +0000
 1.3.4.1  16-May-2002  gehenna Add the character device switch.
 1.8.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.8.2.4  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.8.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1  03-Aug-2004  skrll Sync with HEAD
 1.9.10.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.9.8.1  29-Apr-2005  kent sync with -current
 1.10.4.5  07-Dec-2007  yamt sync with head
 1.10.4.4  27-Oct-2007  yamt sync with head.
 1.10.4.3  03-Sep-2007  yamt sync with head.
 1.10.4.2  30-Dec-2006  yamt sync with head.
 1.10.4.1  21-Jun-2006  yamt sync with head.
 1.13.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.13.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.13.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.13.8.3  11-Aug-2006  yamt sync with head
 1.13.8.2  26-Jun-2006  yamt sync with head.
 1.13.8.1  24-May-2006  yamt sync with head.
 1.13.6.1  01-Jun-2006  kardel Sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.14.2.1  19-Jun-2006  chap Sync with head.
 1.16.6.1  22-Oct-2006  yamt sync with head
 1.16.4.1  18-Nov-2006  ad Sync with head.
 1.18.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.19.18.1  14-Oct-2007  yamt sync with head.
 1.19.16.2  09-Jan-2008  matt sync with HEAD
 1.19.16.1  06-Nov-2007  matt sync with HEAD
 1.19.14.2  21-Nov-2007  joerg Sync with HEAD.
 1.19.14.1  26-Oct-2007  joerg Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.
 1.19.2.2  23-Oct-2007  ad Sync with head.
 1.19.2.1  17-Jun-2007  ad - Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
 1.20.2.2  21-Nov-2007  bouyer Sync with HEAD
 1.20.2.1  25-Oct-2007  bouyer Sync with HEAD.
 1.21.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.22.14.2  29-Jun-2008  mjf Sync with HEAD.
 1.22.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.23.4.2  04-May-2009  yamt sync with head.
 1.23.4.1  16-May-2008  yamt sync with head.
 1.23.2.3  17-Jun-2008  yamt sync with head.
 1.23.2.2  04-Jun-2008  yamt sync with head
 1.23.2.1  18-May-2008  yamt sync with head.
 1.24.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.25.2.1  18-Jun-2008  simonb Sync with head.
 1.26.10.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.26.4.1  28-Apr-2009  skrll Sync with HEAD.
 1.27.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.27.4.1  31-May-2011  rmind sync with head
 1.28.14.2  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.28.14.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.28.4.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.28.4.1  30-Oct-2012  yamt sync with head
 1.29.2.1  18-May-2014  rmind sync with head
 1.30.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed