]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoDrop out of our main loop due to a signal rather than handling things in the
brian [Mon, 4 Dec 2000 22:13:30 +0000 (22:13 +0000)]
Drop out of our main loop due to a signal rather than handling things in the
signal handler.
Fix a spelling error.

Subtley pointed out by: bde

Make some stuff static

23 years agoCleanup some leftover lint from the old interrupt system.
peter [Mon, 4 Dec 2000 21:15:14 +0000 (21:15 +0000)]
Cleanup some leftover lint from the old interrupt system.
Also, while here, run up to 32 interrupt sources on APIC systems.
Normalize INTREN/INTRDIS so they are the same on both UP and SMP systems
rather than sometimes a macro, and sometimes a function.

Reviewed by:  jhb, jakeb

23 years agoTurn off the load_eject bit in cdstartunit(). It causes an `Invalid
joerg [Mon, 4 Dec 2000 20:16:06 +0000 (20:16 +0000)]
Turn off the load_eject bit in cdstartunit().  It causes an `Invalid
field in CDB' error when attempting to start a caddy-type CD drive,
since those drives apparently in general refuse to load a medium.  Since
we never advertised the feature to load the medium upon calling
cdstartunit() (i. e. upon receipt of a CDIOCSTART ioctl command), nobody
should have relied on it.  Besides, nobody noticed so far at all that
this command is failing for caddy-type drives...  Only few applications
seem to use it at all (among them is workman, which made me notice it).

Reviewed by: ken

23 years agoWait DAD complete after ifconfig up.
ume [Mon, 4 Dec 2000 18:06:49 +0000 (18:06 +0000)]
Wait DAD complete after ifconfig up.

23 years ago- __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpd
ume [Mon, 4 Dec 2000 18:02:12 +0000 (18:02 +0000)]
- __ivaliduser_sa() was introduced for forthcoming IPv6 support to lpd
- iruserok_sa() and __ivaliduser_af() were re-organized to use
  __ivaliduser_sa()
- __icheckhost() was re-written to use getaddrinfo() instead of
  getipnodebyname()
- better handling of multiple destination addresses in rcmd()

These changes were basically taken from KAME and changed to fit our
rcmd.c.

Obtained from: KAME

23 years agoFix for vanilla PC164 systems to use a slightly different PALcode magic
mjacob [Mon, 4 Dec 2000 17:21:46 +0000 (17:21 +0000)]
Fix for vanilla PC164 systems to use a slightly different PALcode magic
tweak to enable/disable interrupt sources. Seems to work. It is unclear
how many of the PC164 models actually might needs this, and whether or
not there are other hidden issues.

Obtained from:Bernd Walter <ticso@cicely8.cicely.de>

23 years agotest strdup() failures.
ume [Mon, 4 Dec 2000 13:38:59 +0000 (13:38 +0000)]
test strdup() failures.
from: Chris Faulhaber <jedgar@fxp.org>

Obtained from: KAME

23 years ago(1) Allow a stray lock prefix to be compiled out with the
jake [Mon, 4 Dec 2000 12:38:03 +0000 (12:38 +0000)]
(1) Allow a stray lock prefix to be compiled out with the
MPLOCKED macro
(2) Use decimal 12 rather than hex 0xc in an addl
(3) Implement MTX_ENTER for the I386_CPU case
(4) Use semi-colons between instructions to allow MTX_ENTER
and MTX_ENTER_WITH_RECURSION to be assembled
(5) Use incl instead of incw to increment the recusion count
(6) 10 is not a valid label, use 7, 8 and 9 rather than 8, 9 and 10
(7) Sort numeric labels

Submitted by: bde (2, 4, and 5)

23 years agoWhitespace. Fix indentation, align comments.
jake [Mon, 4 Dec 2000 10:23:29 +0000 (10:23 +0000)]
Whitespace.  Fix indentation, align comments.

