Age | Commit message (Collapse) | Author |
|
function.
ok claudio@, reyk@
|
|
ok miod@
|
|
OK miod@
|
|
asking too much in the arm world.
Translate the fec parameters from the novena dtb to set a different clock
skew to the same micrel phy used on sabre lite. The novena dtb sets
txd[0-3]-skew-ps to 3000, the sabre lite sets them to 0. When run through
the shifting/oring process from the micrel phy driver in FreeBSD this ends
up being a write of 0xffff on the novena and 0x0000 on sabre lite when
writing to TX_DATA_PAD_SKEW.
This change resolves the stability problems djm was seeing with imxenet
on novena.
ok djm@
|
|
hardware variants need at least 4 descriptors on the rx ring to be able to
receive packets. Should fix the issue reported by Christian Schulte on
bugs@.
ok mikeb@, sthen@
|
|
same information.
|
|
|
|
midi_getinfo(), midi_writebytes(). They were "used" by the sequencer
interface which we removed years ago.
|
|
may sleep in case of a page fault
|
|
i386 build. Found by Mark Patruck <mark at wrapped.cx>, thanks!
|
|
Found by Maxime Villard <max at m00nbsd ! net> with the Brainy Code Scanner,
thanks!
|
|
your kernel configuration, no need for a #if NBRIDGE > 0 dance.
|
|
bridge.
|
|
Match additional devices (RTL8188CU_3, DWA123D1, DWA125D1).
Fix efuse reading (fixes potential error in MAC address read from efuse).
Replace some magic numbers with macros.
Based on FreeBSD r270191, r273589, r281918, r281592, r282119, and r282623
via Mikhail mp39590@gmail on tech@
ok sthen@
|
|
from FreeBSD r282623 via Mikhail mp39590@gmail on tech@
|
|
|
|
|
|
from FreeBSD via Mikhail mp39590@gmail on tech@
|
|
portions of msleep and tsleep to give interrupts a chance to run
on other CPUs.
Tweak and OK kettenis
|
|
|
|
segment if u-boot reports it. Needed for the utilite where u-boot
reports two 1GB segments of physical memory.
From Patrick Wildt in bitrig with some additional sanity checks added.
|
|
Tested by and ok djm@
|
|
Internal Non-Volatile Memory (iNVM). Add support for reading
words out of it instead of an EEPROM.
From Patrick Wildt with some more offsets added.
|
|
|
|
ok sf@
|
|
ok jsing krw
|
|
found by jsg; ok jsg mikeb
|
|
From David Higgs.
|
|
Each physical interface of a trunk now gets a specific ifih (interface
input handler) that runs before ether_input().
Tested by sthen@, dlg@, Theo Buehler and <mxb AT alumni.chalmers DOT se>
ok sthen@, dlg@
|
|
not available to programs anyway.
|
|
the kernel_lock), as we already do better conversions in
user-mode. Yet, no need for every single driver to fiddle with the
conversion code as they are done transparently by common MI code. With
help from armani and miod, support from mpi
ok armani@
|
|
diff from natano@bitrig
|
|
diff from natano@bitrig, with some additional format and cast tweaks
|
|
Since we use the poll backend for select(2), care must be taken not
to set the fd's bit in writefds in this case. A kernel-only flag,
POLLNOHUP, is used by selscan() to tell the poll backend not to
return POLLHUP on EOF. This is currently only used by fifo_poll().
The fifofs regress now passes. OK guenther@
|
|
With 11b APs the firmware retries excessively unless we force it into
11b-only mode instead of mixed b/g. Perhaps a firmware bug, perhaps
a bug in our code elsewhere. For now, this makes it work.
ok kettenis
|
|
addressable virtual memory space but arm ports were using a value of
0xffffffff for this.
Instead of using a shared VM_MAX_KERNEL_ADDRESS define add md
VM_KERNEL_SPACE_SIZE defines based on the KERNEL_VM_SIZE values
from the respective machdep.c files.
djm's novena was hitting "panic: bufinit: can't reserve VM for buffers"
without a similiar change.
ok miod@
|
|
Repair firmware reset on RTL8188CUS devices (and perhaps others) by
restoring the proper register write order in the non-8188EU code path.
Fixes "urtwn0: timeout waiting for firmware readiness" after device reset.
|
|
novena has 4GB of physical memory and it's u-boot tells us
memstart: 0x10000000
memsize: 0xf0000000
which would previously cause an overflow leading to
"panic: initarm: out of memory"
tweak from and ok miod@
|
|
archs and different sized disk sectors. Make MBR have higher priority
than GPT. Add many paranoia checks and associated DPRINTF's to make
further development easier. Keep everything hidden behind #ifdef
GPT.
Tested and ok doug@ mpi@. Nothing bad seen by millert@.
|
|
This line was originally an splx() before being converted to a mutex.
ok ratchov@
|
|
|
|
perform ioctls), check the flags of the currently displayed screen in order
to decide whether the screen saver needs to be retriggered, rather than the
flags of the device we are issuing the ioctl on.
wsconsctl will always use ttyC0, while the X server may run on another
virtual screen (such as ttyC4), and the kernel screen saver would then be
reenabled behind the X server's back.
While there, apply this `should the screen burner get reenabled or disabled?'
logic at the end of every virtual screen switch. The screen burner will now
get reenabled when switching from X11 to a virtual text console, and disabled
when switching back to X.
|
|
with missing braces ratchov checked the specs to see the current
behaviour is correct, just poorly formatted.
ok ratchov@
|
|
an attempt to boot on sabresd would have tried to deref NULL function
pointers.
|
|
While novena has it's own board id it's u-boot does not set it.
"setenv machid 10ad" in u-boot will set the novena board id (0x10ad/4269).
|
|
during autoconf and after panics.
Tweak and OK guenther, OK miod
|
|
According to RFC 7323 "once TSopt has been successfully negotiated,
... [it] MUST be sent in every non-<RST> segment for the duration
of the connection." Which means that keep alives which are just
ACK packets must include that too.
Pointed out and tested by Lauri Tirkkonen <lotheac at iki ! fi>, thanks!
ok mpi
|
|
Input and ok millert@
|
|
as suggested by miod@
|
|
ok miod@
|