mlelstv
df76ad14d5
Revert previous. Indirect matches are not wanted on platforms that
...
use external configuration data (FDT or OF).
2019-12-05 06:28:09 +00:00
msaitoh
f30d729901
Revert if_admsw.c rev. 1.25. It's not required to check
...
sc->sc_ifmedia[port].ifm_cur->ifm_media instead of ifm->ifm_media.
2019-12-05 06:25:33 +00:00
ryo
7ad7b38b66
fix build error by my previous commit
2019-12-05 05:45:52 +00:00
msaitoh
835fd7148a
Fix previous comment change for ifm_media. It was correct.
...
The real problem is that some driver misuse ifm_media as the current active
media. struct mii_data has the current active media(mii_media_active). If a
driver use mii(4), it can be use mii->mii_media_active for this purpose.
struct ifmedia has no entry for this purpose. Some drivers have an entry
in their own softc to keep the value, but some other's don't have it and
they mistakenly use ifm_media.
We might add a new entry to struct ifmedia in future to avoid this confusion
and for simplify.
2019-12-05 05:29:27 +00:00
msaitoh
f1e2747d26
Remove SIOC[SIFMEDIA because ifmedia_ioctl() does the same thing.
2019-12-05 05:28:09 +00:00
ryo
3156d7fc00
MAX_CACHE_LEVEL * struct aarch64_cache_info are required to statically allocate for cpu0.
...
avoid "cpu0: L2 512KB/64B 16-way write-back read-allocate write-allocate PIPT *UNK* cache" by r1.8
2019-12-05 05:17:55 +00:00
riastradh
957ea672ed
#ifdef notyet ---> never
2019-12-05 04:17:13 +00:00
riastradh
9d003b74d5
Only need one ci_onproc member.
2019-12-05 03:59:39 +00:00
riastradh
38e3ff59e6
Missed a spot in the crypto/arc4 deletion.
2019-12-05 03:57:55 +00:00
riastradh
7ba101b07e
Nuke crypto/arc4. Has not been used since 2003. Will not be missed.
2019-12-05 03:22:02 +00:00
riastradh
aca9a2fd6e
Avoid redefining uint_t &c. if compat_defs.h already defines them.
2019-12-05 03:21:42 +00:00
riastradh
6f17d02bf7
Switch psz_ev_excl to static evcnt.
2019-12-05 03:21:29 +00:00
riastradh
d5dccc2571
Restore psz_lock just for the event count.
...
Cost of mutex_enter/exit is negligible compared to the xcall we just
did, so this is not going to meaningfully affect performance.
2019-12-05 03:21:17 +00:00
riastradh
de3acc9d56
Allow equality in this assertion.
...
This can happen if we lose the race mentioned in percpu_cpu_swap.
2019-12-05 03:21:08 +00:00
msaitoh
5132e01e56
Do SIOC[GS]IFMEDIA like others. Not tested.
2019-12-05 03:15:20 +00:00
msaitoh
4f6b47a515
Remove SIOC[GS]IFMEDIA because ieee80211_ioctl() does the same thing.
2019-12-05 03:11:40 +00:00
hkenken
a681abd491
Remove unnecessary code.
2019-12-05 00:31:14 +00:00
pgoyette
c5b5c0a464
Note that the size returned by modctl(2) and displayed by modstat(8) is
...
only for the module's text section, not for the entire size of the module.
Addresses PR kern-54737
2019-12-04 23:35:36 +00:00
sevan
ffa03210f1
Make use of the pcidevs database by default.
2019-12-04 21:53:20 +00:00
bouyer
41bd6cdc1c
Finally fix problem discussed in this old thread:
...
http://mail-index.netbsd.org/tech-kern/2017/12/03/msg022661.html
Dell's radio hotkey sends a PMFE_RADIO_TOGGLE event, but nothing actually
listen to it.
Turn it into a PSWITCH_HK_WIRELESS_BUTTON hotkey, similar to
what thinkpad_acpi.c does.
Add type/subtypes seen on a Dell lattitude 5480 laptop.
XXX we need a PMFE_AUDIO_MICRO_TOGGLE, and something to handle it.
2019-12-04 19:51:32 +00:00
tkusumi
bde056c207
dm: Minor fixes/cleanups
2019-12-04 16:55:30 +00:00
tkusumi
c6f7eba138
dm: Comment out unused dm_dev fields documented in sys/dev/dm/doc
2019-12-04 16:54:03 +00:00
jmcneill
0bd087563f
Add missing rcvar=$name
2019-12-04 16:46:50 +00:00
tkusumi
9dea69368e
dm: style + whitespace + indentation fixes
...
No functional changes.
2019-12-04 15:31:12 +00:00
jmcneill
7c7ebd9b6b
Fix signed/unsigned comparison
2019-12-04 14:09:47 +00:00
kamil
a1e3c6861e
Register "PT_STOP" in ptrace PT_STRINGS
2019-12-04 13:52:27 +00:00
jmcneill
7fc7bbf7bb
remove DTrace from TODO list
2019-12-04 13:47:03 +00:00
uwe
f2508f9b07
"Administrivia" is a real word and it was used here on purpose.
2019-12-04 13:04:09 +00:00
jmcneill
2aeb9a97d8
Enable DTrace on aarch64
2019-12-04 11:47:52 +00:00
jmcneill
06647ff168
Move dtrace_syscall_linux out of mi set list
2019-12-04 11:47:17 +00:00
jmcneill
8f3f50190d
Update arm64 image header in place
2019-12-04 11:25:04 +00:00
jmcneill
8ea14ea60e
Fix alignment of .text section by changing load address to
...
0xffffffc000000000 and adding 64 bytes of padding before the entry point.
2019-12-04 11:24:31 +00:00
jmcneill
bd2672724f
Add -u flag for updating headers in place.
2019-12-04 11:21:34 +00:00
martin
307174c660
Add syscall_linux back for other arm architectures (accidently removed
...
in previous)
2019-12-04 10:12:47 +00:00
wiz
7b4936e883
Fix typo in comment (typlogy)
2019-12-04 09:34:12 +00:00
wiz
52b618ba11
Fix some typos.
2019-12-04 09:25:43 +00:00
msaitoh
96f6e9142b
Simplify. No functional change.
2019-12-04 09:03:45 +00:00
martin
a49d552d05
For HEAD builds, add a small "bleeding edge" warning when we talk about
...
a rock solid OS.
2019-12-04 09:03:34 +00:00
mrg
ce3aa71a56
remove no longer existing gnu/* from cdpath.
2019-12-04 08:21:50 +00:00
msaitoh
18621f6735
From OpenBSD:
...
- Fix error message.
- Whitespace fix.
2019-12-04 08:21:43 +00:00
msaitoh
1ea6675b68
Rename ifm to ife for struct ifmedia_entry *. No functional change.
2019-12-04 08:12:03 +00:00
skrll
f17d30aa95
+ci_onproc
2019-12-04 07:49:39 +00:00
msaitoh
2334111e25
Fix macppc/dev/if_mc.c::mc_mediachange(). Not tested.
...
ifmedia_change() is used to change the device's media setting from
user-selected media. The user-selected media is not sc->sc_media.ifm_media but
sc->sc_media.ifm_cur->ifm_media. Note that mc_mediachange() is not called from
anywhere because it's disabled with #ifdef NOTYET.
2019-12-04 07:03:46 +00:00
skrll
912ca7e3d8
Consistency.
2019-12-04 06:28:35 +00:00
riastradh
f9764fd750
Disable rngtest on output of cprng_strong.
...
We already do a self-test for correctenss of Hash_DRBG output;
applying rngtest to it does nothing but give everyone warning fatigue
about spurious rngtest failures.
2019-12-04 05:36:34 +00:00
msaitoh
35441f40b8
Fix admsw_mediachange(). Not tested.
...
ifmedia_change() is used to change the device's media setting from
user-selected media. The user-selected media is not
sc->sc_ifmedia[port]->ifm_media but sc->sc_ifmedia[port].ifm_cur->ifm_media.
2019-12-04 05:19:10 +00:00
christos
cbb438eec0
PR/54730: Izumi Tsutsui: Use /var/db/obsolete/<set> to remove obsolete rc.d
...
files when not in $SOURCEMODE.
2019-12-04 04:45:42 +00:00
riastradh
fd49f423fd
Fix rump definition of cpu_number().
2019-12-04 03:04:52 +00:00
riastradh
915366b261
Update rnd(9) man page to reflect reality since netbsd-7.
...
- Note rndsource_setcb, RND_FLAG_HASCB, and rnd_add_data_sync.
- Note user's obligation to serialize access to each rndsource.
2019-12-04 03:04:43 +00:00
hikaru
0bfe49f7e1
Fix macro error if QAT_DUMP is defined for debugging.
2019-12-04 01:06:28 +00:00