Commit Graph

229110 Commits

Author SHA1 Message Date
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
mrg
3b01e49a4e disable KMS for now; it breaks UMS + (old) radeondrm. 2014-07-27 23:24:19 +00:00
riastradh
c9d79060eb callout_ack returns void, not bool. 2014-07-27 21:35:07 +00:00
skrll
aaedf76019 More fixes as a step towards ARM_MMU_EXTENDED on RPI.
- don't set CPU_CONTROL_SYST_ENABLE in arm11x6_setup for ARM_MMU_EXTENDED

- Use the new MMU defines for V6N

- pull in arm/cpuconf.h in vmparam s that VM_MAXUSER_ADDRESS gets set
  correctly.
2014-07-27 21:31:34 +00:00
palle
ad88cf8b64 sun4v: Update TODO list with relevant sun4v stuff 2014-07-27 17:46:43 +00:00
hannken
0ae0e6c566 Change procfs from hashlist to vcache.
- Key is (type, pid, fd)
- Remove argument "p" from procfs_allocvp().  It is only used
  when "type == PFSfd".  Lookup the proc with proc_find() when
  procfs_loadvnode() needs it.
- Use a vfs_vnode_iterator for procfs_revoke_vnodes().
2014-07-27 16:47:26 +00:00
palle
cd5ad6f488 sun4v: Introduce a new macro ALTERNATE_GLOBALS (matching NORMAL_GLOBALS). Two new helper macros ENABLE_INTERRUPTS and DISABLE_INTERRUPTS are also created. With these changes the GENERIC.UP kernel will reach rootmount on sun4v systems - ok martin@ 2014-07-27 16:37:47 +00:00
apb
91bc8fa990 Run scripts at build time via ${HOST_SH} 2014-07-27 14:24:17 +00:00
riastradh
6dedd04ff8 Linux work is queued in intr context, so block intrs when locking.
(Yes, this getting out of hand.)
2014-07-27 14:02:48 +00:00
martin
6f08ad218d Add usr/sbin/sysinst 2014-07-27 10:19:12 +00:00
skrll
8e15c75439 Prepare for ARM_MMU_EXTENDED 2014-07-27 09:04:09 +00:00
skrll
1a756f61d4 unifdef -U__OLD_INTERRUPT_CODE 2014-07-27 08:55:39 +00:00
apb
7bc384757f In rc.subr, add _have_rc_postprocessor function and use it instead of
inline tests like [ -n "${_rc_postprocessor_fd}" ]. The new function
performs a few new tests, including verifying that /etc/rc is still
running (using a new _rc_pid variable set by /etc/rc).

This is intended to deal with the case that a script run from /etc/rc
spawns a background process, then /etc/rc exits, but the background
process still has environment variables inherited from /etc/rc.

Fixes PR 46546.
2014-07-27 07:46:46 +00:00