Commit Graph

201457 Commits

Author SHA1 Message Date
matt
dc3cdd31a6 Only do the long double tests if __HAVE_LONG_DOUBLE is defined 2011-06-04 22:55:57 +00:00
haad
d2ca1cbffe Fix problem with overflowing constant definition
t_strtol.c:95: warning: overflow in implicit constant conversion
2011-06-04 22:49:49 +00:00
jruoho
7749bedf08 For completenesses sake, note, in 2011, /etc/floppytab. 2011-06-04 18:27:39 +00:00
jruoho
737bec53a6 Change some printfs to aprint_debug(9). 2011-06-04 18:03:10 +00:00
matt
81ee56f362 Make sure the kernel is compiled with -msdata=none since it uses %r2 and %r13
for other uses.
2011-06-04 17:51:09 +00:00
jruoho
9817cc1689 Until PR bin/44837 is fixed, use atf_tc_fail("anticipated error did not
occur") even if the bug did not trigger.
2011-06-04 15:51:45 +00:00
jruoho
82e825d83e Do not fail if readdir(3) fails, probably due fts(3). 2011-06-04 15:45:55 +00:00
christos
093aa7c0f7 Make NAN tests consistent with other platforms and FreeBSD. 2011-06-04 15:45:41 +00:00
jruoho
2f29e26662 Add some tests for strtol(3). 2011-06-04 14:56:57 +00:00
christos
85d18e0c63 remove string placed by error(1) 2011-06-04 14:18:10 +00:00
pgoyette
dec626b5e2 Since there is no longer a value-avg property, remove the code that
extracts it.
2011-06-04 13:29:02 +00:00
pgoyette
f02db4b78c Update to remove value_avg from list of properties. 2011-06-04 13:27:57 +00:00
pgoyette
41f31ea216 Remove ability to the value_avg since it no longer exists 2011-06-04 13:26:51 +00:00
pgoyette
7d8bd19e5d Update to use the new name for the sensor's private data.
XXX This driver still uses the sensor's value_min for an unrelated
XXX purpose, but changing that will have to wait for another day.
2011-06-04 13:25:56 +00:00
pgoyette
77b2e2fc09 Since nothing actually records or maintains an average sensor value,
remove value_avg from the prop_dict.  We can't completely remove it
because there's one driver that uses this field for its own private
purposes, so for now we just rename the member.
2011-06-04 13:24:33 +00:00
jruoho
22f449ee0a Add -ffloat-store add test lib/45020 also with __isnanl(). 2011-06-04 11:12:28 +00:00
jruoho
9478bd9e7d Add more strings to the "infinity test". 2011-06-04 10:16:59 +00:00
jruoho
27898bce9a Verify PR lib/45020. Fails at least on amd64. 2011-06-04 09:57:33 +00:00
jruoho
af2ef37331 Add some tests for stat(2) (or tests that use stat(2)). 2011-06-04 09:29:43 +00:00
dholland
4cb0f7967a fix a couple typos 2011-06-04 05:30:45 +00:00
tsutsui
5fbf2258b9 Handle implicit library dependency for static builds:
- libheimbase is required by libkrb5
 - libwind is required by libhx509
2011-06-04 02:08:50 +00:00
pgoyette
483caa9fa0 Document new options in the proplist 2011-06-04 02:03:31 +00:00
pgoyette
40ef889e08 Enable creation of value_{max,min,avg} entries via the proplist, as well
as setting the ENVSYS_FPERCENT flag
2011-06-04 02:02:55 +00:00
tsutsui
47f361e87a Split device_t/softc. pmax is tested on GXemul.
Compile test only for alpha and vax.

XXX: alpha/tc/tcasic.c calls tcattach() via config_found(9), but
XXX: pmax/tc/tcbus.c and vax/vsa/tc_vsbus.c calls tcattach() directly.
XXX: It looks horrible...
2011-06-04 01:57:34 +00:00
tsutsui
def926001b Split device_t/softc. pmax is tested on GXemul, compile test only for alpha. 2011-06-04 01:49:43 +00:00
tsutsui
eaf783ae5b Split device_t/softc. Tested on GXemul. 2011-06-04 01:43:56 +00:00
tsutsui
03335d0bdf - split device_t/softc
- make sure that *(dtdv_handler)() registered via dt_establish_handler()
  takes softc, not device_t as other interrupt handlers

No crash during device attach on GXemul.
2011-06-04 01:37:36 +00:00
tsutsui
b4c2594f6b Split device_t/softc. No crash during device attach on GXemul. 2011-06-04 01:31:23 +00:00
tsutsui
595cbc6ae0 Split device_t/softc of am7930. No crash on TME and GXemul. 2011-06-04 01:27:57 +00:00
sjg
43c87c739c ApplyModifiers: if we parse a variable in the modifier list,
do not consider it a nested modifier set, unless it is followed by
endc, a ':' or end of string.
2011-06-03 21:10:42 +00:00
dyoung
272b9fa3d1 Don't sleep until memory becomes available.
Use kmem_zalloc() instead of kmem_alloc() + bzero().

During initialization, try to get all of the memory we need for the
vestigial time-wait structures before we set any of the structures up,
and if any single allocation fails, release all of the memory.

This should help low-memory hosts.  A much better fix postpones
allocating any memory until vtw is enabled through the sysctl.
2011-06-03 20:01:00 +00:00
spz
8f42c2dddc Import bind 9.7.3-P1 2011-06-03 19:45:13 +00:00
jruoho
5ad6ddef1f Add locking to account improbable but possible race between the notify
handler and sysmon_envsys(9)'s refresh routine.
2011-06-03 18:50:36 +00:00
rmind
3b0ab829be Sync (mostly, not fully) uvm_km(9) and uvm_map(9) man pages with reality. 2011-06-03 18:43:38 +00:00
jruoho
308501aab6 Remove unnecessary (due SME_DISABLE_REFRESH) locking. 2011-06-03 18:40:41 +00:00
rmind
3df4c27d37 Revert maxdmap/maxsmap constification, as it causes problems on some
sparc models.  Reported by tsutsui@.
2011-06-03 17:58:18 +00:00
dyoung
42fedb3481 Defer scheduling vtw_tick() and setting the vtw hooks until
vtw_control() is called.  In this way, vtw_tick() will be re-scheduled
repeatedly while vtw is in use.

Pay tcp_vtw_was_enabled no attention in vtw_earlyinit(), since it's
always going to be 0 during initialization.
2011-06-03 17:11:34 +00:00
tsutsui
7eb0284e74 - remove simple_lock(9) and use atomic_ops(3) to account pmap reference count,
perrequest from rmind@
- while here no need to export struct pmap on sun2/sun3/sun3x

No particular problem for a week on hp300 and sun3x kernels with disabled
tcp_vtw which has been broken for a month on low memory machines.
2011-06-03 17:03:52 +00:00
pgoyette
5647caf8d0 Keep printf() happy - cast the max name length to type int 2011-06-03 16:35:35 +00:00
tsutsui
c22ffc3803 Split device_t/softc of i82586. No crash on TME emulating sun2. 2011-06-03 16:28:40 +00:00
nonaka
66224643cd fix output format for long module name. 2011-06-03 15:34:46 +00:00
plunky
82bbedc657 INCLUDEDIR and LIBEXECDIR only need to be defined for the
pcc front end
2011-06-03 13:31:25 +00:00
cegger
462a6f12c8 fix crash by NULL pointer dereferencing I get everytime
right after this message:

bge0: discarding oversize frame (len=-4)
2011-06-03 09:51:40 +00:00
jruoho
224e9f9368 Flush CPU caches before entering S1, as noted in the specifications. 2011-06-03 09:15:02 +00:00
plunky
f56267db07 sterilise the environment before running configure 2011-06-03 08:56:39 +00:00
wiz
d5982f0fd8 Sort errors. 2011-06-03 08:07:48 +00:00
wiz
203a6ec972 Sort SEE ALSO. 2011-06-03 08:06:54 +00:00
matt
d5f8a855d3 -CFATTACH_DECL(foo, sizeof(struct device),
+CFATTACH_DECL_NEW(foo, 0,
2011-06-03 07:39:30 +00:00
matt
a8c167fabd device_t, cfdata_t, device_private, device_xname cleanup
CFATTACH_DECL_NEW for struct device only devices
bump SYMTAB_SPACE for EB7500ATX
2011-06-03 07:35:37 +00:00
matt
96e8eba4fc Missed needed use of device_private 2011-06-03 07:21:32 +00:00