23 years agoWhitespace. Fix an overly long line.
jake [Mon, 4 Dec 2000 09:52:39 +0000 (09:52 +0000)]
Whitespace.  Fix an overly long line.

23 years agoRemove if defined(tahoe) cobwebs.
jake [Mon, 4 Dec 2000 09:49:34 +0000 (09:49 +0000)]
Remove if defined(tahoe) cobwebs.

23 years agoremove struct mount from useland visibility
alfred [Mon, 4 Dec 2000 09:21:05 +0000 (09:21 +0000)]
remove struct mount from useland visibility

23 years agomdoc(7) police: fix formatting errors in rev 1.27.
ru [Mon, 4 Dec 2000 08:11:50 +0000 (08:11 +0000)]
mdoc(7) police: fix formatting errors in rev 1.27.

23 years agoAdded termcap entry for multilingual sysinstall
hosokawa [Mon, 4 Dec 2000 06:09:04 +0000 (06:09 +0000)]
Added termcap entry for multilingual sysinstall

23 years agoWhen recording the original arguments, stop short if we encounter
jdp [Mon, 4 Dec 2000 01:45:57 +0000 (01:45 +0000)]
When recording the original arguments, stop short if we encounter
a NULL argument.  Some programs change the contents of the argv
array, typically to remove some special arguments.  They shorten
argv by storing a NULL where an argument pointer used to be.  Such
programs core dumped if they called setproctitle(), because it
would try to apply strlen() to a NULL pointer.

23 years agoComment out debug printfs about enable/disable ints.
mjacob [Mon, 4 Dec 2000 01:33:44 +0000 (01:33 +0000)]
Comment out debug printfs about enable/disable ints.

Current now appears to work at least fitfully on one Rawhide.

23 years agoWhen recording the original arguments, don't (ab)use "nargc" for
jdp [Mon, 4 Dec 2000 01:26:29 +0000 (01:26 +0000)]
When recording the original arguments, don't (ab)use "nargc" for
iterating over the arguments.  Doing so wipes out the value which
is about to be stored into the ps_strings structure.

23 years agoMore M_ZERO patches.
dwmalone [Sun, 3 Dec 2000 20:46:54 +0000 (20:46 +0000)]
More M_ZERO patches.

Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Approved by: mjacob

23 years agoFix cross-building once again.
marcel [Sun, 3 Dec 2000 20:29:31 +0000 (20:29 +0000)]
Fix cross-building once again.

Forgotten by: ache

23 years agoAdd warning on file-fragmentation issues related to MAP_NOSYNC
dillon [Sun, 3 Dec 2000 20:17:36 +0000 (20:17 +0000)]
Add warning on file-fragmentation issues related to MAP_NOSYNC

23 years agoAdd the NS DP83815 to the list of supported chips by the sis driver.
alex [Sun, 3 Dec 2000 18:43:41 +0000 (18:43 +0000)]
Add the NS DP83815 to the list of supported chips by the sis driver.

Inspired by: Oliver Fromme

23 years agoWe now have the ability to assign the correct IRQ when PNP-OS is turned
nsayer [Sun, 3 Dec 2000 17:07:19 +0000 (17:07 +0000)]
We now have the ability to assign the correct IRQ when PNP-OS is turned
on. So stop failing the attach if the IRQ is unassigned. With this
patch, I can now boot with PNP-OS YES in my BIOS no differently than
PNP-OS NO (which is a good thing since Windows hangs with PNP-OS NO).

Obtained from: msmith

23 years agoRemove register keyword usage with prejudice.
asmodai [Sun, 3 Dec 2000 17:05:45 +0000 (17:05 +0000)]
Remove register keyword usage with prejudice.
Modern compilers are smarter when it comes to allocating register
usage.

23 years agoRemove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path
ache [Sun, 3 Dec 2000 16:28:56 +0000 (16:28 +0000)]
Remove ${DESTDIR} from _PATH_TCSHELL, it is call path, not install path
Add gethost to build-tools to help cross-building

