Age | Commit message (Collapse) | Author |
|
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
|
|
ok jsing@, miod@
|
|
ok miod
|
|
miod@ deraadt@ ok.
|
|
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.
|
|
This is needed for the addition of further suspend/resume actions.
Okay deraadt@, marco@.
|
|
conversions.
ok kettenis@
ok krw@ (possibly for the second time :)
|
|
|
|
This should take care of the simpler ones (i.e., timeout values of
integer multiples of hz).
ok krw@, art@
|
|
tested by jbg@, "it is right" deraadt@
|
|
what type of console was specified, so when a glass console was used it was
still configuring serial bits. this makes it so serial config only occurs
for serial console devices.
found by jolan@, thib@, and maybe sthen@
sorry guys
|
|
Spotted by drahn@, ok dlg@
|
|
ok dlg@
|
|
|
|
Specify the serial configuration from within the MD code, rather than
passing things via macros. This will allow other platforms to more readily
change the serial console configuration.
Committing this so it actually gets tested.
ok dlg@
|
|
Scrub the buffer afterwards, too
|
|
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@
|
|
which need to setup the chip before comcnattach() is invoked.
|
|
have to force all console devices to. this change passes the right speed
to the com code, and continues to use it when the device is opened as the
console device.
figured out by kettenis@
ok kettenis@ miod@
|
|
from Nicholas Marriott
ok deraadt@
|
|
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@
|
|
no binary change
|
|
|
|
|
|
|
|
something, then it MUST return zero on DVACT_ACTIVATE, not EOPNOTSUPP;
this very popular bug has been cut and pasted a lot of times...
ok deraadt@ mickey@
|
|
|
|
tapping additional registes. allows it to work on macppc, where doing
such a tap after unplug is very bad. drahn helped fkr@bytemine.de
ok miod and drahn
|
|
thus removing the need for drivers to initialize cn_pri to CN_DEAD when
hardware probe fails.
|
|
userland-visible sys/select.h. Consistent with what Net and Free do.
OK deraadt@, tested with full ports build by naddy@.
|
|
|
|
code duplication in cardbus, pcmcia and puc attachments.
Joint effort with fgs@; blessed deraadt@
|
|
|
|
|
|
necessary for and only used on sparc, shortly.
Reluctantely ok deraadt@
|
|
reception is blocked while the IR receiver or transmitter is enabled.
Also enable the PXA2x0 UART before clearing the FIFO (suggested by
drahn@ some time ago), and disable the UART in compwroff().
ok deraadt@
|
|
|
|
Changes to the common com driver (partly from NetBSD):
- Multiply before divide in comspeed() to avoid overflow (from NetBSD).
- Don't call getc() and send -1 if the output queue is empty.
- Take UART clock frequency as a parameter instead of using COM_FREQ.
ok deraadt@
|
|
|
|
ok mickey@
|
|
to commit it, has not. what is going on guys?
|
|
the tree was stable. No point in code supporting a company which screws
its employees being in the OpenBSD tree.
|
|
be adopted MI?
|
|
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...
|
|
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select backend.
Adapted from NetBSD and including some changes from FreeBSD.
Tested by many, deraadt@ OK
|
|
argument. old cred only calls user suser_ucred. this will allow future
work to more flexibly implement the idea of a root process. looks like
something i saw in freebsd, but a little different.
use of suser_ucred vs suser in file system code should be looked at again,
for the moment semantics remain unchanged.
review and input from art@ testing and further review miod@
|
|
|
|
|
|
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
time-bound loops in com_common_cnputc() and lower to spltty(),
which i guess is left from times when timeouts were processed at splhigh().
jason@ tested and ok, art@ ok
|