Commit Graph

229072 Commits

Author SHA1 Message Date
riastradh
fcd768afa5 Reimport Nouveau from Linux 3.15.
This renames .c files to avoid basename clashes, and adds RCS IDs.

Generated using nouveau2netbsd.
2014-08-06 12:36:23 +00:00
joerg
0d704fc1a2 Make it a warning, otherwise the missing noreturn will fail the build. 2014-08-06 12:34:42 +00:00
apb
cb95afc6e0 When searching for a default MACHINE_ARCH for a given MACHINE,
don't break out of the loop too early.
2014-08-06 12:29:13 +00:00
martin
8b3edf2fa9 Do not install message catalogs 2014-08-06 12:16:12 +00:00
martin
af7c36dc7a Punt - backout sysinst message catlogs 2014-08-06 12:15:01 +00:00
apb
9e8101899d To make pax use ${TOOL_GZIP}, we need to pass "--use-compress-program
${TOOL_GZIP}" on the command line, and refrain from passing "-z".  If
passed "-z", pax will use plain "gzip", ignoring --use-compress-program.
2014-08-06 11:41:18 +00:00
apb
e4ed3c4254 Introduce and use GZIP_FLAGS variable.
The previous use of GZIP="-9 ${GZIP_N_FLAG}" happened to work, but
the new use of GZIP=${GZIP_FLAGS:Q} is safer.

For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-06 10:41:13 +00:00
apb
5a18c2965e Introduce and use GZIP_FLAGS variable, to fix a quoting error
in the way we tried to use GZIP="-9 ${GZIP_N_FLAG}".
For consistency, also use GZIP_FLAGS elesehere in this file.
2014-08-06 10:37:30 +00:00
martin
169405fcaa Remove a few menu entries if raid/lvm/cgd/gpt are not available. 2014-08-06 10:03:49 +00:00
martin
438e08f560 Make sysinst use the catalog files installed in /usr/share/sysinst (if
available), fall back to . if not, or use build-in english otherwise.
2014-08-06 09:11:46 +00:00
martin
8fe4ed8e41 Sigh - move sysinst catalog files (which differ per arch, ouch!)
to md lists.
2014-08-06 08:23:43 +00:00
msaitoh
27660019d3 Don't check SWSM_SMBI bit if WM_F_LOCK_SWSM isn't set. Fix a problem when
using vmware with e1000"e". With e1000e which is regarded as 82574L,
wm_gmii_init() fails with "could not acquire SWSM SMBI" message without
this change. This problem doesn't occur with real 82574L card.

TODO:
 - Change the function name. It's difficult to understand. The name was
  from old Intel original e1000 driver.
 - Read Intel original driver again and check ALL location where semaphore is
  used.
2014-08-06 02:55:50 +00:00
jmcneill
7078fc61d4 bus_dmamap_sync for rx descriptors too, derived from openbsd driver 2014-08-05 21:54:39 +00:00
riastradh
fd839182c7 Use surface_width/height, not fb_width/height.
This matches the sizes the upstream code uses.
2014-08-05 20:28:56 +00:00
riastradh
e004225d1e Tweak heuristic for placing __KERNEL_RCSID in nouveau2netbsd. 2014-08-05 19:49:13 +00:00
martin
186f554f7e Add sysinst message files 2014-08-05 18:46:21 +00:00
martin
50357e6f8b Install language files 2014-08-05 18:46:04 +00:00
martin
10683121fc Add a directory for sysinst language files 2014-08-05 18:45:35 +00:00
msaitoh
9154c0af4c Add some TODOs in comment. 2014-08-05 18:13:46 +00:00
martin
330a17b1e2 Update all ramdisk sizes 2014-08-05 18:08:02 +00:00
joerg
c30561b5e9 Don't use non-literal strings as format strings.
XXX Switch to strlcpy.
2014-08-05 17:55:20 +00:00
riastradh
d630126e7b Add kludgey nouveau2netbsd script in preparation for re-import. 2014-08-05 17:39:07 +00:00
jmcneill
a412265c72 Sprinkle bus_dmamap_sync to make this work on my Thinkpad T61 (amd64)
with 4GB RAM.
2014-08-05 17:25:16 +00:00
joerg
39a11df3d1 The argument of stwu is displacement(register), but GAS translates the
%rX mnemonic very early into plain X, so it seemingly accepts
%register(displacement) as well. Be consistent in the formatting for
human consumption.
2014-08-05 16:28:39 +00:00
martin
6498d1b893 Adapt to bigger ramdisk image 2014-08-05 16:22:01 +00:00
martin
6469ed8dba Bump ramdisk size 2014-08-05 16:18:16 +00:00
martin
cf74145148 Adapt to grown ramdisk image size 2014-08-05 15:52:38 +00:00
apb
2e4737e211 Typo in comment 2014-08-05 15:51:23 +00:00
apb
0b92f0fef9 Ue ${GZIP_N_FLAG} instead of -n when setting GZIPFLAGS or GZIP_FLAGS.
This will allow -nT instead of just -n to be passed to pigz.
2014-08-05 15:45:49 +00:00
apb
f78c710fb2 Pass GZIP="-9 ${GZIP_N_FLAG}" instead of GZIP=-9n
in the environmentto commands that invoke ${TOOL_GZIP}.
This will allow them to use -nT instead of just -n with pigz.
2014-08-05 15:43:50 +00:00
apb
71da667fc9 Use ${TOOL_GZIP_N} instead of ${TOOL_GZIP} -n, and similarly
use ${TOOL_GZIP_N} -9 instead of ${TOOL_GZIP} -9n, etc.

