Commit Graph

286090 Commits

Author SHA1 Message Date
nia
36e57376af Use inline cross-references. 2021-03-11 16:39:58 +00:00
christos
be8d4886f8 improve wording. 2021-03-11 16:36:41 +00:00
nia
f1f02abe4d Use inline references. 2021-03-11 16:34:12 +00:00
nia
7343bd7865 Use inline cross-references. 2021-03-11 15:46:03 +00:00
christos
95cea0cc25 Use the same options like m4 (-g turns on GNU, -G turns off GNU) Suggested
by uwe@
2021-03-11 15:45:55 +00:00
nia
e4c891f6dc cross-reference pci(9) 2021-03-11 15:44:50 +00:00
nia
807762b108 Be less redundant in the DESCRIPTION 2021-03-11 15:41:32 +00:00
nia
b011bd8bdd Put cross-references in a useful place, copying usb(4)
Caught a few drivers in the list that no longer exist this way.
2021-03-11 15:40:02 +00:00
nia
c48385939a add ena(4) 2021-03-11 15:27:40 +00:00
christos
d502916eaa Add -G to support GNU extensions 2021-03-11 15:15:05 +00:00
christos
0ad4def4b8 Document the "C" language escapes supported in GNU mode. 2021-03-11 15:12:51 +00:00
christos
259eea82c4 recognize the "C" language backslash escapes like gnu does (except b which
is already taken)
2021-03-11 15:00:29 +00:00
nia
90499bedcc delint by removing Tn macros 2021-03-11 14:19:43 +00:00
nia
ae8854d7cc add vmx, virtio 2021-03-11 14:08:18 +00:00
ryo
798cc6a0c1 flowlabel will never return anything other than 1 or 0.
s/&&/&/
2021-03-11 11:10:22 +00:00
nia
c238b6b786 Add ixg 2021-03-11 10:45:33 +00:00
ryo
a41b701065 Numeric modifiers conflict with the syntax interpretation of ddb, so use 'b', 'w', 'l', 'q' instead.
Also, change load/store('l','s') to 'r','w' like the other arch.

 >db{0}> machine watch/1 hostname
 >Bad modifier

 >db{0}> machine watch/s1 hostname
 >add watchpoint 0 as ffffc00001087848
2021-03-11 10:34:34 +00:00
nia
00c9e6ab61 Move nvme where I expected to find it (disk controllers section) 2021-03-11 10:33:36 +00:00
nia
2c68c9ba50 Split wifi cards into a separate section, add many more. 2021-03-11 10:28:53 +00:00
ryo
060a3f1bf4 - fixed a problem where hardware {break,watch}points other than #0 could not be cleared
- hardware {break,watch}point addresses are now strictly checked
2021-03-11 09:48:40 +00:00
simonb
b85b508a3b Use ifdef _KERNEL_OPT instead of ifdef _KERNEL before including
"opt_ppcarch.h".
2021-03-11 08:33:34 +00:00
thorpej
94d7e1d6e5 Tidy up initialization of the kernel SRs just a bit. 2021-03-11 04:43:47 +00:00
msaitoh
49cf423314 Add "TX " to "Queue No Descriptor Available" to make it more understandable.
Same as ixgbe.c rev. 1.278.
2021-03-11 02:30:47 +00:00
msaitoh
5c0df95076 Whitespace fixes. No functional change. 2021-03-11 01:23:33 +00:00
msaitoh
44f4353477 s/skiping/skipping/ 2021-03-11 01:13:11 +00:00
christos
23448aee49 byte-flipping a random number is not very useful. 2021-03-10 22:28:26 +00:00
christos
6fbc6295cf remove htons, it is pointless (thanks joerg@) 2021-03-10 22:18:17 +00:00
jkoshy
86dd7541e7 Update to upstream elftoolchain revision r3933. 2021-03-10 21:36:29 +00:00
macallan
9db155512c switch G5 iMacs to full speed 2021-03-10 19:45:41 +00:00
thorpej
f67047dab3 - In pmap_bootstrap1(), make sure to initialize pmap_kernel()->pm_vsid
with the kernel's base VSID.
- In va_to_vsid(), always compute the VSID from the base VSID in the
  pmap and the effective segment ID (ESID), rather than extracting it
  from the pmap's segment register value for that ESID.  Not only does
  this make the code the same between OEA and OEA64, but is also lets
  us compute the correct VSID for that pmap/ESID even if the cached SR
  for that ESID currently contains something else, such as an I/O segment
  mapping (as might be the case on a 601).

With this change, we can temporarily toggle between an I/O segment and
and HTAB-mapped segment if needed (e.g. when calling OpenFirmware on
a 601-based system).
2021-03-10 18:29:07 +00:00
christos
7d0690d809 remove extra arguments 2021-03-10 18:26:16 +00:00
christos
dd9009b9ef remove args from ip_randomid() (John D. Baker). When does this file get built? 2021-03-10 15:21:11 +00:00
christos
9c2964a923 Use __pthread_volatile for ptc_waiters (Greg A. Woods) 2021-03-10 15:05:11 +00:00
simonb
b2de856f1a Add manpage links for asysctl(3) and asysctlbyname(3), already described
in sysctl(3).
2021-03-10 13:30:34 +00:00
simonb
996bea5137 Add printf_nostamp(9), kernel printf() without prepending a timestamp. 2021-03-10 13:27:51 +00:00
mlelstv
54f59924b2 Add PCIe driver to build.
You still need:

