Commit Graph

229072 Commits

Author SHA1 Message Date
matt
bf50eedd07 Don't use numeric constants for SPR. Use the symbolic name (SPR_PIR).
Add DBSR_BRT to KASSERT
2014-07-31 01:01:55 +00:00
ozaki-r
24c5a7a88b KNF 2014-07-31 00:58:02 +00:00
ozaki-r
1c41592329 Make local functions/variables static
No functional change.
2014-07-31 00:56:23 +00:00
joerg
76da57e7f2 Replace mfpir with mfspr r, 286. The Power ISA and GAS disagree on the
semantics of this instruction, so prefer the well defined replacement.
2014-07-30 23:56:01 +00:00
matt
e2c2dd7510 Fix diagnostic trap to be correct. PSL_EE@l would be sign-extended and this
could never match the result of the andi. before it.
2014-07-30 23:27:55 +00:00
joerg
d335762e53 Correct last, ha+l uses lis+addi, so use h+l. 2014-07-30 23:15:23 +00:00
joerg
efa045c031 Build 32bit constant with lis+ori, not lis+addi. The instructions
differ on the sign extension handling of the immediate.
2014-07-30 22:45:21 +00:00
skrll
d9fb42e132 Apply some errata workarounds 2014-07-30 20:52:18 +00:00
joerg
b5268e2784 Second argument of config_rootfound is void *, so discard const
explicitly.
2014-07-30 19:33:56 +00:00
roy
648f3093d2 Sync 2014-07-30 15:47:32 +00:00
roy
b15082aeb8 Import dhcpcd-6.4.3 with the following changes:
*  Correct DHCPv6 Prefix Delegation option decoding
  *  Poll interfaces on BSD for IFF_RUNNING if link state cannot be obtained
  *  Check for an IA to use in DHCPv6 lease validation
  *  Warn about exceeding IDGEN_RETRIES when a stable private address cannot
     be obtained
  *  Fix DHCP option overload handling, thanks to Tobias Stoeckmann
2014-07-30 15:44:09 +00:00
palle
9f7740bf7a Fix ALTERNATE_GLOBALS so it at least works on sun4u - using a scratch register is not a good idea... 2014-07-30 13:50:33 +00:00
ozaki-r
64d3f382b2 Call etherinit from ifinit1 only when it is required
This unbreaks the builds of kernels that don't build if_ethersubr.c.
2014-07-30 13:32:09 +00:00
skrll
e1c6069cc7 Use lower case. No functional change. 2014-07-30 13:31:17 +00:00
macallan
3b8bcbb861 fix tpyo 2014-07-30 12:45:44 +00:00
msaitoh
e55f8c9174 regen. 2014-07-30 12:35:11 +00:00
msaitoh
d28d31ae57 Add Intel Xeon E3-1200 v3 Host Bridge, DRAM. 2014-07-30 12:34:12 +00:00
joerg
edb8772400 pq3pci_config_addr_read is only used in a #if 0 block, so hide it under
the same condition.
2014-07-30 10:50:54 +00:00
rtr
ad6ae402db split PRU_CONNECT function out of pr_generic() usrreq switches and put
into seaparate functions

  xxx_listen(struct socket *, struct mbuf *)

  - always KASSERT(solocked(so)) and KASSERT(nam != NULL)
  - replace calls to pr_generic() with req = PRU_CONNECT with
    pr_connect()
  - rename existin {l2cap,sco,rfcomm}_connect() to
    {l2cap,sco,rfcomm}_connect_pcb() respectively to permit
    naming consistency with other protocols functions.
  - drop struct lwp * parameter from unp_connect() and at_pcbconnect()
    and use curlwp instead where appropriate.

patch reviewed by rmind
2014-07-30 10:04:25 +00:00
ozaki-r
eb39a9c3b5 Fix typo in comment 2014-07-30 07:44:00 +00:00
skrll
2240c051e2 Fixup some comments. 2014-07-30 07:20:34 +00:00
skrll
077796650e Trailing whitespace. 2014-07-30 07:11:57 +00:00
rtr
4e1efb1383 put boilerplate extraction of inpcb or in6pcb and tcpcb performed in tcp
usrreqs into a function that can be called instead of cut & pasting it
to every single usrreq function.

tcp_getpcb(struct socket *, struct inpcb **, struct in6pcb **, struct tcpcb **)

  * examines the family of the provided socket and fills in either inpcb
    or in6pcb and tcpcb.
  * if the pcb is not present for the family of the socket EINVAL is
    returned, if the family is not AF_INET{,6} EAFNOSUPPORT is returned.

