summaryrefslogtreecommitdiff
path: root/sys/dev/ic/cd18xx.c
AgeCommit message (Collapse)Author
2014-07-25Add d_discard to all struct cdevsw instances I could find.dholland
All have been set to "nodiscard"; some should get a real implementation.
2014-03-16Change (mostly mechanically) every cdevsw/bdevsw I can find to usedholland
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.
2012-10-27split device_t/softc for all remaining drivers.chs
replace "struct device *" with "device_t". use device_xname(), device_unit(), etc.
2011-04-24Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() forrmind
consistency. Remove some unnecessary malloc.h inclusions as well.
2009-03-14Change about 4500 of the K&R function definitions to ANSI ones.dsl
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.)
2008-06-12use device_lookup_private to get softccegger
2008-05-29remove clause #3 from my license where there are no othermrg
copyright holders involved.
2008-04-28Remove clause 3 and 4 from TNF licensesmartin
2008-04-08use aprint_*_dev and device_xnamecegger
2007-11-19- Factor out too many copies of the same bit of tty code.ad
- Fix another tty signalling/wakeup problem.
2007-10-19machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.had
2007-10-08Use the softint API.ad
2007-03-04Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.christos
2006-10-01More from Matt Fleming:elad
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
2006-10-01Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!elad
Also, add forgotten splx() calls in some places.
2006-07-21- Use the LWP cached credentials where sane.ad
- Minor cosmetic changes.
2006-06-08Unwrap a not-too-long line.simonb
2006-05-14integrate kauth.elad
2005-12-24Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.perry
2005-12-11merge ktrace-lwp.christos
2005-09-06Change the driver open function's conditional for overriding exclusive ttykleink
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.
2005-02-27nuke trailing whitespaceperry
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22364, verified by myself.
2003-01-06interrupt with two rs.wiz
2003-01-01make cd18xx_ccr_wait() actually wait for the CCR to settle.mrg
2002-12-28tweak some commentsmrg
2002-10-23merge kqueue branch into -currentjdolecek
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
2002-09-06Merge the gehenna-devsw branch into the trunk.gehenna
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.
2002-03-17Convert ioctl code to use EPASSTHROUGH instead of -1 or ENOTTY foratatat
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.
2001-11-13add/cleanup RCSIDlukem
2001-10-03add a backend serial driver for the cirrus logic CL-CD180/1864/1865mrg
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.