]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoFix translation
ue [Wed, 3 Apr 2002 05:50:41 +0000 (05:50 +0000)]
Fix translation

22 years agoo GC dumplo
marcel [Wed, 3 Apr 2002 05:16:09 +0000 (05:16 +0000)]
o  GC dumplo
o  Replace the string lit. "ia64" with MACHINE

22 years agoUse a twiddle to show that we're busy dumping. The initial code
marcel [Wed, 3 Apr 2002 05:11:59 +0000 (05:11 +0000)]
Use a twiddle to show that we're busy dumping. The initial code
emitted the total number of pages it still had to dump prior to
dumping a block of up to 16 pages. For a 128MB region this would
result in 8M number of printf()s. Barf!

The problem in general is that memory typically has one really
big region and a number of "scattered" smaller regions. Some may
even be just a few pages. The twiddle works best for now, but
it doesn't really give a good progress indication for the large
regions. Those are the cases where you definitely want good PI
to avoid having the user turn into a twiddle :-)

22 years agoActually have ia64dump.c be included in the build. Can't be bad.
marcel [Wed, 3 Apr 2002 04:42:14 +0000 (04:42 +0000)]
Actually have ia64dump.c be included in the build. Can't be bad.

22 years agoRemove some 1996 GCC 2.6.3 cruft for building a shared cc_int lib.
obrien [Wed, 3 Apr 2002 03:18:15 +0000 (03:18 +0000)]
Remove some 1996 GCC 2.6.3 cruft for building a shared cc_int lib.

22 years agoFix to handle REC_D > 127 and fold case sorting of high letters
ache [Wed, 3 Apr 2002 01:39:26 +0000 (01:39 +0000)]
Fix to handle REC_D > 127 and fold case sorting of high letters
(linear sorting still assumed, no collating support yet).

22 years agobrelse() was improperly clearing B_DELWRI in the B_DELWRI|B_INVAL case
dillon [Wed, 3 Apr 2002 00:17:36 +0000 (00:17 +0000)]
brelse() was improperly clearing B_DELWRI in the B_DELWRI|B_INVAL case
without removing the buffer from the vnode's dirty buffer list, which
can result in a panic in NFS.  Replaced the code with a call to bundirty()
which deals with it properly.

PR: kern/36108, kern/36174
Submitted by: various people
Special mention: to Danny Schales <dan@coes.LaTech.edu> for providing a core dump that helped me track this down.
MFC after: 1 day

22 years agoRedo stuff for sparc64- primarily fix bus dma implementation. The endian
mjacob [Tue, 2 Apr 2002 23:36:14 +0000 (23:36 +0000)]
Redo stuff for sparc64- primarily fix bus dma implementation. The endian
stuff was right, but the busdma stuff was massively not right.

Didn't really test on ia64 or i386- don't have the former h/w and my
FreeBSD-current disk is unwell right now. Hope that this is okay.

MFC after: 1 week

22 years agoRevert to open hashing. It makes the code simpler, and works farily well
des [Tue, 2 Apr 2002 23:26:32 +0000 (23:26 +0000)]
Revert to open hashing.  It makes the code simpler, and works farily well
even when the number of records approaches the size of the hash table.
Besides, the previous implementation (using linear probing) was broken :)

Also, use the newly introduced MTX_SYSINIT.

22 years agoRevert to vendor version, what little was left of our local patches here
des [Tue, 2 Apr 2002 23:07:31 +0000 (23:07 +0000)]
Revert to vendor version, what little was left of our local patches here
was incorrect.

Pointed out by: Markus Friedl <markus@openbsd.org>

22 years ago- Move the MI mutexes sched_lock and Giant from being declared in the
jhb [Tue, 2 Apr 2002 22:19:16 +0000 (22:19 +0000)]
- Move the MI mutexes sched_lock and Giant from being declared in the
  various machdep.c's to being declared in kern_mutex.c.
- Add a new function mutex_init() used to perform early initialization
  needed for mutexes such as setting up thread0's contested lock list
  and initializing MI mutexes.  Change the various MD startup routines
  to call this function instead of duplicating all the code themselves.

Tested on: alpha, i386