23 years agoAdd controller number to unknown incoming call log message.
hm [Sun, 3 Dec 2000 16:23:12 +0000 (16:23 +0000)]
Add controller number to unknown incoming call log message.

23 years agoBugfix: enable interrupt sharing for ELSA Microlink ISDN PCI
hm [Sun, 3 Dec 2000 16:20:33 +0000 (16:20 +0000)]
Bugfix: enable interrupt sharing for ELSA Microlink ISDN PCI

23 years agoUse M_ZERO.
dwmalone [Sun, 3 Dec 2000 13:21:55 +0000 (13:21 +0000)]
Use M_ZERO.

Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
Approved by: mark_salyzyn@adaptec.com

23 years agoCheck return value of malloc correctly and use M_ZERO.
dwmalone [Sun, 3 Dec 2000 13:18:49 +0000 (13:18 +0000)]
Check return value of malloc correctly and use M_ZERO.

23 years agoTidy up some prototypes:
dwmalone [Sun, 3 Dec 2000 11:32:26 +0000 (11:32 +0000)]
Tidy up some prototypes:
        make sure there is exactly one prototype for each function,
        use K&R style definitions everywhere to match dominant style,
        make flag_signal take an int to avoid problems if we have
                ANSI prototypes and K&R definitions.

23 years agoUpdate SCSI info for PC164
wilko [Sun, 3 Dec 2000 11:03:55 +0000 (11:03 +0000)]
Update SCSI info for PC164

Obtained from: discussions on netbsd-alpha

23 years ago - add support for crashdumps (courtesy of ps and Y!)
msmith [Sun, 3 Dec 2000 02:11:35 +0000 (02:11 +0000)]
 - add support for crashdumps (courtesy of ps and Y!)
 - standardise error reporting for commands
 - simplify the driver-to-controller bio transfer
 - add bio in/out accounting
 - correctly preserve the command ID in twe_ioctl (thanks to joel@3ware)

23 years agoFix up a whitespace glitch in PHOLD() and fix it to use do { ... } while(0)
jhb [Sun, 3 Dec 2000 02:09:47 +0000 (02:09 +0000)]
Fix up a whitespace glitch in PHOLD() and fix it to use do { ... } while(0)
instead of { ... }.

23 years agoInclude machine/cpu.h for cpu_getstack().
marcel [Sun, 3 Dec 2000 01:56:15 +0000 (01:56 +0000)]
Include machine/cpu.h for cpu_getstack().

Spotted by: jake

23 years agoChanged second argument in a call to sf_buf_free() to be NULL instead of
dg [Sun, 3 Dec 2000 01:35:46 +0000 (01:35 +0000)]
Changed second argument in a call to sf_buf_free() to be NULL instead of
PAGE_SIZE to match the prototype better. The argument is ignored, so this
is just to silence the compile-time warning.

Pointed out by: jhb

23 years agoDon't auto-generate the syscalls.
marcel [Sun, 3 Dec 2000 01:30:31 +0000 (01:30 +0000)]
Don't auto-generate the syscalls.

23 years agoDon't auto-generate syscalls.
marcel [Sun, 3 Dec 2000 01:28:51 +0000 (01:28 +0000)]
Don't auto-generate syscalls.

23 years ago- Add a mutex to the proc structure p_mtx that will be used to lock accesses
jhb [Sun, 3 Dec 2000 01:22:34 +0000 (01:22 +0000)]
- Add a mutex to the proc structure p_mtx that will be used to lock accesses
  to each individual proc.
- Initialize the lock during fork1(), and destroy it in wait1().

23 years agoChange cpu_switch to explicitly popl the callers program counter and
jake [Sun, 3 Dec 2000 01:09:59 +0000 (01:09 +0000)]
Change cpu_switch to explicitly popl the callers program counter and
pushl that of the new process, rather than doing a movl (%esp) and
assuming that the stack has been setup right.  This make the initial
stack setup slightly more sane, and will make it easier to stick
an interrupted process onto the run queue without its knowing.