signature provided by and patch reviewed by rmind
2014-07-30 06:53:53 +00:00
joerg
1c7643fc59 GC openpic_read. 2014-07-29 23:35:00 +00:00
skrll
d28c36d4bc Convert cobalt to generic mips bus_dma. 2014-07-29 21:21:43 +00:00
apb
8a948b4343 In the background subshell that flushes partial output every few
seconds, detach from the controlling terminal.  Without this, pressing
control-T (to send SIGINFO from the terminal) would almost always result
in the sleep process printing "about N seconds left of the original 3",
which is useless information.
2014-07-29 20:39:16 +00:00
joerg
8006b1fe1b Official PPC ISA documentation has no SP register, so use R1 directly. 2014-07-29 19:15:47 +00:00
riastradh
e365af9461 Linux wq locks are taken with spin locks held, so need IPL_VM. 2014-07-29 17:36:06 +00:00
joerg
0e3c494bd7 cmpl wants four operands, so use the shorter cmplw instead. 2014-07-29 16:19:45 +00:00
reinoud
e3b6b3457e Posix requires the va_size of a symlink to be pathlength for symbolic links.
This fixes yet another atf case.
2014-07-29 15:48:22 +00:00
reinoud
60e6f474d5 Fix debug printout of udf_write_metadata_partition_spacetable(), it referred
to an old variable.
2014-07-29 15:36:43 +00:00
reinoud
a72b8dae23 Access time should only be set on accessing the data or messing with the
contents, not on inode access rights and ownership changes. Should address
PR kern/49033 for UDF.

Test results now come clean for bugs related to this issue in the ATF.
2014-07-29 11:10:12 +00:00
gson
b6f40f55e0 Mark the udf_renamerace test case (but not udf_renamerace_dirs) as an
expected failure again, now with a reference to PR kern/49046.
Since the test only fails part of the time, force failure to
avoid failure reports reports due to unexpected success.
2014-07-29 09:15:48 +00:00
rjs
5a86513005 Add microcode file missing from update. 2014-07-29 08:36:13 +00:00
skrll
59c44f4cb1 Remove very old and incorrect comment. 2014-07-29 07:01:02 +00:00
ozaki-r
57295d2a01 Use IFADDR_FOREACH 2014-07-29 05:56:58 +00:00
ozaki-r
b6f0a6fc3d Use if_free instead of free 2014-07-29 01:35:44 +00:00
rjs
4f27f35b7f Update radeon microcode. 2014-07-28 23:09:06 +00:00
mrg
b023f79416 update for reality. 2014-07-28 22:12:16 +00:00
matt
55fb2afcd5 rs6000/sysv.h must be after netbsd.h so we use the ppc CC1_SPEC 2014-07-28 20:18:54 +00:00
matt
154c7bc749 Fix parenthesis on __ha macro 2014-07-28 17:28:13 +00:00
ozaki-r
a2697bde55 Add a mutex for global variables of if_ethersubr.c
To initialize the mutex, we introduce etherinit that is called from ifinit1.
2014-07-28 14:24:48 +00:00
riastradh
93aca6c17d Take rdev->fence_lock around the wakeup. 2014-07-28 12:59:39 +00:00
joerg
ceedb5b733 GCC sets up u?int_fast8_t to be int, so be consistent with it. 2014-07-28 11:22:46 +00:00
rtr
314f886fcb add missing KASSERT()s at the top of sockin_usrreq(), req shall not be
either of these operations.

>       KASSERT(req != PRU_BIND);
>       KASSERT(req != PRU_LISTEN);
2014-07-28 10:09:51 +00:00
joerg
18fd8dcd8d SPEC_MAXOFFSET_T doesn't exist anywhere else, so don't use it here
either.
2014-07-28 10:01:23 +00:00
christos
be225fdda5 PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2) 2014-07-28 08:10:23 +00:00
alnsn
b67137b2bd Enable net.bpf.jit only if MODULAR and BPFJIT. Tweak a warning about postponed
jit activation.
2014-07-28 07:32:46 +00:00
ozaki-r
41cb64aa47 Use two different mutexes for tx and rx
This change splits the mutex of wm into two: one for tx and the other
for rx. By doing so, lock contentions can be reduced. We lock both for
other operations that need locking, e.g., init, stop and ioctl.

The modification doesn't change the behavior of the driver.
2014-07-28 06:36:09 +00:00
riastradh
de33f07ea6 radeon depends on firmload.
Noted by rjs@.
2014-07-28 00:02:50 +00:00