Commit Graph

229110 Commits

Author SHA1 Message Date
rtr
4a16f1ce0d remove KASSERT(nam != NULL) from ddp_send() the following code makes
the validity of it questionable.  we'll investigate later whether it
can be put back and the code simplified.
2014-08-07 01:02:30 +00:00
jmcneill
51a894e61c provide a setmode callback for genfb; with this change, vt switching in and out of X works 2014-08-06 22:16:38 +00:00
riastradh
e4e8529304 radeon_fence_signaled needs to take the fence lock. 2014-08-06 22:12:51 +00:00
joerg
eb6cc7528a Consistently define WARN in a way that passes format string checks, i.e.
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
apb
7d8209d252 Update tzdata2netbsd for tzdata2014f. 2014-08-06 19:41:41 +00:00
apb
b9f08c249a zoneinfo: Import tzdata2014f. [apb 20140806] 2014-08-06 19:28:20 +00:00
apb
ff4b1d5a3f tzcode2014f/tzdata2014f has been released. We have updated tzdata. 2014-08-06 19:27:58 +00:00
apb
64c260d8f5 New files that appeared in tzdata2014f, plus the
leapseconds file that has existed for a long time
but was not installed before today.
2014-08-06 19:24:00 +00:00
apb
ea1a8a0fba Merge tzdata2014f.
The following new time zones are added:
    Asia/Chita Asia/Srednekolymsk
The following new file is installed:
    zone1970.tab
The following existing file is now installed, whereas we previously
did not install it:
    leapseconds
2014-08-06 19:18:05 +00:00
apb
8c62af36e2 Import tzdata2014f from ftp://ftp.iana.org/tz/releases/tzdata2014f.tar.gz
Summary of changes in tzdata2014f (2014-08-05 17:42:36 -0700):
  * Russia will subtract an hour from most of its time zones on 2014-10-26
    at 02:00 local time.  There are some exception.
  * The following new zones are added to deal with changes in Russia:
    Asia/Chita and Asia/Srednekolymsk.
  * Australian eastern time zone abbreviations are now AEST/AEDT not EST,
    and similarly for the other Australian zones.
  * Asia/Novokuznetsk shifts from NOVT to KRAT (remaining on UTC+7)
    effective 2014-10-26 at 02:00 local time.
  * The time zone abbreviation for Xinjiang Time (observed in Ürümqi)
    has been changed from URUT to XJT.
  * Prefer MSK/MSD for Moscow time in Russia, even in other cities.
  * Change time zone abbreviations in (western) Samoa to use "ST" and
    "DT" suffixes, as this is more likely to match common practice.
  * America/Metlakatla now uses PST, not MeST, to abbreviate its time zone.
  * Time zone abbreviations have been updated for Japan's two time
    zones used 1896-1937.
  * China's five zones have been simplified to two, since the post-1970
    differences in the other three seem to have been imaginary.  The
    zones Asia/Harbin, Asia/Chongqing, and Asia/Kashgar have been
    removed; backwards-compatibility links still work, albeit with
    different behaviors for time stamps before May 1980.  Asia/Urumqi's
    1980 transition to UTC+8 has been removed, so that it is now at
    UTC+6 and not UTC+8.
  * Some zones have been turned into links, when they differed from existing
    zones only for older UTC offsets where the data were likely invented.
    The affected zones are: Africa/Bamako, Africa/Banjul,
    Africa/Conakry, Africa/Dakar, Africa/Freetown, Africa/Lome,
    Africa/Nouakchott, Africa/Ouagadougou, Africa/Sao_Tome, and
    Atlantic/St_Helena.  This also affects the backwards-compatibility
    link Africa/Timbuktu.
  * Asia/Shanghai's pre-standard-time UT offset has been changed from
    8:05:57 to 8:05:43, the location of Xujiahui Observatory.  Its
    transition to standard time has been changed from 1928 to 1901.
  * Asia/Taipei switched to JWST on 1896-01-01, then to JST on 1937-10-01,
    then to CST on 1945-09-21 at 01:00, and did not observe DST in 1945.
    In 1946 it observed DST from 05-15 through 09-30; in 1947
    from 04-15 through 10-31; and in 1979 from 07-01 through 09-30.
  * Asia/Riyadh's transition to standard time is now 1947-03-14, not 1950.
  * Europe/Helsinki's 1942 fall-back transition was 1942-10-04 at 01:00, not
    1942-10-03 at 00:00.
  * Pacific/Pago_Pago has been changed from UTC-11:30 to UTC-11 for the period
    from 1911 to 1950.
  * Pacific/Chatham has been changed to New Zealand standard time plus
    45 minutes for the period before 1957, reflecting a 1956 remark in
    the New Zealand parliament.
  * Europe/Budapest has several pre-1946 corrections.
  * Africa/Accra is now assumed to have observed DST from 1920 through 1935.
  * Time in Russia before 1927 or so has been corrected by a few seconds in
    the following zones: Europe/Moscow, Asia/Irkutsk, Asia/Tbilisi,
    Asia/Tashkent, Asia/Vladivostok, Asia/Yekaterinburg, Europe/Helsinki, and
    Europe/Riga.
  * A new file 'zone1970.tab' supersedes 'zone.tab' in the installed data.
    The new file's extended format allows multiple country codes per zone.
    The older file is still installed but is deprecated; its format is
    not changing and it will still be distributed for a while, but new
    applications should use the new file.
  * The file 'iso3166.tab' is planned to switch from ASCII to UTF-8.
    It is still ASCII now, but commentary about the switch has been added.
  * Changes affecting documentation and commentary.
2014-08-06 18:35:33 +00:00
joerg
9c83467857 Use cmpwi. 2014-08-06 15:38:07 +00:00
apb
146f7f2fe4 Wrap CTFCONVERT invocations in ${defined(CTFCONVERT):? ... :}
so it performs the test at the time the rule is invoked.  We can't
use a ".if defined" test because that would be tested at the time the
sys.mk file is parsed, which may be before CTFCONVERT has been set by
bsd.own.mk.

Remove the now-unnecessary assignment "CTFCONVERT ?= : ctfconvert",
and the similar assignment to CTFMERGE.  Now the build logs are not
cluttered by many unnecessary invocations of the ": ctfconvert ..."
2014-08-06 15:23:48 +00:00
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