]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years agoMake sn MPSAFE. This has survived a couple of make buildworlds with
Warner Losh [Sun, 26 Oct 2003 22:35:44 +0000 (22:35 +0000)]
Make sn MPSAFE.  This has survived a couple of make buildworlds with
my Megahertz XJ10BT.

20 years agoPass sc to GO_WINDOW macro.
Warner Losh [Sun, 26 Oct 2003 22:28:20 +0000 (22:28 +0000)]
Pass sc to GO_WINDOW macro.
Use SET_IRQ for pccard case, rather than exapnding it inline.

Requested by: mdodd

20 years agoSync to pccarddevs 1.76
Warner Losh [Sun, 26 Oct 2003 22:24:01 +0000 (22:24 +0000)]
Sync to pccarddevs 1.76

20 years agoAdd Olicom GoCard 28.8k version
Warner Losh [Sun, 26 Oct 2003 22:22:34 +0000 (22:22 +0000)]
Add Olicom GoCard 28.8k version

20 years agoSync to 1.75 of pccarddevs
Warner Losh [Sun, 26 Oct 2003 20:09:57 +0000 (20:09 +0000)]
Sync to 1.75 of pccarddevs

20 years agoMinor tweak to Olicom 2220. Also add the OC-2232 while I'm here.
Warner Losh [Sun, 26 Oct 2003 20:09:18 +0000 (20:09 +0000)]
Minor tweak to Olicom 2220.  Also add the OC-2232 while I'm here.
Looks like 'special magic' is needed to access the ethernet part of
that combo card, so I've not added it to ex.

20 years ago - Introduce and use a mutex synchronizing access to the swblock hash table.
Alan Cox [Sun, 26 Oct 2003 19:55:35 +0000 (19:55 +0000)]
 - Introduce and use a mutex synchronizing access to the swblock hash table.

20 years agoFix Xr markup.
Dag-Erling Smørgrav [Sun, 26 Oct 2003 19:42:55 +0000 (19:42 +0000)]
Fix Xr markup.

20 years agoConnect /etc/bluetooth and /usr/share/examples/netgraph/bluetooth to the build.
Maksim Yevmenkin [Sun, 26 Oct 2003 19:09:12 +0000 (19:09 +0000)]
Connect /etc/bluetooth and /usr/share/examples/netgraph/bluetooth to the build.

Reviewed by: imp, simon
Approved by: imp (mentor)

20 years agore-add wrongly disappered IPV6_CHECKSUM stuff by introducing
Hajimu UMEMOTO [Sun, 26 Oct 2003 18:17:01 +0000 (18:17 +0000)]
re-add wrongly disappered IPV6_CHECKSUM stuff by introducing
ip6_raw_ctloutput().

Obtained from: KAME

20 years agoArgh. Forward declare some structs rather than increase include file
Peter Wemm [Sun, 26 Oct 2003 16:35:11 +0000 (16:35 +0000)]
Argh. Forward declare some structs rather than increase include file
dependencies.

20 years agodrop unused defines.
Hajimu UMEMOTO [Sun, 26 Oct 2003 15:15:36 +0000 (15:15 +0000)]
drop unused defines.

20 years agodrop unused fields.
Hajimu UMEMOTO [Sun, 26 Oct 2003 15:06:06 +0000 (15:06 +0000)]
drop unused fields.

