Commit Graph

150914 Commits

Author SHA1 Message Date
gdamore
2a1a021930 Remove attempt to incorrectly support fictional double leap seconds.
While here, make the comparisions for hour, min, and sec use ">" consistently
like the date comparisions.
2006-09-12 15:25:05 +00:00
dillo
8ba880314e Note that Netgear WG311 v3 does *not* use an Atheros chip. 2006-09-12 15:00:29 +00:00
gdamore
73700aff66 Fix to compile on platforms without __HAVE_GENERIC_TODR. Sorry about
that.  Pointed out jdc@ and he@.
2006-09-12 14:27:17 +00:00
pooka
c013f8a66c markup fixes 2006-09-12 13:05:17 +00:00
pooka
a062135916 Bring the ieee80211 manual pages reasonably up-to-date with reality:
fix prototypes and descriptions, remove old stuff no longer present,
add some new interfaces, tweak markup, etcetc
2006-09-12 11:05:23 +00:00
martin
9a3b57af3c We need to call setroot() even if we don't know about the boot device. 2006-09-12 09:51:38 +00:00
elad
de7ded0ba3 Fix typo. 2006-09-12 08:23:51 +00:00
elad
0e73c20464 Oops, add forgotten 'if'.
From Geoff Wing, thanks!
2006-09-12 07:51:29 +00:00
gdamore
58af66bd2c Add some optional debug (enabled with TODR_DEBUG) to see what your RTC
is giving you.  Also, while here, bump the threshold for "preposterous"
dates by 20 years.  Now any date earlier than late 1994 is considered
preposterous.
2006-09-12 05:47:47 +00:00
dbj
b35222ae45 obsolete trsp.debug 2006-09-12 05:29:50 +00:00
simonb
61cfd56598 White space nits. 2006-09-12 02:36:37 +00:00
dbj
5671786b47 fix problem with file_exists_exact where it was returning false
for dangling symlinks because it was checking them with test -e
2006-09-12 01:15:16 +00:00
dbj
a1ab34c948 add lockstat.debug 2006-09-12 00:54:06 +00:00
dbj
8500662e28 rename 2 installed files in xsrc which may have case conflicts in $DESTDIR
/usr/X11R6/bin/xdmx -> /usr/X11R6/bin/dmx
 /usr/X11R6/include/X11/bitmaps/Stipple -> /usr/X11R6/include/X11/bitmaps/Stippler
2006-09-11 22:28:33 +00:00
dbj
b41feff50f fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00
dbj
ad69f7c05a fixes for building into case preserving, but case insensitive $DESTDIR
- have checkflist do a second possibly case insensitive check for
   files which are missing from DESTDIR
 - have postinstall require exact case matches for obsolete files
2006-09-11 22:16:10 +00:00
dbj
6d0e34acbf avoid objdir case conflicts for lib/xkbfile/xkbmisc.c and lib/X11/XKBMisc.c
by creating xkbfile-xkbmisc.c which includes lib/xkbfile/xkbmisc.c
2006-09-11 22:13:51 +00:00
plunky
264c79359e Endian issues:
hci_event.c:
 - Convert memo->response.clock_offset to host-endian.

hci_ioctl.c:
 - printf format tweak (size_t)

hci_link.c:
 - Convert memo->response.clock_offset from host-endian.
 - Tweak a DIAGNOSTIC message.

l2cap_signal.c:
 - In l2cap_recv_config_req(), rp->scid is little-endian so make sure
   we convert from host-endian.

	from scw@
2006-09-11 22:12:39 +00:00
plunky
00d762682c hci_link.c:
- In hci_link_free(), do not unlink items from a LIST queue within
   a LIST_FOREACH() iterator.

rfcomm_session.c:
 - In rfcomm_session_recv_mcc_nsc(), do not unlink items from a LIST
   queue within a LIST_FOREACH() iterator.

	from scw@
2006-09-11 22:08:38 +00:00
plunky
4b5125cac5 btsco.c:
- sco_getopt(..., SO_SCO_MTU, ...) expects the address of a uint16_t,
   not an int. So change sc_mtu's type to uint16_t.
 - Try a little harder to ensure btsco_round_blocksize() does not
   return zero. Prevents a subsequent panic in audio_init_ringbuffer().

	from scw@
