Commit Graph

95731 Commits

Author SHA1 Message Date
emax
9443258745 Create missing /usr/share/examples/netgraph/bluetooth directory 2003-10-27 16:10:05 +00:00
harti
09db541fda Add a definition for libngatm.
Reviewed by:	ru
2003-10-27 13:51:28 +00:00
harti
8b29a91ad0 Man pages for the NgATM SAAL protocol nodes. 2003-10-27 11:43:20 +00:00
harti
f746d3e276 Allow building the NgATM SAAL layer directly into the kernel. 2003-10-27 11:19:08 +00:00
jkoshy
e534da599b Correct a typo.
Submitted by:	"T.M. Sommers" <tms2@mail.ptd.net>
2003-10-27 09:19:07 +00:00
jeff
7017333d76 - Don't set td_priority directly here, use sched_prio(). 2003-10-27 07:15:47 +00:00
ume
cb8f7f8fb1 M_DONTWAIT was passed into malloc().
Submitted by:	Ian Dowse <iedowse@maths.tcd.ie>
2003-10-27 07:15:22 +00:00
marcel
b754e7c6c8 Fix truss so that it doesn't abort/exit when a syscall has been given
a NULL-pointer for a sockaddr argument.
2003-10-27 06:50:57 +00:00
jeff
2813e83639 - Use a better algorithm in sched_pctcpu_update()
Contributed by:	Thomaswuerfl@gmx.de

 - In sched_prio(), adjust the run queue for threads which may need to move
   to the current queue due to priority propagation .
 - In sched_switch(), fix style bug introduced when the KSE support went in.
   Columns are 80 chars wide, not 90.
 - In sched_switch(), Fix the comparison in the idle case and explicitly
   re-initialize the runq in the not propagated case.
 - Remove dead code in sched_clock().
 - In sched_clock(), If we're an IDLE class td set NEEDRESCHED so that threads
   that have become runnable will get a chance to.
 - In sched_runnable(), if we're not the IDLETD, we should not consider
   curthread when examining the load.  This mimics the 4BSD behavior of
   returning 0 when the only runnable thread is running.
 - In sched_userret(), remove the code for setting NEEDRESCHED entirely.
   This is not necessary and is not implemented in 4BSD.
 - Use the correct comparison in sched_add() when checking to see if an idle
   prio task has had it's priority temporarily elevated.
2003-10-27 06:47:05 +00:00
imp
995ea8baa7 const char ** needs to be passed, not char **. 2003-10-27 06:41:40 +00:00
njl
e1a9c96153 Call the VESA reset BIOS vector on the resume path. This may help displays
after resume.  I have not found it to break anything.
2003-10-27 06:26:51 +00:00
ken
494ea894fd In camperiphdone(), make sure we check for fatal errors and bail out
instead of retrying them blindly.

This should fix some of the problems people have been having with cdrom
drives taking a long time to probe.  This should also eliminate the need
for the initial TUR in cdsize().

cam_periph.c:	Don't keep retrying if the error we get back is a fatal
		error.  This should help us detect the transition from
		"Logical unit not ready, cause not reportable" to "Medium
		not present" in the "TUR many" handler.  (The TUR many
		handler gets triggered for Logical unit not ready, cause
		not reportable errors.)

scsi_cd.c:	Remove the initial test unit ready in cdsize().  Hopefully
		it isn't necessary after the above change.

Submitted by:	gibbs (mostly)
Tested by:	peter
MFC After:	2 weeks
2003-10-27 06:15:55 +00:00
alc
bc4efe0cf2 - Complete the synchronization of accesses to the swblock hash table. 2003-10-27 05:58:15 +00:00
marcel
1c3479f36a Add support for userland to access I/O port space. This is primarily
added for XFree86. There are 2 reasons for doing this with sysarch():
1. The memory mapped I/O space is not at a fixed physical address. An
   application has to use some interface to get the base address. It
   gets worse if the machine has multiple memory mapped I/O spaces.
2. Access to the memory mapped I/O space needs to happen through a
   translation that is flagged as uncachable. There's no interface
   that allows a process to do uncached memory I/O, other than though
   /dev/mem (possibly).

So, until we either disallow direct access to I/O or bus space from
userland or have a better way of doing this, sysarch() has the least
negative impact on existing interfaces.
2003-10-27 05:45:35 +00:00
imp
7597ad4c80 sync to 1.77 2003-10-27 05:37:34 +00:00
imp
a9cb8c45eb Correct CEM33 2003-10-27 05:37:01 +00:00
kan
cb3330c464 Delay if_lo module intialization until domain list has been
completely populated. This prevents a system crash on boot.
2003-10-27 04:16:32 +00:00
njl
ec62726df6 Fix style problems with new options.
Requested by:	bde
2003-10-27 02:42:08 +00:00
das
ca3743ebfb Fix a problem where libm compiled under 5.X would depend on features
that are only in libc.so.5.  This broke some 4.X applications linked
to libm and run under 5.X.

