Commit Graph

273669 Commits

Author SHA1 Message Date
thorpej
8fb0805ccb Use ifmedia_fini(). 2020-02-04 05:15:44 +00:00
riastradh
b26fba762e Use specfs vnops for specnodes in kernfs.
While here, don't filter out rootdev and rrootdev merely because
they're not cached.

Fixes the elusive /kern/rootdev and /kern/rrootdev nodes, which only
appeared sometimes when they felt like it, and fixes operations on
/kern/rootdev and /kern/rrootdev always returning EOPNOTSUPP.

We didn't seem to have a single PR for these issues but the following
PRs are all relevant:

PR bin/13564
PR kern/38265
PR kern/38778
PR kern/45974

XXX pullup-9, pullup-8, pullup-7, pullup-6, pullup-5, pullup-4, pullup-3, pullup-2, pullup-1.4T...
2020-02-04 04:19:24 +00:00
tsutsui
64ae603ea5 Add a missing semicolon missed in rev 1.27.
Noticed by recent pmap_update() macro change.
I wonder how I've missed this for 18 years..
2020-02-03 23:09:03 +00:00
uwe
bef663a135 Make delimiters in <file> and "file" literal. 2020-02-03 22:25:17 +00:00
roy
5e6231cff4 rtsock: favour ifatoia and ifatoia6 over direct struct casts 2020-02-03 20:34:13 +00:00
maya
1893f08fad Remove more urio(4) traces.
Pointed out by maxv, thanks.
2020-02-03 19:37:42 +00:00
jmcneill
8300cfb1cb Disable simplefb if nouveau attaches 2020-02-03 16:52:13 +00:00
jmcneill
e88c29857d Re-enable PCI MSI for DRM devices 2020-02-03 16:22:52 +00:00
jmcneill
41013ffdf4 Use the correct PCI interrupt type based on what the driver has configured 2020-02-03 16:22:25 +00:00
kamil
eff97f353a Fix usage of angle-brackets and quotes in make(1) manpage
make(1) has commands .include <file> and .include "file",
but the manpage was (inconsistently) rendering <file> with
angle-brackets (e.g. in UTF8  ) and "file" with curly-quotes
in HTML output (but not text).

This is an attempt to fix that and output only literal <file>
and "file" as is actually required in the makefile.fileoutput,

https://reviews.freebsd.org/D21470

Submitted by Mateusz Piotrowski (FreeBSD)
2020-02-03 15:47:03 +00:00
skrll
45fddbdacb More if_stat* 2020-02-03 13:58:05 +00:00
skrll
180f041573 Adopt <net/if_stats.h> 2020-02-03 13:53:57 +00:00
ryo
c0671ee443 add support pmap_pv(9)
Patch originally from jmcneill@. thanks
2020-02-03 13:37:01 +00:00
ryo
de05d4dce5 separate struct vm_page_md into vm_page_md and pmap_page
for preparation pmap_pv(9)
2020-02-03 13:35:44 +00:00
kre
53a60790fd urio has gone. Comment it out (remaining visible to hold the number) 2020-02-03 13:28:11 +00:00
martin
bef52f433c PR install/54921: skip non-user partitions when checking for overlaps 2020-02-03 13:09:29 +00:00
kre
442e7c4f3e urio(4) has gone - remove it from here as well, so any kernel config
files that reference it will fail to configure, rather than later
failing to build.
2020-02-03 12:56:26 +00:00
martin
8f8ab8791d PR install/54921: message "ordering" takes a %s argument. 2020-02-03 10:37:46 +00:00
martin
6bcc9cde3d remove unused "emptypart" message (or moved to ifdef notyet area) 2020-02-03 10:29:34 +00:00
roy
01184df4dd Enable hostapd syslog support by default. 2020-02-03 09:12:53 +00:00
roy
ce63da2fc1 Enable syslog support for hostapd 2020-02-03 09:10:47 +00:00
skrll
33501dc397 Adopt <net/if_stats.h> 2020-02-03 08:00:35 +00:00
skrll
ed7083cb05 Adopt <net/if_stats.h> 2020-02-03 07:47:53 +00:00
scole
bfd21d19ef Update architectures ski is known to run on 2020-02-03 02:56:25 +00:00
kamil
9c6e9c023b realpath(1): Ported from FreeBSD. 2020-02-02 21:50:21 +00:00
kamil
771c425869 Port realpath(1) from FreeBSD
realpath(1) wraps realpath(3) and returns resolved physical path.

