Josef Karthauser
59f2899384
Added some new devices and made slight changes to some existing ones.
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2003-06-25 22:50:57 +00:00
Alexey Zelkin
fca2738d67
Reduce code duplication by separating _PathLocle detection code into
...
internal helper function.
2003-06-25 22:42:33 +00:00
Alexey Zelkin
93c847344b
Move _PathLocale declaration to more logical place (setlocale.c)
2003-06-25 22:34:13 +00:00
Alexey Zelkin
d8d4841398
Catch up with _PATH_LOCALE move from rune.h to paths.h
2003-06-25 22:31:42 +00:00
Alexey Zelkin
73e180240f
Move _PATH_LOCALE to place where it really belongs to (rune.h -> paths.h)
...
Reviewed by: ache
2003-06-25 22:28:33 +00:00
David E. O'Brien
ea5a1812ba
mdoc police
2003-06-25 21:31:43 +00:00
Warner Losh
4f2073fb4c
Fix leap second processing by the kernel time keeping routines.
...
Before, we would add/subtract the leap second when the system had been
up for an even multiple of days, rather than at the end of the day, as
a leap second is defined (at least wrt ntp). We do this by
calculating the notion of UTC earlier in the loop, and passing that to
get it adjusted. Any adjustments that ntp_update_second makes to this
time are then transferred to boot time. We can't pass it either the
boot time or the uptime because their sum is what determines when a
leap second is needed. This code adds an extra assignment and two
extra compare in the typical case, which is as cheap as I could made
it.
I have confirmed with this code the kernel time does the correct thing
for both positive and negative leap seconds. Since the ntp interface
doesn't allow for +2 or -2, those cases can't be tested (and the folks
in the know here say there will never be a +2s or -2s leap event, but
rather two +1s or -1s leap events).
There will very likely be no leap seconds for a while, given how the
earth is speeding up and slowing down, so there will be plenty of time
for this fix to propigate. UT1-UTC is currently at "about -0.4s" and
decrementing by .1s every 8 months or so. 6 * 8 is 48 months, or 4
years.
-stable has different code, but a similar bug that was introduced
about the time of the last leap second, which is why nobody has
noticed until now.
MFC After: 3 weeks
Reviewed by: phk
"Furthermore, leap seconds must die." -- Cato the Elder
2003-06-25 21:23:51 +00:00
Julian Elischer
722a139cfa
Fix a comment
...
MFC after: 1 day
2003-06-25 20:58:35 +00:00
Warner Losh
eac3c62b51
During a positive leap second, the tai_time offset should be
...
incremented at the start of the leap second, not after the leap second
has been inserted. This is because at the start of the leap second,
we set the time back one second. This setting back one second is the
moment that the offset changes. The old code set it back after the
leap second, but that's one second too late. The negative leap second
case is handled correctly.
Reviewed by: phk
2003-06-25 20:56:40 +00:00
Bosko Milekic
d88797c2ba
Move the pcpu lock out of the uma_cache and instead have a single set
...
of pcpu locks. This makes uma_zone somewhat smaller (by (LOCKNAME_LEN *
sizeof(char) + sizeof(struct mtx) * maxcpu) bytes, to be exact).
No Objections from jeff.
2003-06-25 20:49:48 +00:00
Matthew N. Dodd
17d7127c64
Set pointers to NULL after free() to prevent multiple free().
...
PR: kern/48808
Submitted by: Eugene Grosbein <eugen@grosbein.pp.ru>
2003-06-25 19:58:38 +00:00
Sam Leffler
81b9fd77b5
back out install of net80211 include files until I can remove the old code
2003-06-25 19:39:03 +00:00
David E. O'Brien
4c861aeb86
Be more specific in BUGS.
...
Submitted by: ru
Add history.
2003-06-25 19:18:44 +00:00
David E. O'Brien
0ab6a0c787
Push the alloca #error warning farther down to play nicer with some out of
...
tree local translator.
Requested by: jmallett
2003-06-25 19:06:40 +00:00
David E. O'Brien
76a1e6ad1d
Fix a mismerge.
2003-06-25 18:49:36 +00:00
David E. O'Brien
d7875fc3b3
Don't blindly provide alloca() for all compilers -- it is too implementation
...
dependent. Instead provide one for GCC & Intel's GCC copy and one for lint.
Anyone using any other translator tool needs to look closely at how that tool
can handle alloca.
2003-06-25 18:11:32 +00:00
Sam Leffler
1300bbb70e
fix tcpdump -y IEEE802_11; NBPFILTER was a holdover from netbsd compatibility
2003-06-25 17:42:36 +00:00
Bosko Milekic
5c133dfa0e
Make sure that the zone destructor doesn't get called twice in
...
certain free paths.
2003-06-25 17:25:45 +00:00
David E. O'Brien
952d62c73c
Remove bit about _THREAD_SAFE. deischen committed a change to stdio.h
...
that totally removed _THREAD_SAFE.
PR: 36167
Submitted by: gerald
2003-06-25 16:12:05 +00:00
Hartmut Brandt
bae1fbdc9f
'options atm' should actually read 'device atm'.
...
Pointed out by: Craig Rodrigues
2003-06-25 16:04:19 +00:00
Mike Heffner
fd693f6790
Restore INET6 option from config.h.
...
Submitted by: David Malone <dwmalone@maths.tcd.ie>
2003-06-25 15:53:25 +00:00
Yoshihiro Takahashi
3644d2744a
MFi386: revision 1.446.
2003-06-25 15:19:04 +00:00
Sam Leffler
2559c28876
o correct mode request handling
...
o add 802.11 alias support
o suppress display of the default "mode autoselect" when showing the "phy mode"
2003-06-25 15:05:17 +00:00
Sam Leffler
2dd59091ae
add "autoselect" mode and "auto" alias: these let you reset the
...
"phy mode" to an auto-selecting mode, as opposed to one where
you're locked to a particular one (e.g. 11a for 802.11)
2003-06-25 15:03:05 +00:00
Sam Leffler
cbc2782fd6
install new 802.11 headers
2003-06-25 14:59:17 +00:00
Sam Leffler
167f409fd6
config+build glue for Atheros support
2003-06-25 14:51:20 +00:00
Sam Leffler
a826874f28
add "no RNG support options" for ubsec and hifn drivers
2003-06-25 14:49:24 +00:00
Sam Leffler
e61a4ae50c
o correct mib spelling: reset -> retest
...
o add #ifdef's needed to share code directly with -stable
2003-06-25 14:46:01 +00:00
Sam Leffler
b52f49a9a0
module for atheros hal
2003-06-25 14:43:50 +00:00
Olivier Houchard
995df2fc9f
Fix some style bugs.
2003-06-25 13:33:41 +00:00
Olivier Houchard
7f3bfd6651
At this point targp will always be NULL, so remove the useless if.
2003-06-25 13:28:32 +00:00
Hartmut Brandt
1a589a2bb2
Install the include file for the netgraph ATM node.
2003-06-25 13:28:06 +00:00
Hartmut Brandt
87b1aa8cb8
This is the man page for the netgraph ATM node.
2003-06-25 13:21:55 +00:00
Hartmut Brandt
02152e8f90
Make the netgraph ATM node compilable into the kernel.
2003-06-25 13:21:04 +00:00
Hartmut Brandt
cfca62bfac
This is a netgraph node to access ATM interfaces. It works with the
...
hatm(4) and fatm(4) drivers, en(4) will follow soon.
2003-06-25 13:20:19 +00:00
Maxime Henrion
095ee947fb
Backout part of my previous commit dealing with bus_dmasync_op_t
...
documentation since people think it was better the way it was before.
Requested by: gibbs (some time ago)
2003-06-25 13:15:51 +00:00
Ruslan Ermilov
a70dc55680
The current recommended default time to live (TTL) for the Internet
...
Protocol (IP) is 64 [RFC791, RFC1122].
Prodded by: Igor Kucherenko <kivvy@sunbay.com>
Obtained from: http://www.iana.org/assignments/ip-parameters
2003-06-25 13:02:18 +00:00
Poul-Henning Kamp
934a35c329
Remove an '_' which was surplus to requirements.
2003-06-25 08:30:45 +00:00
Peter Grehan
f209c40211
Remove unused bootpath[] variable. It conflicted with a declaration
...
in the sunlabel utility, causing build problems.
2003-06-25 08:11:29 +00:00
Sam Leffler
92b901ac4d
This commit was generated by cvs2svn to compensate for changes in r116801,
...
which included commits to RCS files with non-trunk default branches.
2003-06-25 06:06:52 +00:00
Sam Leffler
d9d1087cff
Initial import of Atheros Hardware Access Layer (HAL)
2003-06-25 06:06:52 +00:00
Sean Kelly
2927f5f648
Add my birthday to the calendar.
...
Approved by: jeff (mentor)
2003-06-25 05:42:32 +00:00
Alan Cox
95018011e5
Remove a GIANT_REQUIRED on the kernel object that we no longer need.
2003-06-25 05:31:02 +00:00
Alan Cox
dd5e55f872
Maintain the lock on a vm object when calling vm_page_grab().
2003-06-25 04:53:56 +00:00
Andrey A. Chernov
ba10c47105
Don't statically initialize buf to _PATH_DEV, _PATH_DEV always copied to
...
it in any case.
2003-06-24 22:20:06 +00:00
John-Mark Gurney
4119b6e581
change dev_t to struct cdev * to match ufs. This fixes fstat for cd9660
...
and msdosfs.
Reviewed by: bde
2003-06-24 22:11:20 +00:00
John-Mark Gurney
090ef7b377
remove unnecessary comment. We do what the comments says we need to.
2003-06-24 21:37:49 +00:00
Poul-Henning Kamp
85cefd1dc0
/dev/null and /dev/zero does not need Giant
2003-06-24 19:50:48 +00:00
Alan Cox
a8ab48702b
Assert that the vm object is locked on entry to dev_pager_getpages().
2003-06-24 19:48:34 +00:00
Dag-Erling Smørgrav
07e57fee7d
This commit was generated by cvs2svn to compensate for changes in r116791,
...
which included commits to RCS files with non-trunk default branches.
2003-06-24 19:30:44 +00:00