23 years agotm.h should include the platform specific ELF header if it exists.
obrien [Sun, 3 Dec 2000 00:11:19 +0000 (00:11 +0000)]
tm.h should include the platform specific ELF header if it exists.

23 years agoProperly check the return values from malloc(3).
abial [Sun, 3 Dec 2000 00:09:08 +0000 (00:09 +0000)]
Properly check the return values from malloc(3).
Remove some PNP-related dead code that is unlikely to survive the
changes in -current PNP anyway.

Submitted by: fixes from Chris Faulhaber <jedgar@freebsd.org>

23 years agoFix dependency for auto-generated files. This commit is
marcel [Sat, 2 Dec 2000 23:47:41 +0000 (23:47 +0000)]
Fix dependency for auto-generated files. This commit is
for archiving purposes only; auto-generation is going to
be reverted.

requested by: obrien
submitted: gallatin

23 years agoMake some style changes to the ident_stream() code.
green [Sat, 2 Dec 2000 21:18:11 +0000 (21:18 +0000)]
Make some style changes to the ident_stream() code.

Partially submitted by: alfred
Reviewed by: alfred

23 years agoThere's also no point in #typedef'ing void/char pointers. Accordingly,
will [Sat, 2 Dec 2000 20:24:42 +0000 (20:24 +0000)]
There's also no point in #typedef'ing void/char pointers.  Accordingly,
rip out ClientData/Address pointers and use standard types.

Obtained from: OpenBSD

23 years agoUse a size_t instead of an int.
asmodai [Sat, 2 Dec 2000 20:21:13 +0000 (20:21 +0000)]
Use a size_t instead of an int.

23 years agoCorrect int/long type mismatch in the proper place this time. freevnodes
gallatin [Sat, 2 Dec 2000 20:08:33 +0000 (20:08 +0000)]
Correct int/long type mismatch in the proper place this time.  freevnodes
and numvnodes are longs in the kernel.  They should remain longs in systat,
what really needs to change is that they should be using SYSCTL_LONG rather
than SYSCTL_INT.   I also changed wantfreevnodes to SYSCTL_LONG because I
happened to notice it.

I wish there was a way to find all of these automatically..

Pointed out by: bde

23 years agoProperly constify some static arrays.
asmodai [Sat, 2 Dec 2000 19:10:12 +0000 (19:10 +0000)]
Properly constify some static arrays.

Also #if out some sccsid's and add rcsid's.

23 years agoThere's no reason to use fancy forms of NULL. Replace all instances
will [Sat, 2 Dec 2000 18:58:01 +0000 (18:58 +0000)]
There's no reason to use fancy forms of NULL.  Replace all instances
of NIL, NILLST, NILLGNODE, etc. with NULL.

Obtained from: OpenBSD

23 years agoMajor speedup to /dev/random and the kernel thread that reseeds it.
markm [Sat, 2 Dec 2000 18:40:16 +0000 (18:40 +0000)]
Major speedup to /dev/random and the kernel thread that reseeds it.

There is no more TAILQ fifo to harvest the entropy; instead, there
is a circular buffer of constant size (changeable by macro) that
pretty dramatically improves the speed and fixes potential slowdowns-
by-locking.

Also gone are a slew of malloc(9) and free(9) calls; all harvesting
buffers are static.

All-in-all, this is a good performance improvement.

Thanks-to: msmith for the circular buffer concept-code.

23 years agoAdd USEC_SLEEP macro support. Change the location at which we define
mjacob [Sat, 2 Dec 2000 18:33:29 +0000 (18:33 +0000)]
Add USEC_SLEEP macro support. Change the location at which we define
ISP_LOCK/ISP_UNLOCK macros.

