236671 Commits

Author SHA1 Message Date
msaitoh
4bfdb02062 Cleanup. 2015-07-15 07:40:54 +00:00
msaitoh
d8f3e14a01 Enable MSI/MSI-X feature by default. 2015-07-15 07:36:01 +00:00
msaitoh
5514fd9919 Configure ioapic before lapic because lapic(lapic_set_lvt()) checks the
existence of ioapic. This change fixes a problem that some machines hang
after attaching ehci (little after writing EHCI_USBINTR to enable interrupt).
Even though cold == 1, LAPIC_LVINT0 was not set as masked. Perhaps it's the
reason of the problem.

This problem was observed on SuperMicro X10SLX-F, X10SDV-TLN4F and
Shuttle DS57U without wm(4) driver.
2015-07-15 07:29:13 +00:00
msaitoh
16679a817a - Add lapic_dump() to print lapic's setting.
- Add mpacpi_dump() to dump mp_intrs[].
2015-07-15 04:49:02 +00:00
msaitoh
500e70284d Add comment (ACPI_WAKEUP_ADDR). 2015-07-15 04:10:02 +00:00
msaitoh
f9541a3c8d Don't use MSI on 8257[12] because of errata 63
"Byte Enables 2 and 3 are not set on MSI writes".
2015-07-15 04:03:16 +00:00
msaitoh
5b4da34f75 Initialize some members little earlier. It's not a bug. 2015-07-15 03:54:53 +00:00
manu
45ab7f236a Fix soft NFS force unmount
For many reasons, forcibly unmounting a soft NFS mount could hang forever.
Here are the fixes:
- Introduce decents timeouts in operation that awaited NFS server reply.
- On timeout, fails operations on soft mounts with EIO.
- Introduce NFSMNT_DISMNTFORCE to let the filesystem know that a
  force unmount is ongoing. This causes timeouts to be reduced and
  prevents the NFS client to attempt reconnecting to the NFS server.

Also fix a race condition where some asynchronous I/O could reference
destroyed mount structures. We fix this by awaiting asynchronous I/O
to drain before proceeding.

Reviewed by Chuck Silvers.
2015-07-15 03:28:55 +00:00
ginsbach
d2fb39874a Set S_WDAY state for %u (same as it is set for %w). 2015-07-14 18:07:17 +00:00
ozaki-r
f2abd6a2e3 Move rt_gwroute operation out of stripoutput
We should do it in ip_hresolv_needed.
2015-07-14 08:44:59 +00:00
ozaki-r
cd4fff4016 Remove unnecessary if_type setting
if_type is set as IFT_SLIP below.
2015-07-14 08:15:41 +00:00
ozaki-r
0317b9d373 KNF 2015-07-14 08:06:44 +00:00
ginsbach
ad43142fb9 Switch to using isleap() and isleap_sum() macros from <tzfile.h> to be
consistent with strftime.c and localtime.c.
2015-07-13 17:45:16 +00:00
shm
a553de09a2 PR#49876 - fix typos, from Dieter Roelants. 2015-07-13 13:57:44 +00:00
rmind
87af5b04d3 - npfvar_get_type1: check for NULL first.
- Minor fix for the npf(7) man page.
2015-07-12 23:54:43 +00:00
rmind
810dfeba15 npfkern: eliminate INACTIVE_ID and use 0 for unregistered interfaces. 2015-07-12 23:51:53 +00:00
martin
ca5048732f Use the right type in sizeof() for copyin() in adjtime 2015-07-12 14:06:52 +00:00
christos
ea87266e4c From William Orr:
- add long options
- print usage on invalid command line args
2015-07-12 11:40:52 +00:00
christos
2f4b8279f1 simplify, comment out testing entries 2015-07-12 11:27:52 +00:00
hannken
50c0a5b05d Operations getnewvnode() and ungetnewvnode() have been replaced with vcache.
- Remove now obsolete functions getnewvnode() and ungetnewvnode().
- Document vcache operations.

