| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
I don't want people to override the mutex when allocating a TTY. It has
to be there, to keep drivers like syscons happy. So I'm creating a
tty_alloc_mutex() which can be used in those cases. tty_alloc_mutex()
should eventually be removed.
The advantage of this approach, is that we can just remove a function,
without breaking the regular API in the future.
|
|
|
|
| |
(though with some asm warning).
|
|
|
|
|
|
| |
The cn_unit and cn_tp fields don't seem to be used anywhere. Some
drivers set them, while others don't. Just remove them, in an attempt to
make our consdev code a little easier to understand.
|
|
|
|
|
|
|
|
| |
former more explicitly tells the compiler that you want an empty loop.
There are some lint programs that use this hint to avoid generating
warnings.
No functional change...
|
|
|
|
|
| |
dev/ofw changes, since this driver appears to have used that as a
start years ago...
|
|
|
|
| |
cut-n-paste leftover.
|
|
other processors will work too.
Submitted by: bms@
Obtained from: p4 mips2 branch
|