Commit Graph

247119 Commits

Author SHA1 Message Date
msaitoh
de7d43c176 Fix flow control setting sysctl. I don't know why disabling autonego when
the flow control parameter is changed. Now the ixgN.fc sysctl works as
expected.
2016-12-27 10:01:39 +00:00
maya
441aa9cf25 Revert previous commit (to r1.117)
Superfluous warnings in simple userland programs is not a valid reason to
break a security model.
2016-12-27 09:34:44 +00:00
flxd
56ced6935d Fix TC adaptor's CSR address.
Add "PMAD" LANCE TC Ethernet.
2016-12-27 08:56:00 +00:00
abhinav
59739e51e1 Fix the date (setting the date to the same as the date on which this version was imported).
Looks like the '%Q%' was supposed to be translated to an actual date through
some tool but neither the README nor the Makefile say anything. So just
setting the date manually.

ok wiz@
2016-12-27 06:50:03 +00:00
pgoyette
ee1d5b993e Decouple BIOHIST from other users of KERNHIST. 2016-12-27 04:12:34 +00:00
msaitoh
a60e71cc66 Fix PASID Control Register. 2016-12-27 03:51:55 +00:00
hikaru
e88860b723 Use the correct number of multicast addrs 2016-12-27 03:09:55 +00:00
kamil
271dedf8ff Replace in comment SIGPOLL with SIGIO
SIGPOLL is absent in NetBSD.

