Age | Commit message (Collapse) | Author |
|
with the RS780E chipset.
OK kettenis@, jsg@
|
|
changes to set the appropriate clock. Add a sc_statchg callback in the
core softc that gets called when the link status changes.
|
|
on various Rockchip SoCs.
This is still WIP. Next steps will be to get rid of various busy-wait loops
and add DMA support.
|
|
|
|
variants.
ok jsg@, deraadt@
|
|
Restore behaviour from before the fix of the botched R92C_USTIME_TSF register
definition. IQ cal code was referring to this register by name, but actually
needs to use the old value. So add a register definition for the old value
under a new name (R92C_BCN_CTRL1) and use this name in the IQ cal code.
Discussed with Kevin Lo
|
|
This card can now receive packets. Transmit is still broken and
Kevin Lo reports that his 2T2R AR9380 device cannot receive yet.
|
|
More closely matches what other drivers are doing.
|
|
Useful for development and testing but not recommended for regular usage.
|
|
According to Kevin Lo it was wrong (and is also wrong in the Linux driver).
FreeBSD made the same change in r282623.
Patch by Kevin Lo.
|
|
when calling in_ioctl(). These ioctls modify the routing table,
which is global. So they need the lock.
Found with Zaur Molotnikov's static lock analyzer.
OK gerhard@ mpi@
|
|
Don't deref an IEEE80211_CHAN_ANYC channel pointer.
ok mpi@
|
|
|
|
|
|
From Jan Stary <hans at stare.cz>, thanks.
|
|
to it for visible screens (i.e., the console). initialize other
virtual screens with just blank character cells.
ok mpi
|
|
|
|
Port the logic to calculate the number of segments in virtqueue and
dmamaps from vioblk.
This fixes the virtqueue indirect descriptors being two entries too
small the dmamaps being much larger than necessary.
If the device does not support the required number of segments, refuse
to use it.
|
|
|
|
USB is the last real user of IPL_SOFTNET.
|
|
creating/destroying maps on each i/o.
ok sf@, "makes sense" dlg@ as part of larger diff.
|
|
|
|
scsi layer, which will add one sector back
fixes incorrect disk size reporting which was causing fdisk to
create a protective MBR of one too many sectors, which caused our
EFI bootloader to fail to recognize it as a GPT disk
ok dlg
|
|
use it.
Instead of defering every input of a USB console keyboard to a timeout
via a queue of one element, only differ entering ddb(4) once a matching
control sequenece has been typed.
This prevent loosing inputs when a USB console keyboard is "too fast".
Fix a problem reported by matthieu@, Adam McDougall and Hrvoje Popovski.
ok stsp@, dlg@
|
|
ok mpi@
|
|
might free it.
Prevent a use-after-free in various aynchronous cases. Found while
looking at another user-after-free pointed out by ehrhardt@.
Committing now to find if other drivers rely on this use-after-free.
tb@ confirmed ubcmtp(4) is now fixed.
|
|
noop and prevent us from fixing real use-after-free.
Since xfer->status is reset by *_device_intr_done(), checking for
USBD_IOERROR cannot be true.
Problem reported by tb@ because ubcmtp(4) triggers some I/O errors
when multiple fingers are used.
|
|
|
|
ok mpi@
|
|
This diff corrects dmesg to properly show that all others are 1T1R, since right
now it only applies to 8188C and all others incorrectly display 0T0R.
hint & OK stsp@
|
|
to determine whether the interface was reset while we were sleeping. The flag
will be set if the interface is still down when the task wakes up, but the
interface could already be up again in which case the flag will be cleared.
ok mpi@ kettenis@
|
|
|
|
locking and unlocking. Make sure we don't unlock 7000 family NICs while
a command is being processed (later NICs apparently don't need this).
Inspired by similar approaches in Linux and Dragonfly, and a patch given
to me by Imre Vadasz.
Tested by me on 7265 and 8260 devices, and on a 7260 device by Stefan Wollny.
|
|
the driver needs to enable the CCK high power feature, as already done for
other chips supported by urtwn(4).
Same change as FreeBSD r311347.
Patch submitted by Kevin Lo. Tested by me.
|
|
Same changes as FreeBSD r311948 and r287584.
Patch submitted by Kevin Lo. Tested by me.
|
|
For a HT node, ni_txrate is always zero. We should be using ni_txmcs instead.
Simplify the if-else logic to make sure of that.
The mimo delimiter in the link quality command was never set.
I don't know how important this is. But Linux sets it, so why not.
Hardcode the lowest rate at the tail of the retry table.
While debugging the old code I have encountered retry tables filled
with only 'MCS 8' which is obviously not ideal.
While here, fix a misspelled function prototype.
Tested by kettenis@, mpi@, and Stefan Wollny
ok mpi@
|
|
such that "ifconfig dwge0 lladdr 00:11:22:33:44:55" actually works.
|
|
the GMAC found on the Allwinner A20/A31.
With this diff I can receive packets on the Firefly-RK3399. Unfortunately
sending packets doesn't seem to work yet.
|
|
|
|
|
|
|
|
|
|
ok kettenis@
|
|
|
|
only the RK3399 is supported.
|
|
|
|
the eMMC controller on the Rockchip RK3399 work.
|
|
the Rockchip RK3399.
- Make it possible to override sdhc_signal_voltage().
- Make it possible to disable double-data rate modes.
ok patrick@
|
|
|
|
mpi says a transfer can't exist without a pipe. ok mpi@
|