Commit Graph

91682 Commits

Author SHA1 Message Date
peter
1b80a1cccb Be consistent about the use of ${LDFLAGS} for the internal rules. Some
were missing.  This made it difficult to add backend ABI overrides when
building shared libs.
2003-06-26 01:01:48 +00:00
peter
bf62678b49 For amd64, delete the IA32 option for the boot kernel since it needs
SYSV*, which is also removed.
2003-06-26 00:58:57 +00:00
peter
fc3013e08f Add amd64 support 2003-06-26 00:55:33 +00:00
scottl
2c94c4118c - Zero the buffers used to hold configuration data from the card. Not doing
so can leave stale data in the buffer and confuse the driver.
- enable the ability to set the 'disable' hint for the driver to keep it
  from attaching.  i.e. 'hw.ips.0.disable=1' will prevent the driver from
  attaching.
- Only detach if attach suceeded.

Submitted by: mjacob
2003-06-26 00:03:59 +00:00
phantom
3a0952afbd locale.c:
Use newly added __detect_path_locale() helper to lookup _PathLocale value.
It adds boundary checking for PATH_LOCALE environment variable value and
check for super-user fallback.

Makefile:

Add lib/libc/locale to compiler's include path (for setlocale.h)
2003-06-25 23:05:11 +00:00
joe
445694f17f Regen. 2003-06-25 22:56:13 +00:00
joe
c535faa427 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
phantom
551d2ed557 Reduce code duplication by separating _PathLocle detection code into
internal helper function.
2003-06-25 22:42:33 +00:00
phantom
a30cd00d3a Move _PathLocale declaration to more logical place (setlocale.c) 2003-06-25 22:34:13 +00:00
phantom
dabc26f3d3 Catch up with _PATH_LOCALE move from rune.h to paths.h 2003-06-25 22:31:42 +00:00
phantom
d4023dbc8a 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
obrien
9b323a32e4 mdoc police 2003-06-25 21:31:43 +00:00
imp
9f82a8a978 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
6f40b91a36 Fix a comment
MFC after:	1 day
2003-06-25 20:58:35 +00:00
imp
27d211ac0c 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
bmilekic
bf27dce79b 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
mdodd
966e8b965c 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
f110737095 back out install of net80211 include files until I can remove the old code 2003-06-25 19:39:03 +00:00
obrien
51d7d4727e Be more specific in BUGS.
Submitted by:	ru

Add history.
2003-06-25 19:18:44 +00:00
obrien
58faa58591 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
obrien
13d3acecb2 Fix a mismerge. 2003-06-25 18:49:36 +00:00
obrien
ea9527097a 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
c078152e6c fix tcpdump -y IEEE802_11; NBPFILTER was a holdover from netbsd compatibility 2003-06-25 17:42:36 +00:00
bmilekic
2763308887 Make sure that the zone destructor doesn't get called twice in
certain free paths.
2003-06-25 17:25:45 +00:00
obrien
4321847dfe 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
harti
e244d2a55b 'options atm' should actually read 'device atm'.
Pointed out by: Craig Rodrigues
2003-06-25 16:04:19 +00:00
mikeh
310292ecea Restore INET6 option from config.h.
Submitted by:	David Malone <dwmalone@maths.tcd.ie>
2003-06-25 15:53:25 +00:00
nyan
4ddfe39e5c MFi386: revision 1.446. 2003-06-25 15:19:04 +00:00
sam
ca22b80a4f 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
9d82949577 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
dbdf93a4c3 install new 802.11 headers 2003-06-25 14:59:17 +00:00
sam
238cc03092 config+build glue for Atheros support 2003-06-25 14:51:20 +00:00
sam
11d0a3004d add "no RNG support options" for ubsec and hifn drivers 2003-06-25 14:49:24 +00:00
sam
d3e57f6d4a 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
2c8caa6b18 module for atheros hal 2003-06-25 14:43:50 +00:00
cognet
bb85f15154 Fix some style bugs. 2003-06-25 13:33:41 +00:00
cognet
cdee6ffed1 At this point targp will always be NULL, so remove the useless if. 2003-06-25 13:28:32 +00:00
harti
a21d6d1f96 Install the include file for the netgraph ATM node. 2003-06-25 13:28:06 +00:00
harti
2726fda0a2 This is the man page for the netgraph ATM node. 2003-06-25 13:21:55 +00:00
harti
6f3e2733b2 Make the netgraph ATM node compilable into the kernel. 2003-06-25 13:21:04 +00:00
harti
ad28104598 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
mux
1bee454ec7 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
ru
c243877a3d 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
phk
5dad430ef3 Remove an '_' which was surplus to requirements. 2003-06-25 08:30:45 +00:00
grehan
7bb80e938f 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
c6ac0f1151 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
f052b04f58 Initial import of Atheros Hardware Access Layer (HAL) 2003-06-25 06:06:52 +00:00
smkelly
e0b3f0f6dd Add my birthday to the calendar.
Approved by: jeff (mentor)
2003-06-25 05:42:32 +00:00
alc
8ef02c4002 Remove a GIANT_REQUIRED on the kernel object that we no longer need. 2003-06-25 05:31:02 +00:00
alc
a4f8c4746a Maintain the lock on a vm object when calling vm_page_grab(). 2003-06-25 04:53:56 +00:00