No functional change.
2016-12-27 02:20:46 +00:00
kamil
cd2d2d0c2e Rename SIGPOLL signal to SIGIO in documentation siginfo(2)
SIGPOLL is absent on NetBSD, it's emulated in linux_compat(8).
2016-12-27 01:44:06 +00:00
christos
d687232cdf fix merge conflict. 2016-12-27 01:31:06 +00:00
pgoyette
321ebd948b Add BIOHIST (and belatedly, UVMHIST) to the ALL kernels for i386 and amd64.
XXX Perhaps it should be added to others as well?  Perhaps just as comments?
2016-12-27 01:11:52 +00:00
rmind
f3628a9718 Convert NPF to the latest pfil(9) changes. 2016-12-26 23:59:47 +00:00
pgoyette
d05a55c879 #include giohist.h from proper location 2016-12-26 23:49:53 +00:00
rmind
ce5a9d0b35 Bump NPF_VERSION to 19. 2016-12-26 23:39:18 +00:00
christos
8dd9914047 pfil(9) improvements to handle address changes:
Add:
  PFIL_IFADDR     call on interface reconfig (mbuf is ioctl #)
  PFIL_IFNET      call on interface attach/detach (mbuf is PFIL_IFNET_*)

from rmind@
2016-12-26 23:21:49 +00:00
pgoyette
6a7e4606d5 Fix locking so we don't release the lock between the time we check the
tailq (for being non-empty) and the time we remove an entry.
2016-12-26 23:15:15 +00:00
pgoyette
7f0851cee1 Add a BIOHIST option. As mentioned on tech-kern. 2016-12-26 23:12:33 +00:00
rmind
40a029b661 npf_tcp_fsm: fix for the NPF_TCPS_SYN_RECEIVED state.
SYN re-transmission after SYN-ACK was seen by NPF should not terminate
the connection.  Thanks to: Alexander Kiselev <kiselev99 at gmail com>
2016-12-26 23:10:46 +00:00
christos
f75d79eb69 Sync NPF with the version on github: backport standalone NPF changes,
which allow us to create and run separate NPF instances. Minor fixes.
(from rmind@)
2016-12-26 23:05:05 +00:00
rin
879c3fe377 Remove wrong comment which was copy-and-pasted from somewhere. 2016-12-26 21:54:00 +00:00
rin
b72e1d6d7b Assert that the size of a trap handler does not exceed its room.
XXX
The debug exception is critical for ibm4xx. Since rev 1.24, we use the critical
trap hundler for it. Sorry for the wrong commit log for rev 1.24.
2016-12-26 21:25:08 +00:00
rmind
e8a8032d56 Fix kmem_free() in hashmap_remove(). 2016-12-26 21:16:06 +00:00
rin
f637bb05bd simplify logic; there must be no CPU usage when p_swtime is zero 2016-12-26 20:52:39 +00:00
rin
0000e45fe1 No need to have same trap handlers in trap_subr.S.
No functional changes.
2016-12-26 20:28:00 +00:00
rin
4a63f69046 We cannot have DDB and IPKDB at the same time. 2016-12-26 20:16:29 +00:00
scole
90ac05fa24 Fix some comments and add new comment explaining probable bug in cpu_switchto(). Not sure of a fix for it yet 2016-12-26 19:46:59 +00:00
cherry
ce8e005d0a Add copyright info.
After sufficient poking by Taylor.
2016-12-26 18:47:00 +00:00
cherry
5ce70471e3 xen dom0 SMP is now bootable again.
add the 'options MULTIPROCESSOR' in respective configs, but mark them
experimental - and thus disabled by default.
2016-12-26 18:04:31 +00:00
cherry
9db6d2188c the i386 and amd64 boot time msgbuf init code is nearly identical.
Unify them into x86/x86_machdep.c:init_x86_msgbuf()

Boot tested on GENERIC (i386, amd64), XEN3_DOM0 (amd64)
2016-12-26 17:54:06 +00:00
rjs
d2b805b7ce Remove more trailing whitespace. 2016-12-26 16:20:17 +00:00
wiz
a823b333c5 New sentence, new line. 2016-12-26 16:03:50 +00:00
flxd
a910009158 Add tcu(4) for TC-USB. 2016-12-26 15:59:26 +00:00
cherry
66362f2cd9 Make the msgbuf initialisation track closer to the original
pre-uvm_physseg.h one.

To see the exact changes with the original, line for line, do:

cvs rdiff -u -r1.772 -r1.775 src/sys/arch/i386/i386/machdep.c
2016-12-26 15:47:48 +00:00
christos
b074a61a87 - use UTC
- initialize tm_isdst
- use accpath to handle relative paths
2016-12-26 14:53:17 +00:00
cherry
c2337c4f0f remove spurious printf() 2016-12-26 13:55:13 +00:00
rjs
024e0031c7 Remove trailing whitespace, no functional change. 2016-12-26 13:28:59 +00:00
cherry
808dc02031 Make the msgbuf initialisation track closer to the original
pre-uvm_physseg.h one.

To see the exact changes with the original, line for line, do:

cvs diff -u -r 1.241 sys/arch/amd64/amd64/machdep.c
2016-12-26 12:54:42 +00:00
leot
2b0c6991fb Implement the `c' command in "interactive mode" that displays only commands
that match a specified string.

Reviewed by and thanks to <Riastradh>
2016-12-26 12:46:31 +00:00
rmind
50c1611937 Fix kmem_free() sizes in hashmap_rehash() and lpm_clear(). 2016-12-26 12:44:10 +00:00
abhinav
c95a15e71b Add missing full stop. 2016-12-26 10:16:43 +00:00
cherry
85a999caa3 In the MP case,
do not attempt to pmap_tlb_shootdown() after a pmap_kenter_ma() during
boot. pmap_tlb_shootdown() assumes post boot. Instead invalidate the
entry on the local CPU only.

XXX: to DTRT, probably this assumption needs re-examination.
XXX: The tradeoff is a (predicted) single word size comparison
     penalty, so perhaps a decision needs performance stats.
2016-12-26 08:53:11 +00:00
kamil
228925b54a Add new entry in TODO.ptrace
+ add support to read and write siginfo_t from and to tracee (reuse PT_IO?)

Sponsored by <The NetBSD Foundation>
2016-12-26 08:43:55 +00:00
skrll
244ca08653 Hold the interlock when calling cv_broadcast as per condvar(9) 2016-12-26 08:21:09 +00:00
skrll
fb73e3c1d6 Hold the interlock before cv_broadcast as per condvar(9) 2016-12-26 08:16:28 +00:00
msaitoh
416fb8dc73 0x10cb is not 82801H but 82801I. No functional change (The macro name
was changed but the vaule is the same).
2016-12-26 07:55:00 +00:00
msaitoh
0ff895f1bd Regen. 2016-12-26 07:53:31 +00:00
msaitoh
ec914f9d81 0x10cb is not 82801H(ICH8) but 82801I(ICH9). 2016-12-26 07:53:03 +00:00
ozaki-r
78a5509e4b Use psz/psref to hold ifa 2016-12-26 07:25:00 +00:00
kamil
c3bf78f467 Add new entry in TODO.ptrace
+ add ATF tests for PT_SYSCALL and PT_SYSCALLEMU

Sponsored by <The NetBSD Foundation>
2016-12-26 03:24:11 +00:00
christos
56b5e39636 Don't trash the logical $PWD if a component is a symlink; no other shell
does this.
2016-12-26 02:27:57 +00:00