This utility shipped with GNU and FreeBSD is sometimes
used in scripts in the wild.
2020-02-02 21:49:43 +00:00
jmcneill
8b758d6e9b Map and read MCFG space directly instead of going through acpimcfg to
simplify access through our tiny config space window.
2020-02-02 16:44:25 +00:00
jmcneill
c57f707c75 Add acpimcfg_conf_valid helper for pcie controllers with nonstandard
config space layouts.
2020-02-02 16:31:25 +00:00
jmcneill
57cc42dc03 pci_probe_device: make sure PCI_ID_REG returns valid data before touching
any other registers
2020-02-02 16:30:31 +00:00
jmcneill
21e52a637c Fix null deref for busses with no IO port resources. 2020-02-02 14:45:14 +00:00
skrll
08dd6e151b G/C L1_TABLE_SIZE_REAL 2020-02-02 09:19:48 +00:00
skrll
ea0359e6df More KNF 2020-02-02 08:56:29 +00:00
skrll
981a2ae768 Always call pmap_grow_map with a page aligned new VA. KASSERT that this
happenes.
2020-02-02 08:19:15 +00:00
skrll
084adb9802 Always pmap_kenter_pa the page in pmap_grow_map regardless of how we got
it.
2020-02-02 08:16:40 +00:00
skrll
d6f602ab16 KNF. One #include <sys/atomic.h> is enough 2020-02-02 07:59:41 +00:00
skrll
1cf63c64d4 KNF 2020-02-02 07:55:11 +00:00
skrll
ccaddd7537 Fix comment 2020-02-02 07:47:51 +00:00
macallan
bebdaa5f7c break long lines 2020-02-02 06:43:14 +00:00
macallan
d4a683d733 attach LEDs according to info passed as device properties 2020-02-02 06:41:27 +00:00
macallan
8d1e8944b9 pass pin info to pcagpio instances, so far for front panel LEDs on
Sun Fire v210 only
2020-02-02 06:38:23 +00:00
thorpej
c22abb987d - Adopt <net/if_stats.h>.
- Use ifmedia_fini().
2020-02-02 05:56:42 +00:00
thorpej
ccd063e573 - Adopt <net/if_stats.h>.
- Use ifmedia_fini().
2020-02-02 05:27:21 +00:00
thorpej
af11cf9023 Update for per-cpu interface statistics. 2020-02-02 03:41:12 +00:00
thorpej
c85e2f36e5 Adopt <net/if_stats.h>. 2020-02-01 22:38:31 +00:00
riastradh
285f2419ce Fix abuse of TAILQ_CONCAT.
Other parts of this expect that the entries will be on wq->wq_queue
or wq->wq_dqueue, so we can't just move a batch of entries onto a
temporary queue.  Instead, use a marker node to delimit when the
batch ends.

XXX pullup
2020-02-01 22:38:05 +00:00
thorpej
2e2b06fdb4 Make if_stats competely opaque to user-space. 2020-02-01 21:59:39 +00:00
thorpej
9b9ae5ece6 Adopt <net/if_stats.h>. 2020-02-01 21:45:11 +00:00
thorpej
f0ba973cb8 Note per-cpu network interface statistics. 2020-02-01 21:14:44 +00:00
thorpej
ad971f6c2e NetBSD 9.99.45 -- struct ifnet changed, per-cpu ifnet stats. 2020-02-01 21:12:13 +00:00
thorpej
f76c553cad Flip the switch to the per-cpu implementation in <net/if_stats.h>. Leave
the conditional in place for a time in case serious problems are discovered,
so that the Old Way can be re-enabled quickly.  After some time, the Old
Way will be removed completely.
2020-02-01 21:11:10 +00:00