22 years agoChange the FreeBSD version addendum to "FreeBSD-20020402". This shortens
des [Tue, 2 Apr 2002 21:53:54 +0000 (21:53 +0000)]
Change the FreeBSD version addendum to "FreeBSD-20020402".  This shortens
the version string to 28 characters, which is below the 40-character limit
specified in the proposed SECSH standard.  Some servers, however (like the
one built into the Foundry BigIron line of switches) will hang when
confronted with a version string longer than 24 characters, so some users
may need to shorten it further.

Sponsored by: DARPA, NAI Labs

22 years agoAdd support for the PERC3/Di found in the Dell 1650
scottl [Tue, 2 Apr 2002 21:49:26 +0000 (21:49 +0000)]
Add support for the PERC3/Di found in the Dell 1650

Submitted by: mp

22 years agoMake the various ssh clients understand the VersionAddendum option.
des [Tue, 2 Apr 2002 21:48:51 +0000 (21:48 +0000)]
Make the various ssh clients understand the VersionAddendum option.

Submitted by: pb

22 years agofix comment typo, s/neccisary/necessary/g
alfred [Tue, 2 Apr 2002 21:25:12 +0000 (21:25 +0000)]
fix comment typo, s/neccisary/necessary/g

22 years agoOops, forgot to commit the definition of the mtx_name() macro.
des [Tue, 2 Apr 2002 21:12:17 +0000 (21:12 +0000)]
Oops, forgot to commit the definition of the mtx_name() macro.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r93694,
des [Tue, 2 Apr 2002 20:57:22 +0000 (20:57 +0000)]
This commit was generated by cvs2svn to compensate for changes in r93694,
which included commits to RCS files with non-trunk default branches.

22 years agoFix incorrect allocation size (perforce change 8918)
des [Tue, 2 Apr 2002 20:57:22 +0000 (20:57 +0000)]
Fix incorrect allocation size (perforce change 8918)

PR: bin/36658
Submitted by: Takanori Saneto <sanewo@ba2.so-net.ne.jp>

22 years agoSpelling police.
jhb [Tue, 2 Apr 2002 20:44:30 +0000 (20:44 +0000)]
Spelling police.

22 years agoSwitch to using XFree86 version 4. We do this thru installing the package,
obrien [Tue, 2 Apr 2002 20:42:54 +0000 (20:42 +0000)]
Switch to using XFree86 version 4.  We do this thru installing the package,
so know we have proper PKG registration and dependency information.

This is a WIP for 5.0 DP #1, so it is still rough around the edges and
does not GC the old XFree86 3.3.6 handling stuff that should be GC'ed.
Sponsored by: FreeBSD Mall, Inc.

22 years agoEnforce an implicit lock order of sleepable locks before non-sleepable
jhb [Tue, 2 Apr 2002 19:27:21 +0000 (19:27 +0000)]
Enforce an implicit lock order of sleepable locks before non-sleepable
locks.

22 years agoWhen reading a UFS-style label from a floppy, don't attempt to use a
joerg [Tue, 2 Apr 2002 18:29:43 +0000 (18:29 +0000)]
When reading a UFS-style label from a floppy, don't attempt to use a
"raw partition" of any kind since the floppy driver doesn't support
UFS-style partitions at all.

Reported by: "Crist J. Clark" <crist.clark@attbi.com>
Reviewed by: bde
MFC after: 3 days

22 years ago- Make this compile if INVARIANTS support is not enabled.
arr [Tue, 2 Apr 2002 18:18:56 +0000 (18:18 +0000)]
- Make this compile if INVARIANTS support is not enabled.

22 years agoFix crashes that would happen when more than one 4MB page was used to
tmm [Tue, 2 Apr 2002 17:50:13 +0000 (17:50 +0000)]
Fix crashes that would happen when more than one 4MB page was used to
hold the kernel text, data and loader metadata by not using a fixed slot
to store the TSB page(s) into. Enter fake 8k page entries into the kernel
TSB that cover the 4M kernel page(s), sot that pmap_kenter() will work
without having to treat these pages as a special case.

Problem reported by: mjacob, obrien
Problem spotted and 4M page handling proposed by:       jake

22 years ago- Add a mutex to lock the global securelevel value.
arr [Tue, 2 Apr 2002 17:43:17 +0000 (17:43 +0000)]
- Add a mutex to lock the global securelevel value.
- Make use of MTX_SYSINIT() as the means to initialize our mutex lock.

22 years agoRemove the superfluous second argument from the IOTSBSLOT() macro.
tmm [Tue, 2 Apr 2002 17:41:06 +0000 (17:41 +0000)]
Remove the superfluous second argument from the IOTSBSLOT() macro.