Welcome to 7.99.20
2015-07-12 08:11:27 +00:00
mlelstv
dc633ced7d remove duplicate variable initializations. 2015-07-12 05:57:06 +00:00
christos
d305019850 add missing lint library 2015-07-11 22:20:20 +00:00
macallan
209dfc0422 include files.sdmmc 2015-07-11 19:01:17 +00:00
macallan
ede3c3ba87 - get rid of private bus space in ingenic_com.c
- move com to apbus
- attach the other UARTs
2015-07-11 19:00:04 +00:00
macallan
1e82b93929 fix tpyos 2015-07-11 18:54:03 +00:00
wiz
369f64d0b0 Add more formatting. 2015-07-11 17:36:09 +00:00
kamil
1759837355 Use more macros for symbolic constants
This change was suggested by <riastradh> in PR xsrc/49912
The change idea was approved by <wiz>
2015-07-11 17:24:13 +00:00
kamil
f5c40520dc Correct mandoc warnings and errors
This change should be no visible to users.
2015-07-11 16:47:49 +00:00
christos
68ac8e89d0 remove local copy of tzfile.h 2015-07-11 16:41:08 +00:00
christos
4701a51d4b updatre with latest from tzcode. 2015-07-11 16:40:53 +00:00
christos
860f4cb2a2 another one bites the dust 2015-07-11 16:40:13 +00:00
christos
b999beb0fa - don't copy the man pages anymore. they have been converted to mdoc
format.
- don't delete extra files, but mention the 'import' process
2015-07-11 16:09:15 +00:00
wiz
cd36512e99 Add missing Fc. 2015-07-11 15:51:33 +00:00
wiz
2aaae60f41 Add missing Fc which broke man page on the web. Remove superfluous Pp. 2015-07-11 15:50:56 +00:00
wiz
e3c29bc5b2 Avoid Pq. 2015-07-11 15:42:31 +00:00
riastradh
d06c586af2 Elaborate documentation of libc symbol rules.
- Say `provide' for what libc does to a symbol.
- Say `define' for what source code does to a symbol or macro.
- Quote code fragments rather than just talking about them.
- Qualify ELF symbols as such.
- List provided ELF symbols in tables rather than in prose.
2015-07-11 15:23:57 +00:00
riastradh
278ee21a56 Add section headings. Match order in table of contents. 2015-07-11 14:29:50 +00:00
kamil
152b443026 Clean-up documentation of login.conf(5)
Remove redundant word "limit" from sentences "Maximum ...".
Note that vmemoryuse might specify both maximum and current limits.
Remove redundant 'in bytes' from the description of vmemoryuse, it's noted
in the next section describing the argument type 'size'.

Changes inspired by <riastradh> in PR xsrc/49912
2015-07-11 14:18:08 +00:00
mlelstv
bb6bbfe83f mp->mnt_stat.f_flag is never set. Use the mnt_flag directly.
This will now actually prevent the 'bad dir' panic if the filesystem
is read-only.
2015-07-11 11:04:48 +00:00
kamil
f874bd0561 Improve spelling: regsiter -> register
This change is non-functional.

Approved by <riastradh>, <pgoyette>
2015-07-11 10:32:45 +00:00
kamil
823ff58d56 Improve spelling: regsister -> register
This change is non-functional.

Approved by <riastradh>, <pgoyette>
2015-07-11 10:15:33 +00:00
wiz
3834643e6b Bump date for previous. 2015-07-11 09:54:06 +00:00
mlelstv
920b679d14 Mark disklabel only invalid on the last close. Existing openers might see
temporarily invalid data while it is re-read.
2015-07-11 09:45:16 +00:00
kamil
3867e136be Clean-up resources (sys/sys/resource.h) usage
Add vmemoryuse to login_cap(3)
Document vmemoryuse in login.conf(5)
Document proc.pid.rlimit.vmemoryuse and proc.pid.rlimit.maxlwp in sysctl(7)
Document SBSIZE, AS, VMEM and NTHR in share/doc/psd/05.sysman/1.6.t

Reviewed by <riastradh>
Approved by <pgoyette>

Tested by Dominik Bialy

Closes PR xsrc/49912
2015-07-11 09:21:22 +00:00
njoly
fc005ae43f Handle case where compat_ifioctl() is called with ocmd != cmd, as found in
compat Linux. Do not crash by ensuring that oifr is correctly set.

Fix crash reported by Robert Swindells on tech-kern@.
2015-07-11 07:43:32 +00:00
dholland
887da82a3d Comma of result is (though increasingly common) not formally recognized
grammar[,;] use a semicolon.
2015-07-11 06:40:37 +00:00
msaitoh
4e5f60d9d5 Use correct E[O]{READ,WRITE} function. 2015-07-11 03:06:25 +00:00
nat
8476b0d2f1 Wrap up calls to softint_schedule in kpeempt_[dis/en]able.
Addresses PR kern/48459.

This commit was approved by christos@
2015-07-10 22:03:12 +00:00
nat
79728ed766 Wrap up calls to sc_intr in kpreempt[en/dis]able.
This commit was approved by christos@
2015-07-10 21:58:56 +00:00
kardel
36c7e56938 backport fix for bug 2867 - ntpd with autokey active crashed by 'ntpq -crv' 2015-07-10 21:31:19 +00:00