History log of /openbsd/sys/dev/sbus/magma.c (Results 1 – 25 of 36)
Revision Date Author Comments
# 799d9b3d 24-Apr-2024 claudio <claudio@openbsd.org>

Use static inline for cd1400_write_ccr() because clang 16 has issues with it.

Also remove some unused prototypes.
From Koakuma, OK kn@


# 1525749f 02-Jul-2022 visa <visa@openbsd.org>

Remove unused device poll functions.

Also remove unneeded includes of <sys/poll.h> and <sys/select.h>.

Some addenda from jsg@.

OK miod@ mpi@


# 22e452df 13-Mar-2022 mpi <mpi@openbsd.org>

Constify struct cfattach.

ok miod@


# 76d1ff0e 01-Sep-2021 jan <jan@openbsd.org>

Use ttopen in tty drivers open functions as ttysleep string, as the others do.

ok patrick@


# 54e8de3e 23-May-2020 mpi <mpi@openbsd.org>

Implement kqfilter matching the corresponding poll routine.

ok kettenis@


# 5624428a 18-Feb-2020 cheloha <cheloha@openbsd.org>

magma(4): timeout_add(9) -> timeout_add_msec(9)

Remove the tick conversion stuff and use timeout_add_msec(9) directly.

Compile-tested by kn@.

ok kn@


# 03604742 31-Dec-2019 mpi <mpi@openbsd.org>

Convert infinite sleeps to {m,t}sleep_nsec(9).

ok kn@


# c8b8fc79 19-Jul-2019 cheloha <cheloha@openbsd.org>

ttysleep(): drop unused timeout parameter

All callers sleep indefinitely.

With help from visa@.

ok visa@, ratchov@, kn@


# 3e676399 19-Feb-2018 mpi <mpi@openbsd.org>

Remove almost unused `flags' argument of suser().

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 mill

Remove almost unused `flags' argument of suser().

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@

show more ...


# c0cd3489 30-Dec-2017 guenther <guenther@openbsd.org>

Don't pull in <sys/file.h> just to get fcntl.h

ok deraadt@ krw@


# 661211ae 14-Mar-2016 stefan <stefan@openbsd.org>

Convert sparc drivers bpp and magma to uiomove

Compile test and ok tobiasu@


# 081bf720 10-Feb-2015 miod <miod@openbsd.org>

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
-

First step towards making uiomove() take a size_t size argument:
- rename uiomove() to uiomovei() and update all its users.
- introduce uiomove(), which is similar to uiomovei() but with a size_t.
- rewrite uiomovei() as an uiomove() wrapper.
ok kettenis@

show more ...


# df2ac69f 12-Jul-2014 tedu <tedu@openbsd.org>

add a size argument to free. will be used soon, but for now default to 0.
after discussions with beck deraadt kettenis.


# 4cc8800e 02-Jul-2010 nicm <nicm@openbsd.org>

Move common code for waking up writers on a tty into a function.

ok deraadt matthew millert


# 197ff252 28-Jun-2010 deraadt <deraadt@openbsd.org>

Allow tty drivers to request larger buffers at attach time using a
max-baud-rate hint. Adjust TTYHOG (the nearly full logic) to this new
situation. The larger buffers are required by the very high

Allow tty drivers to request larger buffers at attach time using a
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

show more ...


# 79f6c33a 12-Apr-2010 tedu <tedu@openbsd.org>

Some of the line disciplines want to check for suser. Better to pass them
a process instead of using curproc. ok deraadt


# 270ebf02 09-Nov-2009 nicm <nicm@openbsd.org>

Every selwakeup() should have a matching KNOTE() (even if kqueue isn't
supported it doesn't do any harm), so put the KNOTE() in selwakeup() itself and
remove it from any occurences where both are use

Every selwakeup() should have a matching KNOTE() (even if kqueue isn't
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

show more ...


# 45f8a07e 31-Oct-2009 fgsch <fgsch@openbsd.org>

Use suser when possible. Suggested by miod@.
miod@ deraadt@ ok.


# ade004ed 31-Oct-2009 deraadt <deraadt@openbsd.org>

Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()
calls can go directly into selwakeup() safely
long discussion with nicm, murmers of consent from tedu and miod, noone
else

Add missing KNOTE() calls after selwakeup(), until we decide if the KNOTE()
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.

show more ...


# a900a081 29-Nov-2008 deraadt <deraadt@openbsd.org>

unbreak tree breakage snuck in


# 63e3ea80 29-Nov-2008 ray <ray@openbsd.org>

Iain Hibbert (plunky@netbsd) removed clauses 3 and 4 from his
licenses as well. Thanks!

"Groovy" deraadt


# b7125743 09-Jul-2005 miod <miod@openbsd.org>

Do not #include "foo.h" and keep the whole file between #if NFOO >0 ... #endif,
config(8) will not bring us into play unless NFOO > 0 anyway.


# c3db5cfb 08-Mar-2005 martin <martin@openbsd.org>

also display the correct priority on sparc64 when failing to register
an interrupt

ok miod@ deraadt@


# e529392b 03-Oct-2003 miod <miod@openbsd.org>

Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for
separate tty registering is gone now that sparc has switched to wscons, and
this makes the code less error-prone.

Also,

Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need for
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...

show more ...


# 154dfaaa 23-Sep-2003 millert <millert@openbsd.org>

Replace select backends with poll backends. selscan() and pollscan()
now call the poll backend. With this change we implement greater
poll(2) functionality instead of emulating it via the select ba

Replace select backends with poll backends. selscan() and pollscan()
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

show more ...


12