skrll
5a3b242ac9
Fixup some comments
2020-03-13 16:12:06 +00:00
roy
733ddd3272
Note terminfo change
2020-03-13 15:21:32 +00:00
roy
aadfdb111b
terminfo: promote numeric parameters from short to int
...
POSIX mandates implementations must support upto a short but may exceed it.
When NetBSD terminfo was implemented, no terminfo description used over
a short, but because ncurses has supported ints for some time, some now do.
Infact, such a terminfo description was imported where colour pairs for
screen-256color went up to 65536 which exposed a bug in the existing
implementation where it set to zero. Because the number might mean
something more than a range, we need to be able to store it accurately.
This requires a version bump because whilst the API hasn't changed thanks
to C int promotion, the ABI has. Also the underlying database structure
has changed as well - we now store the numeric paramter inside a uint32_t
field rather than a uint16_t one.
Whilst this change can still read the old style database, the old one
cannot read the new one and thus we now maintain the database as
terminfo2.cdb, leaving the old library and database alone so old programs
still work fine.
libcurses, libfrom, libmenu and libpanel have also been bumped to
accomoate this change.
2020-03-13 15:19:24 +00:00
is
ca70afd1bf
Provide the (small) miniroot uncompressed, so that it can be used from
...
an AmigaOS without additional software to install NetBSD.
Closes PR port-amiga/45443
2020-03-13 10:01:07 +00:00
nisimura
d1ec24aa2f
regen.
2020-03-13 07:43:14 +00:00
nisimura
e867896763
add ASMedia Technology
2020-03-13 07:42:26 +00:00
knakahara
ddd7ead0f8
Fix kern/55066. Pointed out and fixed by Chuck Zmudzinski, thanks.
...
ok'ed by ozaki-r@n.o
2020-03-13 06:55:35 +00:00
yamaguchi
075ba4b6a0
Use I40E_PFINT_ITRN registers to enable ITR for MSI-X interrupts
2020-03-13 05:49:52 +00:00
yamaguchi
644c397a80
Fix locking against myself at ixl_link_state_update()
...
called by ixl_get_link_status()
Though the timing to call the function is change,
there is no order to get link status at initialization.
2020-03-13 05:40:20 +00:00
msaitoh
96ad258de0
Improve error check:
...
- We check PHY register read error correctly (timeout and NFE_PHY_ERROR), so
don't check NFE_PHY_DATA register's value with 0xffffffff or 0. At least,
some registers may have 0.
- Check NFE_PHY_ERROR bit in nfe_miibus_writereg().
- Improve debug printf
2020-03-13 05:10:39 +00:00
msaitoh
20ab1f8621
Regen.
2020-03-13 04:44:58 +00:00
msaitoh
b556be9077
0x001374 is non-bitreversed value of Attansic OUI(0x00c82e).
...
Attansic/Atheros correctly uses ID1 and ID2 register, so delete all 0x001374
related entries.
2020-03-13 04:44:34 +00:00
msaitoh
ab00d4f830
- Add Quake Technologies and Aeluros' OUI
...
- Add Teranetics TN1010 10GBase-T PHY
2020-03-13 04:43:03 +00:00
thorpej
059d14e26e
Use BUS_ADDR_{LO,HI}32().
2020-03-13 04:08:07 +00:00
thorpej
444b282dc1
Allow len == 0 in bus_dmamap_sync().
...
XXX pullup-9
2020-03-13 03:49:39 +00:00
thorpej
2ea03700f0
Support MBUFTRACE.
2020-03-13 03:45:58 +00:00
roy
66ae8b28c2
curses: wrap the erase logic in a macro
...
Easier to use, it's in one place and now hopefully everyone is happy.
X
2020-03-13 02:57:26 +00:00
knakahara
e8a0215c37
reduce unnecessary reqid of NAT-T ipsecif(4), suggested by ohishi@IIJ.
2020-03-13 02:43:31 +00:00
rin
4f7c8158b1
Fix build without kbd at zstty, simplify.
2020-03-13 01:48:16 +00:00
thorpej
3393f6f7af
Adjust the logic for enabling the 64-bit data path when a 64-bit slot
...
is detected:
- If DATA64_EN isn't set in CFG after a reset, don't use 64-bit data path
at all (it's been disabled by an EEPROM setting).
- Provide a hook for force-disabling the 64-bit data path.
- Otherwise, perform the "known 64-bit cards" check as done previously
(because dodgy-vendor-EEPROM-settings still applies).
2020-03-13 00:45:59 +00:00
thorpej
24e08f1874
- Add the D-Link products, identified by subsystem ID.
...
- On some variations, the internal PHY is ghosted at #0 and #1 . Work
around this by ignoring PHY #0 accesses unless we don't find one, and
then look for one there as a fall-back if we don't detect anything else.
- Fix access width when setting the TxDMAUrgentThresh register.
- Support MBUFTRACE.
2020-03-13 00:41:24 +00:00
jdolecek
87683a007c
xbd backend not supporting cache flush is not an autoconfiguration error
2020-03-13 00:32:05 +00:00
thorpej
9d7b661e11
pmap_tlb_miss_lock needs to be globally visible.
2020-03-12 23:10:27 +00:00
thorpej
96893318bf
If we're going to consult the MULTIPROCESSOR option, we should pull in
...
"opt_multiprocessor.h".
2020-03-12 23:09:59 +00:00
snj
a23fcf164a
regen for xkeyboard-config 2.29
2020-03-12 21:55:31 +00:00
christos
7351464dcb
Disable routing perms check for now.
2020-03-12 19:47:32 +00:00
christos
e3f8cbd510
move debugging code after the NULL check.
2020-03-12 19:36:33 +00:00
christos
86a9e77961
Handle fds that are pointing to routing sockets. If the fd has access to
...
make changes via the routing socket, grant full permission to make filter
changes.
2020-03-12 19:35:11 +00:00
martin
0c2085b2fd
Fix typo
2020-03-12 18:08:54 +00:00
kamil
6a8b9e4b54
Reduce diff with upstream
...
Remove local no longer needed modifications.
2020-03-12 15:56:44 +00:00
roy
8a456320fe
curses: use perror rather than err in initscr
...
libhack lacks err and perror is more portable.
2020-03-12 15:50:11 +00:00
pgoyette
e135ca8390
Add new netbsd32 quota modules to sets lists
2020-03-12 15:04:13 +00:00
pgoyette
1f582b1772
regen
2020-03-12 15:03:15 +00:00
pgoyette
4b5fc12da6
Split out the quota code from the rest of compat_netbsd32 module. This
...
allows loading of compat_netbsd32 on kernels that don't have ``options
QUOTA'' enabled.
2020-03-12 15:02:29 +00:00
roy
62c320f6cd
terminfo: truncate numeric parameters to a short
...
Because that is what our API demands.
We should probably change to int when we next bump the API.
2020-03-12 14:52:04 +00:00
martin
77fd0cba8e
bsize_torture: skip bigger page size tests if space in the database
...
directory is limited (numbers pulled out of thin air).
2020-03-12 14:10:59 +00:00
martin
2fd0a933ab
btree_weird_page_split: set timeout to 900s, now my landisk tests have
...
a chance to complete this one.
2020-03-12 14:03:42 +00:00
tnn
7fa2fb34ed
vmx_vmptrst(): only used when DIAGNOSTIC
2020-03-12 13:01:59 +00:00
martin
a46096ef2b
Bump timeout to 10m
2020-03-12 12:57:45 +00:00
roy
d93d20bc2b
curses: normalise erase logic with clrtoeol and clrtobot
...
Define WA_ATTRIBUTES as 0 for the non wide case just to make our code
easier to write.
2020-03-12 12:17:15 +00:00
roy
8e383c4d06
curses: note the change in initscr in our fine man page.
2020-03-12 11:38:28 +00:00
roy
4f3ce5d8c9
Revert allowing fd == -1 at the request of Christos.
2020-03-12 11:31:23 +00:00
ad
a0dc2ed65a
Put back missing set of SPCF_SHOULDYIELD.
2020-03-12 10:44:00 +00:00
yamaguchi
46c80a8520
hold the lock for struct ixl_softc during read or write to sc->sc_media_*
...
OKed by knakahara@n.o
2020-03-12 09:38:10 +00:00
yamaguchi
ad58ea6187
remove unnecessary code because IFM_ACTIVE is setted
...
in ixl_set_link_status()
OKed by knakahara@n.o
2020-03-12 09:34:41 +00:00
thorpej
c70590ecd0
Add support for MBUFTRACE.
2020-03-12 03:01:46 +00:00
roy
63d07d6408
curses: Fix werase(3) wide character support
...
We need to consider erasing all attributes, not just WA_ATTRIBUTES.
Fixes PR lib/23910.
While here, make the function a little more readable.
2020-03-11 23:47:40 +00:00
roy
5e81f724dc
curses: application should exit if initscr(3) fails
...
POSIX defines this behaviour here:
https://pubs.opengroup.org/onlinepubs/7908799/xcurses/initscr.html
Partial fix for PR lib/23910
2020-03-11 21:33:38 +00:00
mrg
e913553b0b
note GCC 8.4 may need some cleaning.
2020-03-11 21:07:40 +00:00
msaitoh
9dbe1673a3
Use unsigned to avoid undefined behavior. Found by kUBSan.
2020-03-11 16:20:57 +00:00