22 years agoLower UPA_MEMSTART to 0x1c000000000. This is required for some larger
tmm [Tue, 2 Apr 2002 17:38:52 +0000 (17:38 +0000)]
Lower UPA_MEMSTART to 0x1c000000000. This is required for some larger
Enterprise machines.

22 years agoSet mp_maxid so that UMA works with SMP.
tmm [Tue, 2 Apr 2002 17:37:06 +0000 (17:37 +0000)]
Set mp_maxid so that UMA works with SMP.

Submitted by: jake

22 years agoDo not try to set up the PCI bus B error interrupt on "sabre"s, since
tmm [Tue, 2 Apr 2002 17:27:35 +0000 (17:27 +0000)]
Do not try to set up the PCI bus B error interrupt on "sabre"s, since
it is only available on "psycho"s. The same applies to the power
management interrupt, which is not enabled by default though.

22 years agoRemove a debugging panic that was triggered when a resource that was out
tmm [Tue, 2 Apr 2002 17:23:45 +0000 (17:23 +0000)]
Remove a debugging panic that was triggered when a resource that was out
of range was tried to be allocated; just return failure instead.

22 years ago- Add notes about SX_SYSINIT and MTX_SYSINIT in order to document the
arr [Tue, 2 Apr 2002 17:21:00 +0000 (17:21 +0000)]
- Add notes about SX_SYSINIT and MTX_SYSINIT in order to document the
  recent additions of these macros.
- Add in a MLINK to create SX_SYSINIT.9 and MTX_SYSINIT.9.

22 years agoFix leakage of p_pgrp lock.
tanimura [Tue, 2 Apr 2002 17:12:06 +0000 (17:12 +0000)]
Fix leakage of p_pgrp lock.

22 years agoDo not use semi-fixed TLB slots for the 4M kernel pages any more.
tmm [Tue, 2 Apr 2002 17:10:15 +0000 (17:10 +0000)]
Do not use semi-fixed TLB slots for the 4M kernel pages any more.

22 years ago1.) Rename locore.s to locore.S (by repocopy), to be able to remove
tmm [Tue, 2 Apr 2002 17:08:37 +0000 (17:08 +0000)]
1.) Rename locore.s to locore.S (by repocopy), to be able to remove
    special-case make rule
2.) Cleanups, remove superfluous expicit rules, add -nostdlib to LDFLAGS,
    remove -X and -g, remove -g from CFLAGS
3.) Add BINDIR
4.) Build install the loader help file, add an empty help.sparc64
5.) Change the default configuration to only support booting from disk
6.) Get libofw.a from a path relative ${.OBJDIR}, not ${.CURDIR}

Submitted by: jake (1 - 5), obrien (6)

22 years agoExplicitly document how we implicitly enforce the lock order of sleep
jhb [Tue, 2 Apr 2002 16:51:20 +0000 (16:51 +0000)]
Explicitly document how we implicitly enforce the lock order of sleep
locks before spin locks.

22 years agoCorrect the Northbridge test on the new ATA133 VIA's
sos [Tue, 2 Apr 2002 16:45:06 +0000 (16:45 +0000)]
Correct the Northbridge test on the new ATA133 VIA's
Misc cosmetics now I'm there.

22 years ago- Update to new suser() API.
jhb [Tue, 2 Apr 2002 16:41:11 +0000 (16:41 +0000)]
- Update to new suser() API.
- Spell privilege properly.
- Grammar nits.

22 years ago- Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtx
arr [Tue, 2 Apr 2002 16:05:43 +0000 (16:05 +0000)]
- Add MTX_SYSINIT and SX_SYSINIT as macro glue for allowing sx and mtx
  locks to be able to setup a SYSINIT call.  This helps in places where
  a lock is needed to protect some data, but the data is not truly
  associated with a subsystem that can properly initialize it's lock.
  The macros use the mtx_sysinit() and sx_sysinit() functions,
  respectively, as the handler argument to SYSINIT().

Reviewed by: alfred, jhb, smp@

22 years agoFix recent fixit.flp flood:
matusita [Tue, 2 Apr 2002 15:07:34 +0000 (15:07 +0000)]
Fix recent fixit.flp flood:
- don't make device files since we are in the DEVFS era.
  (for the last resort, fixit.flp still has /dev/MAKEDEV.)