20 years agouse official # for IFT_STF
Hajimu UMEMOTO [Sun, 26 Oct 2003 14:29:04 +0000 (14:29 +0000)]
use official # for IFT_STF
(are there any backward compat issue?  i don't think so)

Obtained from: KAME

20 years ago - Add note that loading modules only works if the system
Ken Smith [Sun, 26 Oct 2003 14:21:30 +0000 (14:21 +0000)]
- Add note that loading modules only works if the system
  securelevel is less than 1.

PR: docs/58546
Reviewed by: rwatson
Approved by: blackend (mentor)

20 years ago- errx() doesn't need `\n'.
Hajimu UMEMOTO [Sun, 26 Oct 2003 12:00:27 +0000 (12:00 +0000)]
- errx() doesn't need `\n'.
- use %u for unsigned variable.

Obtained from: KAME

20 years agorevert previous change. we don't need to include types.h.
Hajimu UMEMOTO [Sun, 26 Oct 2003 11:11:13 +0000 (11:11 +0000)]
revert previous change.  we don't need to include types.h.

20 years agouse uint32_t instead of u_int32_t for newly introduced
Hajimu UMEMOTO [Sun, 26 Oct 2003 10:49:18 +0000 (10:49 +0000)]
use uint32_t instead of u_int32_t for newly introduced
struct definition.

20 years agofix comment.
Hajimu UMEMOTO [Sun, 26 Oct 2003 10:30:17 +0000 (10:30 +0000)]
fix comment.

20 years agoRevert previous change.
Hidetoshi Shimokawa [Sun, 26 Oct 2003 07:42:32 +0000 (07:42 +0000)]
Revert previous change.

We have to put dcons_crom at first after 'optional' and
dcons and firewire are necessary and not optional for dcons_crom anyway.

Reported by: brooks

20 years agoFix previous commit. glob_filename() returns "(char **) -1" for certain
Bruce Evans [Sun, 26 Oct 2003 06:40:37 +0000 (06:40 +0000)]
Fix previous commit.  glob_filename() returns "(char **) -1" for certain
errors, not necessarily a pointer such that (intptr_t)pointer is -1.

Also fix the style bug that the cast was not followed by a space.
This style of this file is now perfectly non-KNF for this cast too.

20 years agoadd newcard support to ex
Warner Losh [Sun, 26 Oct 2003 06:34:22 +0000 (06:34 +0000)]
add newcard support to ex

20 years agoSync to pccarddevs 1.74
Warner Losh [Sun, 26 Oct 2003 06:32:50 +0000 (06:32 +0000)]
Sync to pccarddevs 1.74

20 years agoAdd ID for olicom GOCARD Ethernet (OC2220)
Warner Losh [Sun, 26 Oct 2003 06:31:46 +0000 (06:31 +0000)]
Add ID for olicom GOCARD Ethernet (OC2220)

20 years ago - Simplify vm_object_collapse()'s collapse case, reducing the number
Alan Cox [Sun, 26 Oct 2003 06:29:26 +0000 (06:29 +0000)]
 - Simplify vm_object_collapse()'s collapse case, reducing the number
   of lock acquires and releases performed.
 - Move an assertion from vm_object_collapse() to vm_object_zdtor()
   because it applies to all cases of object destruction.

20 years agoone more IPV6_PKTINFO -> IPV6_RECVPKTINFO.
Hajimu UMEMOTO [Sun, 26 Oct 2003 06:21:16 +0000 (06:21 +0000)]
one more IPV6_PKTINFO -> IPV6_RECVPKTINFO.

20 years agoDeal with xdrproc_t casts. Make these compile cleanly with WARNS=2
Peter Wemm [Sun, 26 Oct 2003 06:14:10 +0000 (06:14 +0000)]
Deal with xdrproc_t casts.  Make these compile cleanly with WARNS=2
(but I haven't turned it on)

20 years agoSince semantic of IPV6_PKTINFO was changed in RFC3542, we need to
Hajimu UMEMOTO [Sun, 26 Oct 2003 06:11:31 +0000 (06:11 +0000)]
Since semantic of IPV6_PKTINFO was changed in RFC3542, we need to
use IPV6_RECVPKTINFO instead.

Reported by: someone (I had removed the mail wrongly, sorry)

20 years agoMake this compile cleanly. It passes WARNS=2, but I haven't checked
Peter Wemm [Sun, 26 Oct 2003 06:10:44 +0000 (06:10 +0000)]
Make this compile cleanly.  It passes WARNS=2, but I haven't checked
it is so on more platforms.

20 years agoFix a 64 bit time_t bogon that I missed from before. lastlog.ll_time is
Peter Wemm [Sun, 26 Oct 2003 06:01:06 +0000 (06:01 +0000)]
Fix a 64 bit time_t bogon that I missed from before.  lastlog.ll_time is
not a time_t.

20 years agoUse -fno-builtin-log. Fix svc_sendreply() missing required casts.
Peter Wemm [Sun, 26 Oct 2003 05:58:21 +0000 (05:58 +0000)]
Use -fno-builtin-log.  Fix svc_sendreply() missing required casts.
It is now WARNS=2 clean again.

20 years agoUse -fno-builtin-log so gcc doesn't get ideas about using a math function
Peter Wemm [Sun, 26 Oct 2003 05:54:07 +0000 (05:54 +0000)]
Use -fno-builtin-log so gcc doesn't get ideas about using a math function
to log data.  Clean up an unused variable that was hidden by the WARNS?=2
being commented out.  Uncomment it now that it compiles cleanly again.

20 years agoMake this compile cleanly. Switch to using rpcgen to generate
Peter Wemm [Sun, 26 Oct 2003 05:51:51 +0000 (05:51 +0000)]
Make this compile cleanly.  Switch to using rpcgen to generate
code that can be compiled on an ansi-C compiler, so that it puts the
xdrproc_t casts in.  This also implies a slight function name change.

20 years agoStyle changes:
Warner Losh [Sun, 26 Oct 2003 05:34:01 +0000 (05:34 +0000)]
Style changes:
o kill register
o minor function name tweaks.

20 years agoMake 64 bit safe.
Peter Wemm [Sun, 26 Oct 2003 05:33:59 +0000 (05:33 +0000)]
Make 64 bit safe.

20 years agoFix up warnings. There were some biggies here. There seems to be two
Peter Wemm [Sun, 26 Oct 2003 05:30:40 +0000 (05:30 +0000)]
Fix up warnings.  There were some biggies here.  There seems to be two
different sets of definitions in /usr/include/rpcsvc, mostly compatable,
but with different names.  Will the real one please stand up?
In order to get prototypes for yp_maplist, we had to use the 'other'
naming system.

20 years agoStop gcc warnings
Peter Wemm [Sun, 26 Oct 2003 05:28:01 +0000 (05:28 +0000)]
Stop gcc warnings

20 years agoPrototype yp_maplist()
Peter Wemm [Sun, 26 Oct 2003 05:27:14 +0000 (05:27 +0000)]
Prototype yp_maplist()

20 years agoFix a warning that showed up on 64 bit systems. It was actually a real
Peter Wemm [Sun, 26 Oct 2003 05:05:48 +0000 (05:05 +0000)]
Fix a warning that showed up on 64 bit systems.  It was actually a real
bug that had been swept under the carpet.

20 years agoFix warning about cgetent() argument.
Peter Wemm [Sun, 26 Oct 2003 05:03:11 +0000 (05:03 +0000)]
Fix warning about cgetent() argument.

20 years agoMore xdrproc_t issues.
Peter Wemm [Sun, 26 Oct 2003 04:58:44 +0000 (04:58 +0000)]
More xdrproc_t issues.

20 years agoMore xdrproc_t warnings.
Peter Wemm [Sun, 26 Oct 2003 04:57:32 +0000 (04:57 +0000)]
More xdrproc_t warnings.

20 years agoThe math function logf() probably isn't doing us much good for logging
Peter Wemm [Sun, 26 Oct 2003 04:49:58 +0000 (04:49 +0000)]
The math function logf() probably isn't doing us much good for logging
stuff.  Add -fno-builtin-logf.

20 years agoFix some 64 bit warnings. You can't fit a pointer in an int.
Peter Wemm [Sun, 26 Oct 2003 04:47:31 +0000 (04:47 +0000)]
Fix some 64 bit warnings.  You can't fit a pointer in an int.

20 years agoFix a 64 bit warning. Have set_T_dev_t() take a pointer to a size_t rather
Peter Wemm [Sun, 26 Oct 2003 04:45:08 +0000 (04:45 +0000)]
Fix a 64 bit warning.  Have set_T_dev_t() take a pointer to a size_t rather
than a pointer to an int, since that is what it really wants anyway.

20 years agoFix gcc warnings. If NAME_MAX is 255, and d_namlen is a uint8_t, then
Peter Wemm [Sun, 26 Oct 2003 04:43:02 +0000 (04:43 +0000)]
Fix gcc warnings.  If NAME_MAX is 255, and d_namlen is a uint8_t, then
d_namlen can never be > NAME_MAX.  Stop gcc worrying about this by
using a preprocessor test to see if NAME_MAX changes.

20 years ago64 bit fixes. in_addr_t is an uint32_t, not a u_long.
Peter Wemm [Sun, 26 Oct 2003 04:37:57 +0000 (04:37 +0000)]
64 bit fixes. in_addr_t is an uint32_t, not a u_long.

20 years agoGive wider types to sscanf to fix two warnings (u_short cannot be > 0xffff)
Peter Wemm [Sun, 26 Oct 2003 04:36:47 +0000 (04:36 +0000)]
Give wider types to sscanf to fix two warnings (u_short cannot be > 0xffff)
and to make sure that we catch oversized arguments rather than silently
truncate them.  I dont know if sscanf will reject an integer if it will
not fit in the short return variable or not, but this way it should be
detected.

20 years agoTidy up some xdrproc_t related warnings.
Peter Wemm [Sun, 26 Oct 2003 04:32:53 +0000 (04:32 +0000)]
Tidy up some xdrproc_t related warnings.

20 years agoPacify gcc warning with a Douglas Adams reference.
Peter Wemm [Sun, 26 Oct 2003 04:30:05 +0000 (04:30 +0000)]
Pacify gcc warning with a Douglas Adams reference.

20 years agoFix some warnings by defining has_sa_sigaction to 1. When the configure
Peter Wemm [Sun, 26 Oct 2003 04:26:52 +0000 (04:26 +0000)]
Fix some warnings by defining has_sa_sigaction to 1.  When the configure
script was run (years and years ago), we didn't have it.

20 years agoSince I'm having so much fun with const, beat my head against the wall
Peter Wemm [Sun, 26 Oct 2003 04:20:19 +0000 (04:20 +0000)]
Since I'm having so much fun with const, beat my head against the wall
some more.  Make this compile cleanly.

20 years agoPointers dont fit in an int on 64 bit platforms. Fix a gcc warning.
Peter Wemm [Sun, 26 Oct 2003 04:12:02 +0000 (04:12 +0000)]
Pointers dont fit in an int on 64 bit platforms.  Fix a gcc warning.

20 years agoThe third arg to strncmp() is size_t, not int. This causes a warning on
Peter Wemm [Sun, 26 Oct 2003 04:10:50 +0000 (04:10 +0000)]
The third arg to strncmp() is size_t, not int.  This causes a warning on
systems where size_t is long, not int.

20 years agoPreserve the constness of the value argument passed to env_setenv() as
Peter Wemm [Sun, 26 Oct 2003 04:04:12 +0000 (04:04 +0000)]
Preserve the constness of the value argument passed to env_setenv() as
it gets passed through the filter functions.

20 years agoPacify gcc about casting pointers to integers (for the lowest few bits).
Peter Wemm [Sun, 26 Oct 2003 03:55:58 +0000 (03:55 +0000)]
Pacify gcc about casting pointers to integers (for the lowest few bits).

20 years ago(mostly) Clean up some const warnings here. The code takes some liberties
Peter Wemm [Sun, 26 Oct 2003 03:51:47 +0000 (03:51 +0000)]
(mostly) Clean up some const warnings here.  The code takes some liberties
because it is the originator of various const strings and knows that they
came from malloc.

20 years agoclnt_call takes args of type xdrproc_t.
Peter Wemm [Sun, 26 Oct 2003 03:43:35 +0000 (03:43 +0000)]
clnt_call takes args of type xdrproc_t.

20 years agoMove the -Wtraditional warning from the global cpp flags to when the -p
Peter Wemm [Sun, 26 Oct 2003 03:34:13 +0000 (03:34 +0000)]
Move the -Wtraditional warning from the global cpp flags to when the -p
(portability warnings) switch is used.  Add -Wno-system-headers after it so
that we dont get 500 screenfulls of warnings about #elif in /usr/include.
I'm not entirely happy with this.  Maybe cdefs.h shouldn't use #elif and
instead nest #else clauses?

20 years agoDisable the log() builtin (the math function), because it will not do much
Peter Wemm [Sun, 26 Oct 2003 03:15:54 +0000 (03:15 +0000)]
Disable the log() builtin (the math function), because it will not do much
logging of information like the program expects.

20 years agoWhen we pass a string as auxillary data (type long), be sure to convert
Peter Wemm [Sun, 26 Oct 2003 03:12:47 +0000 (03:12 +0000)]
When we pass a string as auxillary data (type long), be sure to convert
it to a suitable type for the initialization.

20 years agoFix a warning about mismatched pointers. A pointer to "void *" is not the
Peter Wemm [Sun, 26 Oct 2003 03:01:24 +0000 (03:01 +0000)]
Fix a warning about mismatched pointers.  A pointer to "void *" is not the
same as a pointer to "char *".  Tell the compiler this is ok.

20 years agoconstify bintime_add, bintime_sub, bintime2timespec, timespec2bintime,
Alfred Perlstein [Sun, 26 Oct 2003 02:38:34 +0000 (02:38 +0000)]
constify bintime_add, bintime_sub, bintime2timespec, timespec2bintime,
bintime2timeval and timeval2bintime.

20 years agoconstify the second args to timevaladd() and timevalsub().
Alfred Perlstein [Sun, 26 Oct 2003 02:19:00 +0000 (02:19 +0000)]
constify the second args to timevaladd() and timevalsub().

20 years agoAdd coup d'état in Chile, 1973.
Greg Lehey [Sun, 26 Oct 2003 01:18:08 +0000 (01:18 +0000)]
Add coup d'état in Chile, 1973.

20 years agoConst poison string accessor functions.
Warner Losh [Sun, 26 Oct 2003 00:51:40 +0000 (00:51 +0000)]
Const poison string accessor functions.

20 years agostyle.Makefile: Add a '?' before '=' in WARNS.
Tom Rhodes [Sun, 26 Oct 2003 00:35:05 +0000 (00:35 +0000)]
style.Makefile: Add a '?' before '=' in WARNS.

20 years agoAdd end and start dates for DST.
Greg Lehey [Sun, 26 Oct 2003 00:03:49 +0000 (00:03 +0000)]
Add end and start dates for DST.

20 years agoConsistently cast to (u_char *) when filling with junk.
Poul-Henning Kamp [Sat, 25 Oct 2003 23:47:33 +0000 (23:47 +0000)]
Consistently cast to (u_char *) when filling with junk.

20 years ago - Add some of the required vm object locking, including assertions where
Alan Cox [Sat, 25 Oct 2003 23:42:17 +0000 (23:42 +0000)]
 - Add some of the required vm object locking, including assertions where
   the vm object lock is required and already held.

20 years agofix spelling of ATTACH
John-Mark Gurney [Sat, 25 Oct 2003 22:03:10 +0000 (22:03 +0000)]
fix spelling of ATTACH

Submitted by: Johny Mattsson
MFC after: 2 week
(do to code freeze)

20 years agoMinor style nits suggested by sam and mdodd:
Warner Losh [Sat, 25 Oct 2003 21:28:40 +0000 (21:28 +0000)]
Minor style nits suggested by sam and mdodd:

o give an argument to EP_BUSY_WAIT
o use foo_locked rather than foo_body
o Add locking assertions for extra safety.

20 years agoConvert to bus_space.
Warner Losh [Sat, 25 Oct 2003 19:56:19 +0000 (19:56 +0000)]
Convert to bus_space.
Make the pccard attachment work with NEWCARD
Start locking of the driver, but only the macros are defined right now

Tested on: Megahertz CC10BT/2
# (These cards are very popular on ebay these days, and run < $10 including
#  shipping from some sellers).

20 years agoBetter safe than clever.
Dag-Erling Smørgrav [Sat, 25 Oct 2003 19:53:28 +0000 (19:53 +0000)]
Better safe than clever.

Submitted by: das

20 years agoFor the SMP case, flush the TLB at the beginning of the page zero/copy
Peter Wemm [Sat, 25 Oct 2003 18:51:41 +0000 (18:51 +0000)]
For the SMP case, flush the TLB at the beginning of the page zero/copy
routines.  Otherwise we run into trouble with speculative tlb preloads
on SMP systems.  This effectively defeats Jeff's revision 1.438
optimization (for his pentium4-M laptop) in the SMP case.  It breaks
other systems, particularly athlon-MP's.

20 years ago - Align a comment within struct vm_page.
Alan Cox [Sat, 25 Oct 2003 18:33:04 +0000 (18:33 +0000)]
 - Align a comment within struct vm_page.
 - Annotate the vm_page's valid field as synchronized by the containing
   vm object's lock.

20 years agoCheck (locked) before performing an advisory unlock following a failure
Robert Watson [Sat, 25 Oct 2003 16:43:50 +0000 (16:43 +0000)]
Check (locked) before performing an advisory unlock following a failure
of vn_start_write().  Otherwise, we may inconsistently attempt to release
the advisory lock.

Pointed out by: teggej

20 years agoWhen generate a core dump, use advisory locking in an advisory way:
Robert Watson [Sat, 25 Oct 2003 16:14:09 +0000 (16:14 +0000)]
When generate a core dump, use advisory locking in an advisory way:
if we do acquire an advisory lock, great!  We'll release it later.
However, if we fail to acquire a lock, we perform the coredump
anyway.  This problem became particularly visible with NFS after
the introduction of rpc.lockd: if the lock manager isn't running,
then locking calls will fail, aborting the core dump (resulting in
a zero-byte dump file).

Reported by: Yogeshwar Shenoy <ynshenoy@alumni.cs.ucsb.edu>

20 years agoAllow MAC policies to block/revoke kern_alq write access to a file.
Robert Watson [Sat, 25 Oct 2003 16:10:41 +0000 (16:10 +0000)]
Allow MAC policies to block/revoke kern_alq write access to a file.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Reviewed by: jeff

20 years agoMake MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the object
Robert Watson [Sat, 25 Oct 2003 15:28:20 +0000 (15:28 +0000)]
Make MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the object
type, rather than "object_label" as the first argument.  This reduces
complexity a little for the consumer, and also makes it easier for
use to rename the underlying entry points in struct mac_policy_obj.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

20 years agoFix fwmem_strategy() race in 4-stable.
Hidetoshi Shimokawa [Sat, 25 Oct 2003 15:05:59 +0000 (15:05 +0000)]
Fix fwmem_strategy() race in 4-stable.

20 years agoMove validity check of 'xfer->fc != NULL' to right place.
Hidetoshi Shimokawa [Sat, 25 Oct 2003 15:04:49 +0000 (15:04 +0000)]
Move validity check of 'xfer->fc != NULL' to right place.

20 years agoupdate for conserver-8.0.4.
Hidetoshi Shimokawa [Sat, 25 Oct 2003 14:53:53 +0000 (14:53 +0000)]
update for conserver-8.0.4.

20 years agoremove debug message.
Hidetoshi Shimokawa [Sat, 25 Oct 2003 14:51:36 +0000 (14:51 +0000)]
remove debug message.

20 years agoDocument fabsl(3).
Dag-Erling Smørgrav [Sat, 25 Oct 2003 13:45:11 +0000 (13:45 +0000)]
Document fabsl(3).

Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>

20 years agodcons_crom.c needs dcons and firewire.
Hidetoshi Shimokawa [Sat, 25 Oct 2003 12:59:22 +0000 (12:59 +0000)]
dcons_crom.c needs dcons and firewire.

20 years agoStyle changes. Inching closer to convergence with OpenBSD.
Poul-Henning Kamp [Sat, 25 Oct 2003 12:56:51 +0000 (12:56 +0000)]
Style changes.  Inching closer to convergence with OpenBSD.

20 years agorevert following unwanted changes:
Hajimu UMEMOTO [Sat, 25 Oct 2003 10:57:08 +0000 (10:57 +0000)]
revert following unwanted changes:
  - __packed to __attribute__((__packed__)
  -  uintN_t back to u_intN_t

Reported by: bde

20 years agocorrect namespace pollution.
Hajimu UMEMOTO [Sat, 25 Oct 2003 09:37:10 +0000 (09:37 +0000)]
correct namespace pollution.

Submitted by: bde

20 years ago - fabsl.c should be named s_fabsl.c for consistency with libmsun's
Dag-Erling Smørgrav [Sat, 25 Oct 2003 09:32:18 +0000 (09:32 +0000)]
 - fabsl.c should be named s_fabsl.c for consistency with libmsun's
   documented naming scheme (unfortunately the documentation isn't in the
   tree as far as I can tell); no repocopy is required as there is no
   history to preserve.

 - replace simple and almost-correct implementation with slightly hackish
   but definitely correct implementation (tested on i386, alpha, sparc64)
   which requires pulling in fpmath.h and the MD _fpmath.h from libc.

 - try not to make a mess of the Makefile in the process.

 - enterprising minds are encouraged to implement more C99 long double
   functions.

20 years agoaccording to RFC3542 10.5, the 5th argment of inet6_opt_next()
Hajimu UMEMOTO [Sat, 25 Oct 2003 06:51:23 +0000 (06:51 +0000)]
according to RFC3542 10.5, the 5th argment of inet6_opt_next()
is not size_t but socklen_t.

Reported by: tinderbox

20 years ago - Call vnode_pager_input_old() with the vm object locked.
Alan Cox [Sat, 25 Oct 2003 05:21:16 +0000 (05:21 +0000)]
 - Call vnode_pager_input_old() with the vm object locked.

20 years agoGC workaround code for detecting pentium4's and disabling PSE and PG_G.
Peter Wemm [Sat, 25 Oct 2003 05:14:38 +0000 (05:14 +0000)]
GC workaround code for detecting pentium4's and disabling PSE and PG_G.
It's been ifdef'ed out for ages.

20 years agoAdd devctl(4) notify support to ACPI. Various subsystems now notify
Nate Lawson [Sat, 25 Oct 2003 05:03:25 +0000 (05:03 +0000)]
Add devctl(4) notify support to ACPI.  Various subsystems now notify
userland whenever events occur.  See the example in devd.conf below
to see how to use it.

20 years agoWhole grab-bag of changes:
Warner Losh [Sat, 25 Oct 2003 04:09:49 +0000 (04:09 +0000)]
Whole grab-bag of changes:
o Make the driver MPSAFE
o Some changes due to diff reduction effort with vx.
o Removed some obsolete junk.

Reviewed by: sam, modd

20 years agoStart to minimize diffs between vx and ep. These latter is based on a
Warner Losh [Sat, 25 Oct 2003 04:05:33 +0000 (04:05 +0000)]
Start to minimize diffs between vx and ep.  These latter is based on a
more advanced version of the chips supported by the former.  Matt Dodd
and I are working towards merging them, and this a step on that path.

20 years agoSort type declarations together.
Robert Watson [Sat, 25 Oct 2003 03:50:44 +0000 (03:50 +0000)]
Sort type declarations together.
Remove an excess carriage return.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories

20 years agoConvenience functions to generate notifications from the kernel. The ACPI
Warner Losh [Fri, 24 Oct 2003 22:41:54 +0000 (22:41 +0000)]
Convenience functions to generate notifications from the kernel.  The ACPI
code will start using these shortly.

Reviewed by: njl

20 years agoAdd support for another multiple serial port card based on OX16PCI954 device
Doug Ambrisko [Fri, 24 Oct 2003 22:34:56 +0000 (22:34 +0000)]
Add support for another multiple serial port card based on OX16PCI954 device
id 0x950a.

MFC: after 4.9 release.

20 years agoParse the ! lines that will soon be coming from the kernel. These are
Warner Losh [Fri, 24 Oct 2003 22:02:29 +0000 (22:02 +0000)]
Parse the ! lines that will soon be coming from the kernel.  These are
a generalized notification mechanism for subsystems wishing to report
events.

Revieded by: njl

# The kernel side seems like it might be causing panics for me, but should
# be forthcoming shortly.