2006-09-11 21:59:09 +00:00
rittera
26b97f3a17 Added innitialization to bs in ndis_getstate_80211. It was causing a compiler warning. Pointed out by Kulcsar Ferenc 2006-09-11 21:17:18 +00:00
gdamore
9a6f8be8b3 Don't bother checking wday, that breaks some clock chips. Thank to Kurt Schreiner <ks at ub dot uni-mainz dot de>. 2006-09-11 20:48:55 +00:00
reinoud
2b551264c1 Aparently i've misread, backing out change. 2006-09-11 19:43:55 +00:00
gdamore
f475d69b1b ANSIfy and KNF. 2006-09-11 19:14:57 +00:00
plunky
ed4d8d47a0 also include service name in dictionary being sent to kernel.
(this is not used just yet, but it might be in the future and it will
be easier if we dont have to provide code to handle its absence)
2006-09-11 18:30:27 +00:00
reinoud
5411355304 Don't add one to the capacity returned of READ CAPACITY! it results in
reporting a sd* disc that is one sector too big (!) Normally not much a
problem in FFS since its clustered but other filingsystems *do* care.
2006-09-11 17:57:07 +00:00
gdamore
dcc5a66350 Convert a2kbbc and a3kbbc to newer clock_ymdhms convenience routines in
kern_todr.
2006-09-11 17:18:00 +00:00
gdamore
f8e7bdc71c cats and netwinder are now time countered. 2006-09-11 15:19:37 +00:00
gdamore
6cfcc60e81 Convert netwinder and cats (and any other footbridge based system in the
future) to timecounters, using the dc21285_fclk.   ok nick@, chris@.
2006-09-11 15:18:23 +00:00
gdamore
196b83c3f8 next68k is now timecountered. 2006-09-11 15:12:50 +00:00
gdamore
4ee91c0828 Convert next68k to generic-todr and timecounter.
Tested by bouyer@.
2006-09-11 15:07:50 +00:00
nonaka
10179a2cac All supported model is PCLOCK == 33.33MHz 2006-09-11 13:54:14 +00:00
nonaka
a7cd4d65eb adapt to new rs5c313 driver. 2006-09-11 13:48:57 +00:00
tnozaki
8316f5b826 correct typo in _DIAGASSERT() and some KNF.
pointed by uebayashi-san, thanks!
2006-09-11 13:06:33 +00:00
he
d22aa0483f Add now-required includes, and correct newly added kauth call so
that it builds.
2006-09-11 12:06:39 +00:00
he
1a6aaf9a43 Add required includes for kauth. Fix the newly added kauth call
so that it builds.
2006-09-11 11:55:33 +00:00
jld
fd184070b3 Convert TSC offset to nanoseconds correctly under Xen3. The hypervisor
appears to dynamically adjust its estimate of the CPU clock speed, and
scaling the TSC as intended is necessary to avoid time anomalies.
2006-09-11 06:57:30 +00:00
riz
be7b64549b Only descend into instkernel if MACHINE_ARCH is mipsel. Un-breaks
evbmips-mipseb builds.
2006-09-11 06:12:23 +00:00
gdamore
a78ddf8bdc ANSIfy, and KNF fixes. 2006-09-11 06:02:30 +00:00
wiz
3655cf1e5a Fix typo. 2006-09-11 05:53:55 +00:00
wiz
dfa84b966c new openssl out. 2006-09-11 05:53:40 +00:00
matt
b9525730ee deal with 'bool' definitions 2006-09-11 03:37:12 +00:00
matt
ecaf18c847 Add AFLAGS+= ${AOPTS.${.IMPSRC:T}} 2006-09-11 03:12:48 +00:00
grant
fde578d0f5 latest tzcode/tzdata is 2006k. 2006-09-11 02:05:39 +00:00
matt
efc67dee86 Add a way for a user to know what nodes have changed when a node has been
inserted or removed.  Refactor node insertion to not require rebalancing
all the time or a loop if it does.  In rb_tree_swap_prune_and_rebalance,
don't call rb_tree_reparent_nodes, instead do the work ourselves (since
we will eventually undo half of the work of rb_tree_reparent_nodes).
2006-09-10 23:57:31 +00:00
matt
9bed3293b9 If __STDC__ and GNU C >= 3.0, define C99's bool, true, false 2006-09-10 23:49:21 +00:00
gdamore
344f75bb9e Iyonix got timecounters. Thanks to gavan@ for testing. 2006-09-10 23:46:56 +00:00
ad
7c686d0538 Add newlock2. 2006-09-10 23:37:44 +00:00
gavan
932a44eae6 Enable timecounters for iyonix 2006-09-10 23:15:58 +00:00
gavan
8814e529bd i80321 timecounter support.
Patch from Garrett D'Amore, tested by me.
2006-09-10 23:13:59 +00:00