summaryrefslogtreecommitdiffstats
path: root/sys/arch/hppa/dev/pdc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove almost unused `flags' argument of suser().mpi2018-02-191-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 includedkettenis2011-08-161-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.nicm2010-07-021-8/+2
| | | | ok deraadt matthew millert
* Allow tty drivers to request larger buffers at attach time using aderaadt2010-06-281-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.hderaadt2010-04-201-2/+1
| | | | ok tedu
* Some of the line disciplines want to check for suser. Better to pass themtedu2010-04-121-3/+3
| | | | a process instead of using curproc. ok deraadt
* Every selwakeup() should have a matching KNOTE() (even if kqueue isn'tnicm2009-11-091-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@.fgsch2009-10-311-2/+2
| | | | miod@ deraadt@ ok.
* Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()deraadt2009-10-311-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 thanjsing2008-01-231-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.kettenis2007-07-151-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 classkettenis2007-05-231-1/+8
| | | | | | workstations. This makes these machines actually boot. ok miod@
* update copyright; miod@ is fine w/ files where he holds it toomickey2004-04-071-14/+10
|
* pdc_speeds is only needed for NCOM_GSC>0; from hellmuth.michaelis@t-online.demickey2003-10-311-2/+5
|
* Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need formiod2003-10-031-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.miod2003-05-141-2/+2
|
* Final __P removal plus some cosmetic fixupsmillert2002-03-141-2/+2
|
* First round of __P removal in sysmillert2002-03-141-7/+7
|
* Support serial speed over 9600 bauds.miod2002-03-061-1/+6
|
* Teach some magic to the kernel so that it can decode serial console settings.miod2002-02-081-3/+24
| | | | mickey@ said "commitski".
* only probe for the cerial if NCOM_GSC, not just any com, fix prontfmickey2002-02-051-11/+11
|
* use better tty flags namesmickey2002-02-041-6/+4
|
* only check for serial console if any compiledmickey2002-02-031-2/+4
|
* fix debugging printfmickey2002-02-011-4/+5
|
* offset cons hpa to com regs, damnitmickey2002-01-251-2/+2
|
* init conaddr/unit if page0->mem_cons is on serialmickey2002-01-251-4/+25
|
* raise spl around pdc callingmickey2001-04-291-5/+9
|
* paste error in pdcopen, a few formatting cnages and use int for charmickey2001-01-221-17/+15
|
* new timeout code from openbsd (; remove extraneous includesmickey2000-03-231-24/+52
|
* s/PDC_DEBUG/PDCDEBUG/mickey2000-01-261-3/+3
|
* do console stuff, pdc_call is in locore nowmickey1999-11-261-75/+124
|
* this is what it was supposed to be in the last commitmickey1999-09-071-3/+3
|
* splhigh() when calling pdcmickey1999-08-121-6/+10
|
* better set_psw() usagemickey1999-07-121-15/+10
|
* s/MINIOSIZ/IODC_MINIOSIZ/mickey1999-04-201-3/+3
|
* utilize PDC_ALIGNMENTmickey1998-12-291-3/+3
|
* merge all PDC stuff in one filemickey1998-11-231-1/+33
|
* fix pdccngetc() input handlingmickey1998-10-291-22/+57
|
* iodc.h bye, byemickey1998-09-141-2/+1
|
* PDC console/ttymickey1998-09-121-0/+284