Commit Graph

229248 Commits

Author SHA1 Message Date
joerg
fb33f6451a Use cmpwi/cmpw 2014-08-06 15:23:07 +00:00
joerg
3ecc51c866 Use cmpwi. 2014-08-06 15:11:17 +00:00
riastradh
2be387b092 Whack some nouveau moles. 2014-08-06 15:01:33 +00:00
martin
1c774aacb6 Bump all image sizes slightly again 2014-08-06 14:23:53 +00:00
joerg
5da0d81e65 Remove duplicated initializer. 2014-08-06 14:23:52 +00:00
isaki
78755f4253 Remove unused variable. 2014-08-06 14:10:42 +00:00
riastradh
6727e543c7 Add rounddown_pow_of_two. 2014-08-06 14:05:08 +00:00
martin
7d1de5ea18 Bump ramdisksize even slightly more 2014-08-06 13:57:15 +00:00
joerg
11bf7fa606 Give non-standard main in a freestanding environment a prototype. 2014-08-06 13:55:08 +00:00
riastradh
3a03cf9077 Add files.nouveau to files.drmkms_pci. 2014-08-06 13:54:40 +00:00
riastradh
1fcac2dc4c Fix format string and unused variables. 2014-08-06 13:54:20 +00:00
riastradh
162a6a8fad Fix sense of drm prime conditional. 2014-08-06 13:54:10 +00:00
riastradh
786d8267dd More Linux goo. 2014-08-06 13:53:12 +00:00
riastradh
ab959fecb3 Add Linux printk cruft. 2014-08-06 13:52:33 +00:00
riastradh
9c9effa110 Add bogus Linux platform_device stub. 2014-08-06 13:52:22 +00:00
riastradh
7ab666e207 Add Linux PCI DMA stuff and NVIDIA vendor. 2014-08-06 13:52:06 +00:00
riastradh
0a708e1d5b Add Linux lockdep cruft. 2014-08-06 13:51:49 +00:00
riastradh
d9b36ad153 Add Linux i2c stubs. 2014-08-06 13:51:37 +00:00
riastradh
79c21c0813 Omit needless firmware handle from Linux struct firmware. 2014-08-06 13:51:12 +00:00
riastradh
f4c69fcf8d Add Linux DMA_BIT_MASK. 2014-08-06 13:50:53 +00:00
riastradh
5cde205f49 Add Linux __ffs64. 2014-08-06 13:50:38 +00:00
riastradh
df0bf6cabb Include moduleparam and export in <linux/module.h> as users expect. 2014-08-06 13:49:33 +00:00
riastradh
dccb31fbc1 Add local support files for nouveau. 2014-08-06 13:36:07 +00:00
riastradh
9cd3310279 Snapshot of nouveau. Doesn't build yet, but progress. 2014-08-06 13:35:13 +00:00
riastradh
d74a76853b merge re-imported nouveau 2014-08-06 12:52:19 +00:00
riastradh
9c88fc4ef0 Tweak fence locking again with a broader view of the code paths. 2014-08-06 12:47:13 +00:00
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