- increase FIXITINODE size to 10 times (40000).

After this change, we have 42kbytes of free space, and 38
of free inodes (confirmed with 5.0-CURRENT-20020327-JPSNAP).

Since 4-stable doesn't have DEVFS, we can't MFC this (except FIXITINODE).

22 years agoBack the last commit out. The network drivers need reworking first. :(
joe [Tue, 2 Apr 2002 14:54:52 +0000 (14:54 +0000)]
Back the last commit out.  The network drivers need reworking first. :(

22 years agoInstead of get_cyclecount(9), use nanotime(9) to record acquisition and
des [Tue, 2 Apr 2002 14:42:01 +0000 (14:42 +0000)]
Instead of get_cyclecount(9), use nanotime(9) to record acquisition and
release times.  Measurements are made and stored in nanoseconds but
presented in microseconds, which should be sufficient for the locks for
which we actually want this (those that are held long and / or often).
Also, rename some variables and structure members to unit-agnostic names.

22 years agoMFNetBSD: usbdi.c (1.80), usbdi.h (1.51)
joe [Tue, 2 Apr 2002 14:28:18 +0000 (14:28 +0000)]
MFNetBSD: usbdi.c (1.80), usbdi.h (1.51)
    date: 2001/04/13 11:19:58;  author: augustss;
    Finally get rid of the UGLY and EVIL hack for avoiding tsleep().

22 years agoMFNetBSD:
joe [Tue, 2 Apr 2002 14:16:06 +0000 (14:16 +0000)]
MFNetBSD:
    revision 1.89
    date: 2001/11/10 17:10:42;  author: augustss;  state: Exp;  lines: +2 -1
    Abort any xfers on the control pipe before closing it on detach.

22 years agoMFNetBSD: usb_port.h (1.45 partial), usb_subr.c (1.88)
joe [Tue, 2 Apr 2002 14:14:14 +0000 (14:14 +0000)]
MFNetBSD: usb_port.h (1.45 partial), usb_subr.c (1.88)
    date: 2001/11/10 16:53:32;  author: augustss;
    Small portability improvement.

22 years agoMFNetBSD: usb_subr.c (1.87), usbdi.h (1.53)
joe [Tue, 2 Apr 2002 14:08:43 +0000 (14:08 +0000)]
MFNetBSD: usb_subr.c (1.87), usbdi.h (1.53)
    date: 2001/08/15 00:04:59;  author: augustss;
    Add a little infrastructure so that individual drivers can easily check
    if thee was a vendor+product locator match.

22 years agoAdd get-status to the ATA RAID subsystem.
sos [Tue, 2 Apr 2002 13:48:17 +0000 (13:48 +0000)]
Add get-status to the ATA RAID subsystem.

22 years agoReduce differences between NetBSD's version and ours.
joe [Tue, 2 Apr 2002 13:26:40 +0000 (13:26 +0000)]
Reduce differences between NetBSD's version and ours.
(Should be all white space related, but there's the removal of the
odd 'register' directive also).

22 years agoDTRT for packages read from STDIN:
murray [Tue, 2 Apr 2002 12:47:10 +0000 (12:47 +0000)]
DTRT for packages read from STDIN:

$ cat pkg.tgz | pkg_add -

The above command line will fail on -CURRENT or -STABLE, and
therefore, so will sysinstall if you try to install additional
packages through the network (FTP) from a multiuser system.  Because
of the different environment during installation (wrt the playpen),
this bug does not manifest itself during initial installs, and users
may install packages from the network just fine at that time.

This bug was fixed in OpenBSD 4 years ago.

----------------------------
revision 1.4
date: 1998/04/07 05:56:13;  author: marc;  state: Exp;  lines: +13 -8
fix package input from standard input -- the program tried to process
stdin twice.  Note: it assumes stdin is a compressed tar file.
----------------------------

PR: conf/36606
Obtained from: OpenBSD
MFC after: 2 weeks

22 years agoProduce a different error message for mktime(3) failure than for bad
cjc [Tue, 2 Apr 2002 12:03:16 +0000 (12:03 +0000)]
Produce a different error message for mktime(3) failure than for bad
newsyslog.conf syntax.

PR: bin/36641

22 years agoUse ANSI prototypes and declarations.
joe [Tue, 2 Apr 2002 11:54:28 +0000 (11:54 +0000)]
Use ANSI prototypes and declarations.

22 years agoRetire the bogus ioctl DIOCGPART in toto.
phk [Tue, 2 Apr 2002 11:52:13 +0000 (11:52 +0000)]
Retire the bogus ioctl DIOCGPART in toto.

Once again we can notice that badly thought out hacks ferment and infect
far more code than initially expected.

Sponsored by: DARPA and NAI Labs.

22 years agoUse ANSI prototypes and declarations.
joe [Tue, 2 Apr 2002 11:42:57 +0000 (11:42 +0000)]
Use ANSI prototypes and declarations.
Rename csr_{write|read}_* to aue_csr_* in keeping with NetBSD.

22 years agoStop using the bogus DIOCGPART ioctl, use DIOCGSECTORSIZE and
phk [Tue, 2 Apr 2002 11:40:45 +0000 (11:40 +0000)]
Stop using the bogus DIOCGPART ioctl, use DIOCGSECTORSIZE and
DIOCGMEDIASIZE instead.

The partition type check has been XXX'ed out since we cannot expect
that a BSD disklabel with a type field be available on all platforms.

22 years agoUse DIOCGSECTORSIZE instead of the bogus DIOCGPART ioctl.
phk [Tue, 2 Apr 2002 11:23:14 +0000 (11:23 +0000)]
Use DIOCGSECTORSIZE instead of the bogus DIOCGPART ioctl.

22 years agoOne less user of the bogus DIOCGPART ioctl.
phk [Tue, 2 Apr 2002 11:17:37 +0000 (11:17 +0000)]
One less user of the bogus DIOCGPART ioctl.

22 years agoSend diskpart to the eternal storage device (SMD probably :-) where
phk [Tue, 2 Apr 2002 11:02:21 +0000 (11:02 +0000)]
Send diskpart to the eternal storage device (SMD probably :-) where
it belongs.

22 years agoMove savecore back to the MI list so that it compiles for other
marcel [Tue, 2 Apr 2002 10:58:30 +0000 (10:58 +0000)]
Move savecore back to the MI list so that it compiles for other
archs than alpha and i386.

22 years agoDon't compile the dummy dumpsys for ia64.
marcel [Tue, 2 Apr 2002 10:55:40 +0000 (10:55 +0000)]
Don't compile the dummy dumpsys for ia64.

22 years agoo Add header version for ia64,
marcel [Tue, 2 Apr 2002 10:53:59 +0000 (10:53 +0000)]
o  Add header version for ia64,
o  Make it compile with GCC 3.x.

22 years agoMFNetBSD:
joe [Tue, 2 Apr 2002 10:53:42 +0000 (10:53 +0000)]
MFNetBSD:
    revision 1.50
    date: 2001/04/12 01:18:24;  author: thorpej;  state: Exp;  lines: +6 -2
    Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet
    (because we register the interrupt with IPL_SOFTNET).  However, if
    we're using a callout, then splusb == splsoftclock (because the
    callouts happen from the softclock interrupt).

    Note that splsoftnet blocks softclock interrupts, but this is
    meant to better describe what's going on.

22 years agoInitial implementation of the ia64 kernel dumper. The dumper
marcel [Tue, 2 Apr 2002 10:51:32 +0000 (10:51 +0000)]
Initial implementation of the ia64 kernel dumper. The dumper
constructs an ELF image, consisting of the ELF header, for
each memory region a program header, followed by the memory
contents for each region. It does blocked I/O for the headers
as they are typically smaller than DEV_BSIZE.

22 years agoMFNetBSD: (partial merge, as part was already there).
joe [Tue, 2 Apr 2002 10:48:58 +0000 (10:48 +0000)]
MFNetBSD: (partial merge, as part was already there).
    revision 1.56
    date: 2001/11/13 07:55:30;  author: augustss;  state: Exp;  lines: +4 -4
    Add some #endif comments.

22 years agoMFNetBSD:
joe [Tue, 2 Apr 2002 10:47:01 +0000 (10:47 +0000)]
MFNetBSD:
    revision 1.54
    date: 2001/11/09 14:59:11;  author: augustss;  state: Exp;  lines: +2 -1
    Add a debug message.

22 years agoThere is breakage in parsedate, so revert to get_date until this can be
markm [Tue, 2 Apr 2002 10:45:34 +0000 (10:45 +0000)]
There is breakage in parsedate, so revert to get_date until this can be
resolved.

Reported by: paul

22 years agoWARNS fixes.
maxim [Tue, 2 Apr 2002 10:15:32 +0000 (10:15 +0000)]
WARNS fixes.

Submitted by: kris
Reviewed by: bde
Approved by: ru
MFC after: 2 weeks

22 years agoInitialize a field to cater for ata-raid
phk [Tue, 2 Apr 2002 10:09:16 +0000 (10:09 +0000)]
Initialize a field to cater for ata-raid

22 years agoMFNetBSD: usb.c (1.53), usbdi.h (1.49)
joe [Tue, 2 Apr 2002 09:58:16 +0000 (09:58 +0000)]
MFNetBSD: usb.c (1.53), usbdi.h (1.49)
    date: 2001/01/23 17:04:30;  author: augustss;
    Ad function to remove a usb task.

22 years agoMFNetBSD:
joe [Tue, 2 Apr 2002 09:51:10 +0000 (09:51 +0000)]
MFNetBSD:
    revision 1.52
    date: 2001/01/21 19:00:29;  author: augustss;  state: Exp;  lines: +5 -0
    Ad a comment.

22 years agoMFNetBSD: uhub.c (1.49), usb.c (1.51), usbdi.h (1.48), usbdivar.h (1.63)
joe [Tue, 2 Apr 2002 09:49:36 +0000 (09:49 +0000)]
MFNetBSD: uhub.c (1.49), usb.c (1.51), usbdi.h (1.48), usbdivar.h (1.63)
    date: 2001/01/21 19:00:06;  author: augustss;
    Change the operation of the USB event thread.  Before it only
    performed USB device discovery, now it can also perform (short)
    tasks for device drivers that need a process context, but don't
    have one.  This is not pretty, but better than using busy-wait
    in an interrupt context.

22 years agostyle(9) cleanup.
maxim [Tue, 2 Apr 2002 09:36:46 +0000 (09:36 +0000)]
style(9) cleanup.

Submitted by: kris (an early version of this patch)
Reviewed by: bde
Approved by: ru
MFC after: 2 weeks

22 years agoVarious fixes, mostly for problems introduced by my mdoc transcription,
sheldonh [Tue, 2 Apr 2002 08:55:49 +0000 (08:55 +0000)]
Various fixes, mostly for problems introduced by my mdoc transcription,
rather than problems that existed in the original HTML "source".

PR: docs/33585
Submitted: Norihiro Kumagai <kumagai@attbi.com>

22 years agoThere are 4 key formats, not 3.
sheldonh [Tue, 2 Apr 2002 08:47:56 +0000 (08:47 +0000)]
There are 4 key formats, not 3.

PR: 33586
Submitted by: Norihiro Kumagai <kuma@12-225-156-18.client.attbi.com>

22 years agoStyle: don't override `beforeinstall', use FILES.
ru [Tue, 2 Apr 2002 07:48:32 +0000 (07:48 +0000)]
Style: don't override `beforeinstall', use FILES.

22 years agoFix find -exec with no command specified (i.e.: find . -exec ';')
jmallett [Tue, 2 Apr 2002 07:20:56 +0000 (07:20 +0000)]
Fix find -exec with no command specified (i.e.: find . -exec ';')

PR: bin/36521
Submitted by: Simon 'corecode' Schubert <corecode@corecode.ath.cx>
Reviewed by: mike
MFC after: 3 days

22 years agoo GC totalphysmem and resvmem.
marcel [Tue, 2 Apr 2002 07:20:42 +0000 (07:20 +0000)]
o  GC totalphysmem and resvmem.
o  Rephrase comment describing that the memory region can contain
   the kernel.

22 years agoMore newcard devices:
imp [Tue, 2 Apr 2002 05:52:52 +0000 (05:52 +0000)]
More newcard devices:
Netgear FA-410TXC
Netgear FA-411
Lantech Fastnet TX
Linksys pcm100
Hide the total wildcard device for SVEC too :-(

Obtained from: NetBSD/OpenBSD

22 years agoUpdate comment regarding the locking of the sysctl tree.
rwatson [Tue, 2 Apr 2002 05:50:07 +0000 (05:50 +0000)]
Update comment regarding the locking of the sysctl tree.

Rename memlock to sysctllock, and MEMLOCK()/MEMUNLOCK() to SYSCTL_LOCK()/
SYSCTL_UNLOCK() and related changes to make the lock names make more
sense.

Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoAdd some devices from OpenBSD/NetBSD:
imp [Tue, 2 Apr 2002 05:49:09 +0000 (05:49 +0000)]
Add some devices from OpenBSD/NetBSD:

o 3Com 3crwe62092a
o Addtron awp100
o No Wires Necessary WLAN 550 and 1148
o Proxim RANGELANDS 8340

and reorder linksys to be in proper sort order.

Obtained from: OpenBSD (mostly)

22 years agoRegen for 1.30 pccarddevs
imp [Tue, 2 Apr 2002 05:47:08 +0000 (05:47 +0000)]
Regen for 1.30 pccarddevs

22 years agoActually merge proxim rangelands and addtron awp-100
imp [Tue, 2 Apr 2002 05:46:10 +0000 (05:46 +0000)]
Actually merge proxim rangelands and addtron awp-100

22 years agoregen to 1.29 pccarddevs
imp [Tue, 2 Apr 2002 05:39:40 +0000 (05:39 +0000)]
regen to 1.29 pccarddevs

22 years agoMerge from both NetBSD and OpenBSD's pcmciadevs:
imp [Tue, 2 Apr 2002 05:39:07 +0000 (05:39 +0000)]
Merge from both NetBSD and OpenBSD's pcmciadevs:
NetBSD:
1.163; martin; ELSA MicroLink mc all
1.162; is; typo
1.161; is; typo
1.160; is; Add Lantech Fastnet/TX
OpenBSD:
1.85; millert; proxim rangelan-ds
1.84; provos; linksys wpc11
1.83; mickey; now wires needed wlan
1.82; mickey; socket low power wlan from netbsd [*]
1.81; mickey; ericsson wlan
1.80; fgsch; add openbsd tag back (not needed)
1.79; fgsch; Netgear FA411
1.78; mickey; simple spectrum25 from netbsd [*]
1.77; mickey; emtac wavelan from netbsd [*]
1.76; mickey; buffalo wavelans from netbsd [*]
1.75; jakob; 3com wilress lan pccard
1.74; mickey; linksys2 instant wireless
1.73; mickey; oops (add closing quote)
1.72; mickey; pcm100
[*] (already in freebsd)

Obtained from: NetBSD, OpenBSD

22 years agoConnect ktrdump to the build. <cringe>.
jake [Tue, 2 Apr 2002 04:28:57 +0000 (04:28 +0000)]
Connect ktrdump to the build.  <cringe>.

22 years agoAdd a man page.
jake [Tue, 2 Apr 2002 04:26:37 +0000 (04:26 +0000)]
Add a man page.

Submitted by: davidc

22 years ago1. Add missing include of stdint.h.
jake [Tue, 2 Apr 2002 04:24:59 +0000 (04:24 +0000)]
1. Add missing include of stdint.h.
2. Fix reversed arguments to strcpy.

Noticed by: davidc (2)

22 years agoUse sx locks instead of flags+tsleep locks.
alfred [Tue, 2 Apr 2002 04:20:38 +0000 (04:20 +0000)]
Use sx locks instead of flags+tsleep locks.

Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoUse sx locks rather than lockmgr locks for eventhandlers.
alfred [Tue, 2 Apr 2002 04:18:54 +0000 (04:18 +0000)]
Use sx locks rather than lockmgr locks for eventhandlers.

Submitted by: Jonathan Mini <mini@haikugeek.com>

22 years agoMake this compile again after the recent NetBSD merge
imp [Tue, 2 Apr 2002 03:39:33 +0000 (03:39 +0000)]
Make this compile again after the recent NetBSD merge

22 years agoAdd myself.
nork [Tue, 2 Apr 2002 03:16:50 +0000 (03:16 +0000)]
Add myself.

Reviewed by: knu (mentor)

22 years agoAdd if_wi_{pccard,pci}.c for pccard and pci bus front ends
imp [Tue, 2 Apr 2002 02:50:48 +0000 (02:50 +0000)]
Add if_wi_{pccard,pci}.c for pccard and pci bus front ends

22 years agoFirst cut at breaking out the bus attachment from the bus independent
imp [Tue, 2 Apr 2002 02:38:35 +0000 (02:38 +0000)]
First cut at breaking out the bus attachment from the bus independent
part of the driver.  Also, move the softc and some other stuff to
if_wivar.h from if_wireg.h to make future merging activities easier.

22 years agoMinor changes to make this work on sparc64.
jake [Tue, 2 Apr 2002 02:19:02 +0000 (02:19 +0000)]
Minor changes to make this work on sparc64.

Approved by: jdp
Tested on: alpha, i386, sparc64

22 years agoMutex profiling code, conditional on the MUTEX_PROFILING option. Adds the
des [Tue, 2 Apr 2002 00:01:49 +0000 (00:01 +0000)]
Mutex profiling code, conditional on the MUTEX_PROFILING option.  Adds the
following sysctl variables:

  debug.mutex.prof.enable     enable / disable profiling
  debug.mutex.prof.acquisitions     number of mutex acquisitions recorded
  debug.mutex.prof.records     number of acquisition points recorded
  debug.mutex.prof.maxrecords     max number of acquisition points
  debug.mutex.prof.rejected     number of rejections (due to full table)
  debug.mutex.prof.hashsize     hash size
  debug.mutex.prof.collisions     number of hash collisions
  debug.mutex.prof.stats     profiling statistics

The code records four numbers for each acquisition point (identified by
source file name and line number): longest time held, total time held,
number of non-recursive acquisitions, average time held.  The measurements
are in clock cycles (as returned by get_cyclecount(9)); this may cause
measurements on some SMP systems to be unreliable.  This can probably be
worked around by replacing get_cyclecount(9) by some incarnation of
nanotime(9).

This work was derived from initial patches by eivind.

22 years agoStage-2 commit of the critical*() code. This re-inlines cpu_critical_enter()
dillon [Mon, 1 Apr 2002 23:51:23 +0000 (23:51 +0000)]
Stage-2 commit of the critical*() code.  This re-inlines cpu_critical_enter()
and cpu_critical_exit() and moves associated critical prototypes into their
own header file, <arch>/<arch>/critical.h, which is only included by the
three MI source files that need it.

Backout and re-apply improperly comitted syntactical cleanups made to files
that were still under active development.  Backout improperly comitted program
structure changes that moved localized declarations to the top of two
procedures.  Partially re-apply one of the program structure changes to
move 'mask' into an intermediate block rather then in three separate
sub-blocks to make the code more readable.  Re-integrate bug fixes that Jake
made to the sparc64 code.

Note: In general, developers should not gratuitously move declarations out
of sub-blocks.  They are where they are for reasons of structure, grouping,
readability, compiler-localizability, and to avoid developer-introduced bugs
similar to several found in recent years in the VFS and VM code.

Reviewed by: jake

22 years agoAdd support for booting from CD-ROM. Make it possible to enable UFS
tmm [Mon, 1 Apr 2002 23:28:35 +0000 (23:28 +0000)]
Add support for booting from CD-ROM. Make it possible to enable UFS
support using make arguments.

22 years ago1.) Produce a boot1 disklabel template of the format disklabel(8) expects.
tmm [Mon, 1 Apr 2002 22:57:51 +0000 (22:57 +0000)]
1.) Produce a boot1 disklabel template of the format disklabel(8) expects.
2.) Clean up and change over to using bsd.prog.mk

Submitted by: jake (2)

22 years agoFix SCM IDs.
obrien [Mon, 1 Apr 2002 22:56:56 +0000 (22:56 +0000)]
Fix SCM IDs.

22 years agoAllow to compile a YACC produced file with GCC 3.1 (which has different
obrien [Mon, 1 Apr 2002 22:55:01 +0000 (22:55 +0000)]
Allow to compile a YACC produced file with GCC 3.1 (which has different
header searching rules for generated files with #line).

22 years agoMFNetBSD:
joe [Mon, 1 Apr 2002 22:03:37 +0000 (22:03 +0000)]
MFNetBSD:
    revision 1.140
    date: 2001/10/24 20:20:03;  author: augustss;  state: Exp;  lines: +9 -5
    More debug.

22 years agoMFNetBSD:
joe [Mon, 1 Apr 2002 21:56:42 +0000 (21:56 +0000)]
MFNetBSD:
    revision 1.138
    date: 2001/10/02 17:59:38;  author: pooka;  state: Exp;  lines: +6 -6
    move DIAGNOSTIC-printf up one block to make it reachable
    noted by Christophe Kalt in private email