This will pass -nT instead of just -n if the gzip program is
actually pigz.
2014-08-05 15:40:58 +00:00
apb
6b9469411b Provide and document GZIP_N_FLAG and TOOL_GZIP_N.
These may be used to pass "-nT" instead of just "-n"
when the gzip program is actually pigz.
2014-08-05 15:25:20 +00:00
riastradh
19aeab521f Rework minherit(2) man page into a table.
XXX Do we not guarantee page-granularity inheritance?  Cursory glance
at uvm suggests we do -- can we nix the caveats about regions vs
pages?
2014-08-05 15:01:03 +00:00
martin
3d52f18626 Bump ramdisk size 2014-08-05 14:58:01 +00:00
rtr
4f5d320595 whitespace 2014-08-05 14:02:42 +00:00
isaki
10e08c465b Support a 'switch' command.
It displays/modifies some SRAM parameters on X680x0, like as
memswitch(1) or Human68k's SWITCH.X .
It makes easy to change the boot devices or correct the inconsistency
of SRAM/real memory size.

sample usage:
 > switch show         .. show all supported parameters
 > switch boot=std     .. set boot order to 'STD'
 > switch memory=12    .. set memory size to 12MB
2014-08-05 13:49:04 +00:00
martin
419ce0d49f Add a few missing files 2014-08-05 13:26:10 +00:00
skrll
b69cb7b037 Remove #ifdef DIAGNOSTIC around sc from the root interrupt abort methods
now it's always used.
2014-08-05 10:33:46 +00:00
rtr
1e7c4c7b77 actually use the passed in struct lwp *l instead of curlwp in unp_connect() 2014-08-05 08:52:10 +00:00
hannken
ea4bd7d40f Change adosfs from hashlist to vcache.
- point ap->block to real file header block for hard links.
2014-08-05 08:50:54 +00:00
martin
e0a0745c3d Avoid comparision between array and NULL 2014-08-05 08:39:39 +00:00
skrll
85254c5b77 Prevent the root hub sending updates once the root interrupt abort is
called.
2014-08-05 08:33:50 +00:00
christos
f70ccee6df Fix overflow check. From Kamil Rytarowski. 2014-08-05 08:20:02 +00:00
rtr
651e5bd3f8 split PRU_SEND function out of pr_generic() usrreq switches and put into
separate functions

   xxx_send(struct socket *, struct mbuf *, struct mbuf *,
       struct mbuf *, struct lwp *)

  - always KASSERT(solocked(so)) even if not implemented

  - replace calls to pr_generic() with req = PRU_SEND with calls to
    pr_send()

rename existing functions that operate on PCB for consistency (and to
free up their names for xxx_send() PRUs

  - l2cap_send() -> l2cap_send_pcb()
  - sco_send() -> sco_send_pcb()
  - rfcomm_send() -> rfcomm_send_pcb()

patch reviewed by rmind
2014-08-05 07:55:31 +00:00
dholland
0b2a19e1a1 Remove "tags=nodiff" from /var/log/authlog as suggested by uebayasi@;
part of PR 49031.
2014-08-05 07:34:52 +00:00
rtr
8e80ae3c97 get_tcppcb() is nearly always called upon entry to usrreqs so
KASSERT(solocked(so)) inside it and remove the redundant KASSERT
everywhere we are using tcp_getpcb()
2014-08-05 07:10:41 +00:00
skrll
d6ada9d4ac Whitespace. 2014-08-05 06:35:55 +00:00
skrll
9d539301e4 Simplify the freeing of the interrupt pipe transfer. Inspired by OpenBSD. 2014-08-05 06:35:24 +00:00
skrll
6a77b28bb3 Don't set __NO_STRICT_ALIGNMENT as armv[67] ldm/stm have alignment
restrictions.

PR/49020: Writing to tap device may cause panic on RPI

Discussed with matt@
2014-08-05 06:24:56 +00:00
rtr
ce6a5ff64f revert the removal of struct lwp * parameter from bind, listen and connect
user requests.

this should resolve the issue relating to nfs client hangs presented
recently by wiz on current-users@
2014-08-05 05:24:26 +00:00