23 years agoDefault the /dev/random loadable module to blocking-on-bootup,
markm [Sat, 2 Dec 2000 18:29:18 +0000 (18:29 +0000)]
Default the /dev/random loadable module to blocking-on-bootup,
but leave a commented-out macro to change this.

23 years agoMake the Not RESPONSE in RESPONSE QUEUE message have a bit more info
mjacob [Sat, 2 Dec 2000 18:08:35 +0000 (18:08 +0000)]
Make the Not RESPONSE in RESPONSE QUEUE message have a bit more info
(specifically, how many entries we've looked at so far). Maintain
interrupt instrumentation. Use USEC_SLEEP instead of USEC_DELAY in
a number of places (this allows us to drop locks and sleep instead
of spin). Track changes to configuration options for topology preference.
Fix botched order of printout for Channel, Target, Lun.

23 years agoAdd interrupt instrumentation. Change ISP_CFG_NPORT config option to
mjacob [Sat, 2 Dec 2000 18:06:03 +0000 (18:06 +0000)]
Add interrupt instrumentation. Change ISP_CFG_NPORT config option to
a set of options that allows specific loop, loop-only, nport, nport-only
topology settings. Define a required macro for all platforms (USEC_SLEEP).

23 years agoNamespace cleanup. Remove some #includes in favour of an explicit
markm [Sat, 2 Dec 2000 17:59:41 +0000 (17:59 +0000)]
Namespace cleanup. Remove some #includes in favour of an explicit
declaration.

Asked for by: bde

23 years agoRecouple arc4random(9) to the entropy device. This works whether the
markm [Sat, 2 Dec 2000 16:23:54 +0000 (16:23 +0000)]
Recouple arc4random(9) to the entropy device. This works whether the
entropy device is loaded or not.

If the entropy device is NOT loaded, the the quality of perturbations
supplied by this will suffer.

23 years agoAdd splhigh()s to protect against a race condition
julian [Sat, 2 Dec 2000 13:27:58 +0000 (13:27 +0000)]
Add splhigh()s to protect against a race condition
that shows up when running with ethernet bridging
at high speed.

Submitted by: Chris Csanady <ccsanady@iastate.edu>
(and extended by me)

23 years agoBacked out previous commit. Don't depend on namespace pollution in
bde [Sat, 2 Dec 2000 12:03:58 +0000 (12:03 +0000)]
Backed out previous commit.  Don't depend on namespace pollution in
<sys/buf.h>.

23 years agoProtect p_stat with sched_lock.
jhb [Sat, 2 Dec 2000 06:09:44 +0000 (06:09 +0000)]
Protect p_stat with sched_lock.

23 years agoRemove last vestiges of thr_sleep and thr_wakeup from libc.
jake [Sat, 2 Dec 2000 05:58:03 +0000 (05:58 +0000)]
Remove last vestiges of thr_sleep and thr_wakeup from libc.

23 years agoRegen.
jake [Sat, 2 Dec 2000 05:45:32 +0000 (05:45 +0000)]
Regen.

23 years agoForgot this file in previous commit to remove file kern_threads.c
jake [Sat, 2 Dec 2000 05:42:30 +0000 (05:42 +0000)]
Forgot this file in previous commit to remove file kern_threads.c

23 years agoRemove thr_sleep and thr_wakeup. Remove fields p_nthread and p_wakeup
jake [Sat, 2 Dec 2000 05:41:30 +0000 (05:41 +0000)]
Remove thr_sleep and thr_wakeup.  Remove fields p_nthread and p_wakeup
from struct proc, which are now unused (p_nthread already was).
Remove process flag P_KTHREADP which was untested and only set
in vfs_aio.c (it should use kthread_create).  Move the yield
system call to kern_synch.c as kern_threads.c has been removed
completely.

moral support from: alfred, jhb

23 years agointroduce support for static compilation of the osf/1 module via the
gallatin [Sat, 2 Dec 2000 04:17:19 +0000 (04:17 +0000)]
introduce support for static compilation of the osf/1 module via the
COMPAT_OSF1 option

23 years agoexec_osf1_imgact() should return -1 for non OSF1/ECOFF binaries, it should
gallatin [Sat, 2 Dec 2000 04:15:17 +0000 (04:15 +0000)]
exec_osf1_imgact() should return -1 for non OSF1/ECOFF binaries, it should
not return ENOEXEC.  This is because image activators should return -1 if they
don't claim an image. They should return ENOEXEC if they do claim it,
but cannot load it due to sime problem with the image.   This bug was
preventing static compilation of the osf/1 module.  I'm surprised it
did not cause more problems.

23 years agoProtect p_stat with sched_lock.
jhb [Sat, 2 Dec 2000 03:29:33 +0000 (03:29 +0000)]
Protect p_stat with sched_lock.

23 years agocleanup: remove redundant mp_machdep.c and non-existent simplelock.s.
gallatin [Sat, 2 Dec 2000 02:09:28 +0000 (02:09 +0000)]
cleanup: remove redundant mp_machdep.c and non-existent simplelock.s.
Ironically enough, simple locks are implemented in mp_machdep.c..

23 years agoProtect p_stat with the sched_lock.
jhb [Sat, 2 Dec 2000 01:58:15 +0000 (01:58 +0000)]
Protect p_stat with the sched_lock.

Reviewed by: jake

23 years agoProtect p_stat with sched_lock.
jhb [Sat, 2 Dec 2000 01:32:51 +0000 (01:32 +0000)]
Protect p_stat with sched_lock.

23 years agoRevert attach() back to the old behaviour of calling bus_generic_attach().
scottl [Sat, 2 Dec 2000 01:14:14 +0000 (01:14 +0000)]
Revert attach() back to the old behaviour of calling bus_generic_attach().
The new way doesn't seem to work reliably and was causing devices to not
be seen.

Approved by: msmith

23 years agoMake sure to free the sf_buf if we've allocated it but fail to allocate
bmilekic [Sat, 2 Dec 2000 00:40:57 +0000 (00:40 +0000)]
Make sure to free the sf_buf if we've allocated it but fail to allocate
an mbuf (ENOBUFS) before returning so that we don't leak sf_bufs in
the case where we're out of mbufs.

Submitted by: David Greenman (dg)

23 years agoFix some error-handling logic so that ferror is called before fclose,
gad [Sat, 2 Dec 2000 00:07:56 +0000 (00:07 +0000)]
Fix some error-handling logic so that ferror is called before fclose,
instead of immediately after the fclose.  The previous logic did work
on freebsd, but is somewhat risky practice (and causes trouble when
porting to other OS's).

PR: bin/22965
Reviewed by: Garrett Wollman

23 years agoProtect p_stat with sched_lock.
jhb [Fri, 1 Dec 2000 23:43:15 +0000 (23:43 +0000)]
Protect p_stat with sched_lock.

23 years agoAlter isa interrupt behaviour on alpha. Rather than send a non-specific
gallatin [Fri, 1 Dec 2000 22:28:04 +0000 (22:28 +0000)]
Alter isa interrupt behaviour on alpha.  Rather than send a non-specific
EOI after the ithread runs, send the EOI when we get the interrupt and
disable the source.  After the ithread is run, the source is renabled.
Also, add isa_handle_fast_intr() which handles fast interrupts by sending
an EOI after the handler is run.

This fixes the chronic missing interrupt problems under heavy NFS load
on my UP1000 and should result in greater stability for alphas which
route all irqs through an isa pic.

Discussed with: jhb, bde (sending non-specific EOIs early was bde's idea)

23 years agoMake labels mandatory for vn(4).
phk [Fri, 1 Dec 2000 22:27:40 +0000 (22:27 +0000)]
Make labels mandatory for vn(4).

23 years agoMake <struct.h> #error instead of #warn that it is going away on jan 1st.
phk [Fri, 1 Dec 2000 22:15:56 +0000 (22:15 +0000)]
Make <struct.h> #error instead of #warn that it is going away on jan 1st.

23 years agoAlso list kernel target so one can get to it.
jkh [Fri, 1 Dec 2000 22:00:33 +0000 (22:00 +0000)]
Also list kernel target so one can get to it.

23 years agoRevert disconnect of sysvipc now that there's a makefile available
alfred [Fri, 1 Dec 2000 21:13:06 +0000 (21:13 +0000)]
Revert disconnect of sysvipc now that there's a makefile available

23 years agofix another int/long type mismatch. This one was causing pigs to
gallatin [Fri, 1 Dec 2000 20:57:02 +0000 (20:57 +0000)]
fix another int/long type mismatch.  This one was causing pigs to
die with an fpe on alpha because fscale wasn't properly initted

23 years agofix int/long type mismatches found on alpha
gallatin [Fri, 1 Dec 2000 20:01:38 +0000 (20:01 +0000)]
fix int/long type mismatches found on alpha

23 years agoDocument the "kernel" target.
jkh [Fri, 1 Dec 2000 19:49:33 +0000 (19:49 +0000)]
Document the "kernel" target.

23 years agoAdd device ID for the 3c565C card. I followed exactly the 3c575c, but
imp [Fri, 1 Dec 2000 19:41:14 +0000 (19:41 +0000)]
Add device ID for the 3c565C card.  I followed exactly the 3c575c, but
further tweaks may be necessary down the road.  This does nothing with
the serial side of the card.

23 years agoGrrr... GCC 2.95.2 and 2.96 just will not agree what the default include
obrien [Fri, 1 Dec 2000 19:36:17 +0000 (19:36 +0000)]
Grrr... GCC 2.95.2 and 2.96 just will not agree what the default include
search paths are.  So add the requirements of both. :-(

23 years agoacquire/release Giant in vm_page_zero_idle(), like on i386
gallatin [Fri, 1 Dec 2000 18:55:58 +0000 (18:55 +0000)]
acquire/release Giant in vm_page_zero_idle(), like on i386

Discused with: jhb

23 years agoForgotten makefile.
alfred [Fri, 1 Dec 2000 17:49:16 +0000 (17:49 +0000)]
Forgotten makefile.

23 years agoAdd identifier for Compaq HotPlug host->pci bridge.
jlemon [Fri, 1 Dec 2000 17:34:55 +0000 (17:34 +0000)]
Add identifier for Compaq HotPlug host->pci bridge.

Submitted by: Steve Harrington <sgh@home.com>

23 years agoProtect p_stat with sched_lock.
jhb [Fri, 1 Dec 2000 16:59:02 +0000 (16:59 +0000)]
Protect p_stat with sched_lock.

23 years agoThis commit was generated by cvs2svn to compensate for changes in r69482,
ru [Fri, 1 Dec 2000 15:36:10 +0000 (15:36 +0000)]
This commit was generated by cvs2svn to compensate for changes in r69482,
which included commits to RCS files with non-trunk default branches.

23 years agoFollow POLA and bind the <End> key to the `$' command.
ru [Fri, 1 Dec 2000 15:36:10 +0000 (15:36 +0000)]
Follow POLA and bind the <End> key to the `$' command.

This is committed to the vendor (BOSTIC) branch because
it was accepted (committed) by ``nvi'' maintainers:

On Fri, Dec 01, 2000 at 03:51:14PM +0100, Sven Verdoolaege wrote:
[...]
> RCS file: /b/CVSROOT/vi/cl/cl_bsd.c,v
> Working file: cl_bsd.c
> head: 8.32
> branch:
> locks: strict
> access list:
> symbolic names:
>         nvi1-81-1: 8.31
>         nvi1-81-0: 8.30
>         nvi1-80: 8.29.0.2
> keyword substitution: kv
> total revisions: 32;    selected revisions: 1
> description:
> ----------------------------
> revision 8.32
> date: 2000/12/01 13:56:17;  author: skimo;  state: Exp;  lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)
> =============================================================================
>
> RCS file: /b/CVSROOT/vi/cl/cl_term.c,v
> Working file: cl_term.c
> head: 10.28
> branch:
> locks: strict
> access list:
> symbolic names:
>         nvi1-81-1: 10.27
>         nvi1-81-0: 10.23
>         nvi1-80: 10.23.0.2
> keyword substitution: kv
> total revisions: 47;    selected revisions: 1
> description:
> ----------------------------
> revision 10.28
> date: 2000/12/01 13:56:18;  author: skimo;  state: Exp;  lines: +2 -1
> allow use of <End> key on AT-compatible keyboards (Ruslan Ermilov <ru@FreeBSD.org>)

23 years agoConvert the pcib_{read,write}_config args from signed to unsigned,
gallatin [Fri, 1 Dec 2000 15:27:48 +0000 (15:27 +0000)]
Convert the pcib_{read,write}_config args from signed to unsigned,
like the args to the config space accessors these functions replaced.

This reduces the likelyhood of overflow when the args are used in
macros on the alpha.  This prevents memory management faults when
probing the pci bus on sables, multias and nonames.

Approved by: dfr
Tested by: Bernd Walter <ticso@cicely8.cicely.de>

23 years agoAdd PCI id for the RAID LC2 controller.
jlemon [Fri, 1 Dec 2000 15:26:11 +0000 (15:26 +0000)]
Add PCI id for the RAID LC2 controller.

Pick up correct location for the DEC version of the chip, this
got broken in a previous commit.

23 years agoThis page requires tbl(1).
ru [Fri, 1 Dec 2000 13:51:33 +0000 (13:51 +0000)]
This page requires tbl(1).

23 years agoFix a "#ifdef" where a comparison operator was used.
obrien [Fri, 1 Dec 2000 12:29:00 +0000 (12:29 +0000)]
Fix a "#ifdef" where a comparison operator was used.
GCC 2.96 does not like this.

23 years agoDisconnect sysvipc, since it doesn't build.
des [Fri, 1 Dec 2000 12:26:39 +0000 (12:26 +0000)]
Disconnect sysvipc, since it doesn't build.

23 years agoCatch up to perl-5.6.0.
sheldonh [Fri, 1 Dec 2000 12:11:24 +0000 (12:11 +0000)]
Catch up to perl-5.6.0.

23 years agoRemove duplicate definition.
msmith [Fri, 1 Dec 2000 12:10:06 +0000 (12:10 +0000)]
Remove duplicate definition.

23 years agoUpdate local changes for new hardware register interface.
msmith [Fri, 1 Dec 2000 12:09:18 +0000 (12:09 +0000)]
Update local changes for new hardware register interface.

23 years agoProperly check malloc(3) return values
jedgar [Fri, 1 Dec 2000 12:02:16 +0000 (12:02 +0000)]
Properly check malloc(3) return values

Approved by: ken

23 years agoAdd more comments, fix a typo, mention how to do PPPoUDP using encryption
brian [Fri, 1 Dec 2000 11:52:22 +0000 (11:52 +0000)]
Add more comments, fix a typo, mention how to do PPPoUDP using encryption
to create a VPN.

23 years agoEliminate a few more groff(1) warnings.
ru [Fri, 1 Dec 2000 11:33:55 +0000 (11:33 +0000)]
Eliminate a few more groff(1) warnings.

23 years agoRemove some obsolete comments.
des [Fri, 1 Dec 2000 11:05:15 +0000 (11:05 +0000)]
Remove some obsolete comments.

23 years agoClean up the whitespace encoding code.
des [Fri, 1 Dec 2000 11:04:57 +0000 (11:04 +0000)]
Clean up the whitespace encoding code.