Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove almost unused `flags' argument of suser(). | 2018-02-19 | 1 | -2/+2 | |
| | | | | | | | The account flag `ASU' will no longer be set but that makes suser() mpsafe since it no longer mess with a per-process field. No objection from millert@, ok tedu@, bluhm@ | ||||
* | Compile in serial console settings support if any com(4) device is included | 2011-08-16 | 1 | -3/+3 | |
| | | | | | | in the kernel, not only when com @ gsc is there. ok miod@ | ||||
* | Move common code for waking up writers on a tty into a function. | 2010-07-02 | 1 | -8/+2 | |
| | | | | ok deraadt matthew millert | ||||
* | Allow tty drivers to request larger buffers at attach time using a | 2010-06-28 | 1 | -2/+2 | |
| | | | | | | | | max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new situation. The larger buffers are required by the very high speed KDDI devices in Japan (CF com, or USB ucom) so those are the only two drivers which currently ask for a larger buffer size. ok yasuoka miod | ||||
* | cleanup more confusion regarding user.h before proc.h, or missing proc.h | 2010-04-20 | 1 | -2/+1 | |
| | | | | ok tedu | ||||
* | Some of the line disciplines want to check for suser. Better to pass them | 2010-04-12 | 1 | -3/+3 | |
| | | | | a process instead of using curproc. ok deraadt | ||||
* | Every selwakeup() should have a matching KNOTE() (even if kqueue isn't | 2009-11-09 | 1 | -2/+1 | |
| | | | | | | | | | | supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and remove it from any occurences where both are used, except one for kqueue itself and one in sys_pipe.c (where the selwakeup is under a PIPE_SEL flag). Based on a diff from tedu. ok deraadt | ||||
* | Use suser when possible. Suggested by miod@. | 2009-10-31 | 1 | -2/+2 | |
| | | | | miod@ deraadt@ ok. | ||||
* | Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE() | 2009-10-31 | 1 | -1/+2 | |
| | | | | | | | calls can go directly into selwakeup() safely long discussion with nicm, murmers of consent from tedu and miod, noone else seems to care of kqueue is busted as long as it makes their sockets move data fast... pretty sad. | ||||
* | Cleanup cn_pri. Change constants to more meaningful names, rather than | 2008-01-23 | 1 | -2/+2 | |
| | | | | | | | the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@ | ||||
* | Delay switching to the real serial console until we attach the serial device. | 2007-07-15 | 1 | -40/+11 | |
| | | | | | | | | The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. ok miod@ | ||||
* | Add hack to prevent switching to serial console on four-digit B/C/J class | 2007-05-23 | 1 | -1/+8 | |
| | | | | | | workstations. This makes these machines actually boot. ok miod@ | ||||
* | update copyright; miod@ is fine w/ files where he holds it too | 2004-04-07 | 1 | -14/+10 | |
| | |||||
* | pdc_speeds is only needed for NCOM_GSC>0; from hellmuth.michaelis@t-online.de | 2003-10-31 | 1 | -2/+5 | |
| | |||||
* | Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for | 2003-10-03 | 1 | -3/+4 | |
| | | | | | | | | | separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me... | ||||
* | Fix uninitialized variable. | 2003-05-14 | 1 | -2/+2 | |
| | |||||
* | Final __P removal plus some cosmetic fixups | 2002-03-14 | 1 | -2/+2 | |
| | |||||
* | First round of __P removal in sys | 2002-03-14 | 1 | -7/+7 | |
| | |||||
* | Support serial speed over 9600 bauds. | 2002-03-06 | 1 | -1/+6 | |
| | |||||
* | Teach some magic to the kernel so that it can decode serial console settings. | 2002-02-08 | 1 | -3/+24 | |
| | | | | mickey@ said "commitski". | ||||
* | only probe for the cerial if NCOM_GSC, not just any com, fix prontf | 2002-02-05 | 1 | -11/+11 | |
| | |||||
* | use better tty flags names | 2002-02-04 | 1 | -6/+4 | |
| | |||||
* | only check for serial console if any compiled | 2002-02-03 | 1 | -2/+4 | |
| | |||||
* | fix debugging printf | 2002-02-01 | 1 | -4/+5 | |
| | |||||
* | offset cons hpa to com regs, damnit | 2002-01-25 | 1 | -2/+2 | |
| | |||||
* | init conaddr/unit if page0->mem_cons is on serial | 2002-01-25 | 1 | -4/+25 | |
| | |||||
* | raise spl around pdc calling | 2001-04-29 | 1 | -5/+9 | |
| | |||||
* | paste error in pdcopen, a few formatting cnages and use int for char | 2001-01-22 | 1 | -17/+15 | |
| | |||||
* | new timeout code from openbsd (; remove extraneous includes | 2000-03-23 | 1 | -24/+52 | |
| | |||||
* | s/PDC_DEBUG/PDCDEBUG/ | 2000-01-26 | 1 | -3/+3 | |
| | |||||
* | do console stuff, pdc_call is in locore now | 1999-11-26 | 1 | -75/+124 | |
| | |||||
* | this is what it was supposed to be in the last commit | 1999-09-07 | 1 | -3/+3 | |
| | |||||
* | splhigh() when calling pdc | 1999-08-12 | 1 | -6/+10 | |
| | |||||
* | better set_psw() usage | 1999-07-12 | 1 | -15/+10 | |
| | |||||
* | s/MINIOSIZ/IODC_MINIOSIZ/ | 1999-04-20 | 1 | -3/+3 | |
| | |||||
* | utilize PDC_ALIGNMENT | 1998-12-29 | 1 | -3/+3 | |
| | |||||
* | merge all PDC stuff in one file | 1998-11-23 | 1 | -1/+33 | |
| | |||||
* | fix pdccngetc() input handling | 1998-10-29 | 1 | -22/+57 | |
| | |||||
* | iodc.h bye, bye | 1998-09-14 | 1 | -2/+1 | |
| | |||||
* | PDC console/tty | 1998-09-12 | 1 | -0/+284 | |