bcm2838pcie* at fdt?                        # STB PCIe host controller

in kernel config, and DTB entries like:

        pci@7d500000 {
                compatible = "brcm,bcm2711-pcie\0brcm,pci-plat-dev";
                device_type = "pci";
                #address-cells = <0x03>;
                #size-cells = <0x02>;
                bus-range = <0x00 0x01>;
                reg = <0x00 0x7d500000 0x80000>;
                ranges = <0x2000000 0x00 0xf8000000 0x06 0x00 0x00 0x4000000>;
                #interrupt-cells = <0x01>;
                interrupt-map = <0x00 0x00 0x00 0x01 0x01 0x00 0x8f 0x04>;
                interrupt-map-mask = <0x00 0x00 0x00 0x07>;
                linux,pci-domain = <0x00>;
                phandle = <0x90>;
        };

and
                pcie0 = "/scb/pci@7d500000";

in __symbols__
2021-03-10 11:03:48 +00:00
wiz
279c4abbec drm(4): allow limiting maximum X/Y resolution
With some drivers (at least radeon(4)), in some cases the driver
does not choose the resolution correctly.  The options
DRM_MAX_RESOLUTION_HORIZONTAL and DRM_MAX_RESOLUTION_VERTICAL allow
limiting the maximum resolution in X and Y direction.
2021-03-10 07:23:42 +00:00
msaitoh
334d1ee9f2 Add micphy(4). 2021-03-10 06:38:44 +00:00
simonb
4e642ca22c Remove Network ATM soft intr queue reporting, we don't have that in the
kernel anymore.
2021-03-10 00:32:15 +00:00
rillig
5edf0687f7 lint: disable check for enum type mismatch in switch statement
This check has been too quick and broke the lint build.  Among others,
lib/libpuffs has -w included in LINTFLAGS, which means that the build
can fail even for new warnings, not only for errors.

libpuffs compares a uint16_t with constants from an unnamed enum type.
Since the enum type is completely unnamed (neither a tag nor a typedef),
there is no way to define a struct member having this type. This was a
scenario that I just didn't consider when I added the check to lint.

For now, disable the new check completely.  The previously existing lint
checks stay enabled, including the one that warns about mismatched
anonymous enum types in the '==' operator, which is very similar to the
now disabled check.
2021-03-10 00:02:00 +00:00
rillig
4b24f8a1b1 tests/lint: add example for anonymous enum type in switch expression 2021-03-09 23:40:43 +00:00
rillig
4fa1602dd1 tests/lint: add tests for comparison between unnamed enums
Since unnamed enum types cannot be used in type casts, there is no
sensible way that this type mismatch could be resolved, without changing
the definition of the enum type itself, but that may be in a
non-modifiable header.

Therefore, comparisons with enum constants of unnamed types cannot be
sensibly warned about.
2021-03-09 23:09:48 +00:00
rillig
c280f5e623 tests/indent: demonstrate strange alignment for global variables 2021-03-09 20:43:19 +00:00
rillig
ee51961c3d indent: extract search_brace from main
No functional change.
2021-03-09 19:46:28 +00:00
rillig
4ca89b5791 indent: extract capsicum code out of the main function
No functional change.
2021-03-09 19:32:41 +00:00
rillig
d60ce5707b indent: rename a few more token types
The previous names were either too short or ambiguous.

No functional change.
2021-03-09 19:23:08 +00:00
rillig
ed0fd2fe70 indent: make token names more precise
The previous 'casestmt' was wrong since a case label is not a statement
at all.

The previous 'swstmt' was overly short, and wrong as well, since it
represents only the 'switch (expr)' part, which is not a complete switch
statement.  Same for 'ifstmt', 'whilestmt', 'forstmt'.

The previous word 'head' was not precise enough since it didn't specify
exactly where the head ends and the body starts.  Especially for
handling the dangling else, this distinction is important.

No functional change.
2021-03-09 19:14:39 +00:00
rillig
d64e8288e4 indent: rename a few tokens to be more obvious
For casual readers it is not obvious whether the 'sp' meant 'special' or
'space' or something entirely different.
2021-03-09 18:28:10 +00:00
rillig
bd056b6eea indent: extract reduce_stmt from reduce
This refactoring reduces the indentation of the code, as well as
removing any ambiguity as to which 'switch' statement a 'break' belongs,
as there are no more nested 'switch' statements.

No functional change.
2021-03-09 18:21:01 +00:00
rillig
6cabfe5cb2 indent: manually indent comments
It's strange that indent's own code is not formatted by indent itself,
which would be a good demonstration of its capabilities.

In its current state, I don't trust indent to get even the tokenization
correct, therefore the only safe way is to format the code manually.
2021-03-09 16:48:28 +00:00