Background:
In C99, isinf() and isnan() cannot be implemented as regular
functions.  We use macros that call libc functions in 5.X, but for
libm-internal use, we need to use the old versions until the next
time libm's major version number is bumped.

Submitted by:	bde
Reported by:	imp, kris
2003-10-27 01:28:07 +00:00
imp
8e7737d602 Make sn MPSAFE. This has survived a couple of make buildworlds with
my Megahertz XJ10BT.
2003-10-26 22:35:44 +00:00
imp
2f2a673c10 Pass sc to GO_WINDOW macro.
Use SET_IRQ for pccard case, rather than exapnding it inline.

Requested by: mdodd
2003-10-26 22:28:20 +00:00
imp
30c320e630 Sync to pccarddevs 1.76 2003-10-26 22:24:01 +00:00
imp
b7865ff859 Add Olicom GoCard 28.8k version 2003-10-26 22:22:34 +00:00
imp
5fa96f18c8 Sync to 1.75 of pccarddevs 2003-10-26 20:09:57 +00:00
imp
d06a9cc7b2 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.
2003-10-26 20:09:18 +00:00
alc
a98eda3774 - Introduce and use a mutex synchronizing access to the swblock hash table. 2003-10-26 19:55:35 +00:00
des
944aec8345 Fix Xr markup. 2003-10-26 19:42:55 +00:00
emax
f84455cf84 Connect /etc/bluetooth and /usr/share/examples/netgraph/bluetooth to the build.
Reviewed by: imp, simon
Approved by: imp (mentor)
2003-10-26 19:09:12 +00:00
ume
d4a93fba3c re-add wrongly disappered IPV6_CHECKSUM stuff by introducing
ip6_raw_ctloutput().

Obtained from:	KAME
2003-10-26 18:17:01 +00:00
peter
5a3f8c80dc Argh. Forward declare some structs rather than increase include file
dependencies.
2003-10-26 16:35:11 +00:00
ume
4e8a2cda23 drop unused defines. 2003-10-26 15:15:36 +00:00
ume
dfca89415c drop unused fields. 2003-10-26 15:06:06 +00:00
ume
31b0333ca8 use official # for IFT_STF
(are there any backward compat issue?  i don't think so)

Obtained from:	KAME
2003-10-26 14:29:04 +00:00
kensmith
a232eeb1d5 - 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)
2003-10-26 14:21:30 +00:00
ume
07cfd634c6 - errx() doesn't need `\n'.
- use %u for unsigned variable.

Obtained from:	KAME
2003-10-26 12:00:27 +00:00
ume
f232549690 revert previous change. we don't need to include types.h. 2003-10-26 11:11:13 +00:00
ume
ea4d428d50 use uint32_t instead of u_int32_t for newly introduced
struct definition.
2003-10-26 10:49:18 +00:00
ume
53db537d5e fix comment. 2003-10-26 10:30:17 +00:00
simokawa
ac924c086e 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
2003-10-26 07:42:32 +00:00
bde
ccabd20ce0 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.
2003-10-26 06:40:37 +00:00
imp
ffb788f3a2 add newcard support to ex 2003-10-26 06:34:22 +00:00
imp
4b6b090588 Sync to pccarddevs 1.74 2003-10-26 06:32:50 +00:00
imp
5347136e37 Add ID for olicom GOCARD Ethernet (OC2220) 2003-10-26 06:31:46 +00:00
alc
af5c3c9543 - 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.
2003-10-26 06:29:26 +00:00
ume
38a9108647 one more IPV6_PKTINFO -> IPV6_RECVPKTINFO. 2003-10-26 06:21:16 +00:00
peter
04a08aa1be Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2
(but I haven't turned it on)
2003-10-26 06:14:10 +00:00
ume
24f40bc47e 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)
2003-10-26 06:11:31 +00:00
peter
9526d22643 Make this compile cleanly. It passes WARNS=2, but I haven't checked
it is so on more platforms.
2003-10-26 06:10:44 +00:00
peter
c023b0197a Fix a 64 bit time_t bogon that I missed from before. lastlog.ll_time is
not a time_t.
2003-10-26 06:01:06 +00:00
peter
518a620134 Use -fno-builtin-log. Fix svc_sendreply() missing required casts.
It is now WARNS=2 clean again.
2003-10-26 05:58:21 +00:00