Home | History | Annotate | Download | only in arcbios
History log of /src/sys/dev/arcbios/arcbios_tty.c
RevisionDateAuthorComments
 1.25  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.24  16-Mar-2014  dholland branches: 1.24.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.23  16-Dec-2013  mrg use (void) when we don't care about the return value
 1.22  24-Apr-2011  rmind branches: 1.22.4; 1.22.14; 1.22.18;
Rename ttymalloc() to tty_alloc(), and ttyfree() to tty_free() for
consistency. Remove some unnecessary malloc.h inclusions as well.
 1.21  20-Feb-2011  matt (XXX this should be a library like libsa).
Deal with the need to save/restore T8 (CURLWP) across arcbios calls.
Call arcbios with O32 ABI conventions even if kernel/bootloader is N32/N64.
 1.20  23-Nov-2009  rmind branches: 1.20.4; 1.20.6; 1.20.8;
Remove some unecessary includes sys/user.h header.
 1.19  19-Nov-2007  ad branches: 1.19.18;
- Factor out too many copies of the same bit of tty code.
- Fix another tty signalling/wakeup problem.
 1.18  11-Jul-2007  ad branches: 1.18.6; 1.18.8; 1.18.12; 1.18.14;
Adapt to callout_init signature change.
 1.17  09-Jul-2007  ad Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
 1.16  04-Mar-2007  christos branches: 1.16.2; 1.16.4;
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
 1.15  01-Oct-2006  elad branches: 1.15.4;
Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!

Also, add forgotten splx() calls in some places.
 1.14  21-Jul-2006  ad branches: 1.14.4; 1.14.6;
- Use the LWP cached credentials where sane.
- Minor cosmetic changes.
 1.13  15-May-2006  yamt - include kauth.h for kauth_authorize_generic.
- tweak indent for a long line.
 1.12  14-May-2006  elad integrate kauth.
 1.11  11-Dec-2005  christos branches: 1.11.4; 1.11.6; 1.11.8; 1.11.10; 1.11.12;
merge ktrace-lwp.
 1.10  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.9  18-Apr-2005  tsutsui branches: 1.9.2;
- Use u_long or long rather than paddr_t for ARCBIOS function prototypes
as per the ARC specification. They are actually 64bit on MIPS64 based
machines and our paddr_t is not equal to pointer size.
(arc is ILP32 but has 64bit paddr_t)
- While here, change some unsigned long to u_long for consistency.
 1.8  27-Feb-2005  perry nuke trailing whitespace
 1.7  02-Oct-2004  sekiya branches: 1.7.4; 1.7.6;
uint32_t -> unsigned long, per the differences between 32- and 64-bit ARCS.
 1.6  23-Oct-2002  jdolecek branches: 1.6.6;
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.5  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.4  17-Mar-2002  atatat branches: 1.4.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.3  13-Nov-2001  lukem branches: 1.3.2;
add RCSID
 1.2  08-Sep-2001  rafal Make the ARCS console work again, by initializing the dev_t on arcbios init
rather than in the open entry point (where it's too late for cnopen). Being
checked in from my Indy using the ARCS console on the graphics display.
 1.1  08-Jul-2001  thorpej branches: 1.1.2; 1.1.4;
Initial pass a ARC BIOS code that can be shared between the sgimips
and arc ports.
 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  10-Oct-2001  fvdl Convert all remaining devices.
 1.1.4.1  01-Oct-2001  fvdl Catch up with -current.
 1.1.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.1.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.1.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.1.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.3.2.4  11-Nov-2002  nathanw Catch up to -current
 1.3.2.3  17-Sep-2002  nathanw Catch up to -current.
 1.3.2.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.3.2.1  13-Nov-2001  nathanw file arcbios_tty.c was added on branch nathanw_sa on 2002-04-01 07:45:08 +0000
 1.4.4.1  16-May-2002  gehenna Add the character device switch.
 1.6.6.4  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.6.6.3  04-Mar-2005  skrll Sync with HEAD.

Hi Perry!
 1.6.6.2  13-Jan-2005  skrll Adapt to branch
 1.6.6.1  19-Oct-2004  skrll Sync with HEAD
 1.7.6.1  19-Mar-2005  yamt sync with head. xen and whitespace. xen part is not finished.
 1.7.4.1  29-Apr-2005  kent sync with -current
 1.9.2.4  07-Dec-2007  yamt sync with head
 1.9.2.3  03-Sep-2007  yamt sync with head.
 1.9.2.2  30-Dec-2006  yamt sync with head.
 1.9.2.1  21-Jun-2006  yamt sync with head.
 1.11.12.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.11.10.2  10-Mar-2006  elad generic_authorize() -> kauth_authorize_generic().
 1.11.10.1  08-Mar-2006  elad Adapt to kernel authorization KPI.
 1.11.8.2  11-Aug-2006  yamt sync with head
 1.11.8.1  24-May-2006  yamt sync with head.
 1.11.6.1  01-Jun-2006  kardel Sync with head.
 1.11.4.1  09-Sep-2006  rpaulo sync with head
 1.14.6.1  22-Oct-2006  yamt sync with head
 1.14.4.1  18-Nov-2006  ad Sync with head.
 1.15.4.1  12-Mar-2007  rmind Sync with HEAD.
 1.16.4.1  11-Jul-2007  mjf Sync with head.
 1.16.2.2  15-Jul-2007  ad Sync with head.
 1.16.2.1  01-Jul-2007  ad Adapt to callout API change.
 1.18.14.1  08-Dec-2007  mjf Sync with HEAD.
 1.18.12.1  21-Nov-2007  bouyer Sync with HEAD
 1.18.8.1  09-Jan-2008  matt sync with HEAD
 1.18.6.1  21-Nov-2007  joerg Sync with HEAD.
 1.19.18.1  11-Mar-2010  yamt sync with head
 1.20.8.1  05-Mar-2011  bouyer Sync with HEAD
 1.20.6.1  06-Jun-2011  jruoho Sync with HEAD.
 1.20.4.2  31-May-2011  rmind sync with head
 1.20.4.1  05-Mar-2011  rmind sync with head
 1.22.18.1  18-May-2014  rmind sync with head
 1.22.14.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.4.1  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.24.2.1  10-Aug-2014  tls Rebase.

RSS XML Feed