]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoHandle kvm_getprocs() returning nothing. Dont pass -1 to a size
Peter Wemm [Fri, 24 Aug 2001 09:53:26 +0000 (09:53 +0000)]
Handle kvm_getprocs() returning nothing.  Dont pass -1 to a size
for malloc().

23 years agoMake ps -M corefile work again. This has been broken for quite some time.
Peter Wemm [Fri, 24 Aug 2001 09:43:44 +0000 (09:43 +0000)]
Make ps -M corefile work again.  This has been broken for quite some time.
kvm_proclist() was aborting when it saw the ithreads with no pgrp.

23 years agoBanish hard-coded KERNBASE references from savecore. Dynamically
Peter Wemm [Fri, 24 Aug 2001 09:26:17 +0000 (09:26 +0000)]
Banish hard-coded KERNBASE references from savecore.  Dynamically
adjust to whatever kernbase is in the kernel that we are dumping.

23 years agoDynamically adapt to kernbase changes on crashdumps, falling back to
Peter Wemm [Fri, 24 Aug 2001 09:12:04 +0000 (09:12 +0000)]
Dynamically adapt to kernbase changes on crashdumps, falling back to
KERNBASE if the "kernbase" symbol is not present on older kernels.

23 years agoDynamically adjust to the value of KERNBASE in a crashdump, with
Peter Wemm [Fri, 24 Aug 2001 08:53:30 +0000 (08:53 +0000)]
Dynamically adjust to the value of KERNBASE in a crashdump, with
a fallback for old kernels without the "kernbase" symbol.

23 years agoExport the actual KERNBASE to the symbol table. We can use nlist() to get
Peter Wemm [Fri, 24 Aug 2001 08:29:54 +0000 (08:29 +0000)]
Export the actual KERNBASE to the symbol table.  We can use nlist() to get
this without having to second guess it in userland.

23 years agoMove cpu_fxsr definition to C code (so debug info is generated) and where
Peter Wemm [Fri, 24 Aug 2001 08:27:24 +0000 (08:27 +0000)]
Move cpu_fxsr definition to C code (so debug info is generated) and where
it is easily #ifdef'ed so that we dont miss unintentional references to it.

23 years agoMove code to shutdown the pcic_pci_shutdown. Call it on system
Warner Losh [Fri, 24 Aug 2001 07:43:35 +0000 (07:43 +0000)]
Move code to shutdown the pcic_pci_shutdown.  Call it on system
shutdown and also before we get going with the device initialization.
This may fix the hangs some people are seeing on warmboot.  It appears
that some machines will reset the cardbus bridge on boot, while others
don't.  So we turn off the card, and ack the interrupts (which likely
is a nop in the shutdown case since we're still fielding interrupts).
This should turn off the interrupts.

Since I don't have hardware that hangs on reboot, I'm committing this
without testing that aspect of the patch (it causes no harm on my
Dell).

23 years agoTwo fixes. First, put into place a more generic chipset specific
Warner Losh [Fri, 24 Aug 2001 07:30:18 +0000 (07:30 +0000)]
Two fixes.  First, put into place a more generic chipset specific
initialization structure.  Warn the user for those chipsets that
aren't yet customized that they might not work.  Second, try to power
off the slot on attach and ack the interrupts.  I don't know, but this
might solve the hangs that people will see on Thinkpads if they set
hw.pcic.init_routing=1.

23 years agoGet rid of redundant device_set_desc. Both the PCI and PCCARD versions
Nick Sayer [Fri, 24 Aug 2001 05:47:50 +0000 (05:47 +0000)]
Get rid of redundant device_set_desc. Both the PCI and PCCARD versions
do this in the probe routine now.

23 years agoRemove a duplicate "that".
Kenneth D. Merry [Fri, 24 Aug 2001 02:24:58 +0000 (02:24 +0000)]
Remove a duplicate "that".

Submitted by: "Sergey A. Osokin" <osa@freebsd.org.ru>

23 years agoIn order for the MA301 to pass interrupts from the PCCard, you must
Nick Sayer [Fri, 24 Aug 2001 02:14:26 +0000 (02:14 +0000)]
In order for the MA301 to pass interrupts from the PCCard, you must
go into the PLX 9052's interrupt control register and turn on the magic
interrupt enable bit.

Partial thanks are due to OpenBSD for pointing out that the chip is a
PLX 9052 and pointing me to the datasheet PDF.

23 years agoo Clarify comments in vaccess_acl_posix1e() ACL evaluation routine so
Robert Watson [Fri, 24 Aug 2001 01:41:42 +0000 (01:41 +0000)]
o Clarify comments in vaccess_acl_posix1e() ACL evaluation routine so
  as to improve readability and accuracy.

Obtained from: TrustedBSD Project

23 years agoReflect that the lge(4) driver has been tested on the Alpha.
Bruce A. Mah [Fri, 24 Aug 2001 00:30:50 +0000 (00:30 +0000)]
Reflect that the lge(4) driver has been tested on the Alpha.

Reviewed by: wpaul

23 years agobegin executed --> being executed
Dima Dorfman [Fri, 24 Aug 2001 00:18:37 +0000 (00:18 +0000)]
begin executed --> being executed

Obtained from: NetBSD

23 years agoif_wi can be either pci (without pccard) or pccard
Nick Sayer [Thu, 23 Aug 2001 23:58:49 +0000 (23:58 +0000)]
if_wi can be either pci (without pccard) or pccard

23 years ago- callout_stop() now returns an integer value instead of void so
John Baldwin [Thu, 23 Aug 2001 23:52:59 +0000 (23:52 +0000)]
- callout_stop() now returns an integer value instead of void so
  describe it.
- Add a return values section.

23 years agoSpelling fix: depreciated -> deprecated.
John Baldwin [Thu, 23 Aug 2001 23:41:53 +0000 (23:41 +0000)]
Spelling fix: depreciated -> deprecated.

23 years agoRemove refernces to M_ASLEEP/asleep/await.
John Baldwin [Thu, 23 Aug 2001 23:40:53 +0000 (23:40 +0000)]
Remove refernces to M_ASLEEP/asleep/await.

23 years agoRemove references to asleep/await.
John Baldwin [Thu, 23 Aug 2001 23:37:31 +0000 (23:37 +0000)]
Remove references to asleep/await.

23 years agoUse witness_upgrade/downgrade for sx_try_upgrade/downgrade.
John Baldwin [Thu, 23 Aug 2001 22:51:22 +0000 (22:51 +0000)]
Use witness_upgrade/downgrade for sx_try_upgrade/downgrade.

23 years agoWhitespace nit.
John Baldwin [Thu, 23 Aug 2001 22:47:51 +0000 (22:47 +0000)]
Whitespace nit.

23 years agoAdd witness_upgrade() and witness_downgrade() for handling upgrades and
John Baldwin [Thu, 23 Aug 2001 22:47:05 +0000 (22:47 +0000)]
Add witness_upgrade() and witness_downgrade() for handling upgrades and
downgrades of shared/exclusive locks.

23 years agoConvert some KASSERT()'s into if (foo) panic() because they are testing
John Baldwin [Thu, 23 Aug 2001 22:44:47 +0000 (22:44 +0000)]
Convert some KASSERT()'s into if (foo) panic() because they are testing
how locks are managed by the rest of the kernel, not verifying the internal
integrity of witness itself.

23 years agoKilled reference to MAP_INHERIT which is not supported in FreeBSD.
David Greenman [Thu, 23 Aug 2001 22:39:52 +0000 (22:39 +0000)]
Killed reference to MAP_INHERIT which is not supported in FreeBSD.

23 years agoCorrect the comment about bpfattach() to match reality.
Dima Dorfman [Thu, 23 Aug 2001 22:38:08 +0000 (22:38 +0000)]
Correct the comment about bpfattach() to match reality.

PR: 29967
Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoCorrect a typo in a comment: FIN_WAIT2 -> FIN_WAIT_2
Dima Dorfman [Thu, 23 Aug 2001 22:34:29 +0000 (22:34 +0000)]
Correct a typo in a comment: FIN_WAIT2 -> FIN_WAIT_2

PR: 29970
Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoImplement `stty ek` as documented.
Dima Dorfman [Thu, 23 Aug 2001 22:31:13 +0000 (22:31 +0000)]
Implement `stty ek` as documented.

PR: 24063
Submitted by: Seth Kingsley <sethk@osd.bsdi.com>

23 years ago$units is the canonical name for the number of units to create; use it.
Dima Dorfman [Thu, 23 Aug 2001 22:19:53 +0000 (22:19 +0000)]
$units is the canonical name for the number of units to create; use it.

PR: 29971
Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoSpelling police: queueing -> queuing
Dima Dorfman [Thu, 23 Aug 2001 21:58:38 +0000 (21:58 +0000)]
Spelling police: queueing -> queuing

PR: 29985
Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoSpelling police: relabelled -> relabeled
Dima Dorfman [Thu, 23 Aug 2001 21:52:38 +0000 (21:52 +0000)]
Spelling police: relabelled -> relabeled

PR: 29985
Submitted by: {aac,amr,mlx}.4

23 years agoCapitalize Linux where appropriate.
Dima Dorfman [Thu, 23 Aug 2001 21:51:16 +0000 (21:51 +0000)]
Capitalize Linux where appropriate.

Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoThis commit was generated by cvs2svn to compensate for changes in r82230,
Jeroen Ruigrok van der Werven [Thu, 23 Aug 2001 21:46:59 +0000 (21:46 +0000)]
This commit was generated by cvs2svn to compensate for changes in r82230,
which included commits to RCS files with non-trunk default branches.

23 years agoString format patch
Jeroen Ruigrok van der Werven [Thu, 23 Aug 2001 21:46:59 +0000 (21:46 +0000)]
String format patch

23 years agoSpelling police: withough -> without
Dima Dorfman [Thu, 23 Aug 2001 21:36:18 +0000 (21:36 +0000)]
Spelling police: withough -> without

Submitted by: Joseph Mallett <jmallett@xMach.org>

23 years agoThe name of the kernel really isn't KERNEL now.
Dima Dorfman [Thu, 23 Aug 2001 21:17:28 +0000 (21:17 +0000)]
The name of the kernel really isn't KERNEL now.

Submitted by: setantae@submonkey.net

23 years agoNew release note: SA-01:56.
Bruce A. Mah [Thu, 23 Aug 2001 21:14:42 +0000 (21:14 +0000)]
New release note:  SA-01:56.

Fix entry on SA-01:55, which was mislabeled as SA-01:54.  Also fix a
typo (I still can't spell "compatibility" correctly, it seems).

23 years ago``recognized -> recognize'' where appropriate.
Dima Dorfman [Thu, 23 Aug 2001 21:13:31 +0000 (21:13 +0000)]
``recognized -> recognize'' where appropriate.

Obtained from: OpenBSD

23 years agoAdd a new kernel option RESTARTABLE_PANICS. If this option is present,
John Baldwin [Thu, 23 Aug 2001 20:32:21 +0000 (20:32 +0000)]
Add a new kernel option RESTARTABLE_PANICS.  If this option is present,
then one can restart from a panic by resetting the panicstr variable to
NULL.  This commit conditionalizes the previously committed functionality
on this variable.  It also removes the __dead2 attribute from the panic()
function so that when one continues from a panic() the behavior will
be predictable.

23 years agoMisc. changes:
Jimmy Olgeni [Thu, 23 Aug 2001 19:54:11 +0000 (19:54 +0000)]
Misc. changes:

* Rename cvsup-bin to cvsup (cvsup-bin does not exist anymore).
* Add the net/rsync port to the CDROM packages.
* Add the misc/compat* ports.

Approved by: jkh

23 years agoNow we implement l_len<0 per POSIX, describe it.
Andrey A. Chernov [Thu, 23 Aug 2001 19:00:34 +0000 (19:00 +0000)]
Now we implement l_len<0 per POSIX, describe it.

23 years agoExpansions and clarification of some existing release notes items.
Bruce A. Mah [Thu, 23 Aug 2001 18:39:04 +0000 (18:39 +0000)]
Expansions and clarification of some existing release notes items.

Submitted by: Alex Kapranoff <kapr@acm.org>

23 years agoFix a bug in the ste_setmulti() routine. The NIC has 4 16-bit multicast
Bill Paul [Thu, 23 Aug 2001 18:22:55 +0000 (18:22 +0000)]
Fix a bug in the ste_setmulti() routine. The NIC has 4 16-bit multicast
hash registers, not 2 32-bit ones. This would prevent the multicasr filter
from being programmed correctly in some cases.

23 years agoStupid error from my side in prev. commit: || -> &&
Andrey A. Chernov [Thu, 23 Aug 2001 18:02:29 +0000 (18:02 +0000)]
Stupid error from my side in prev. commit: || -> &&

23 years agoClear the sx_xholder pointer when downgrading an exclusive lock.
John Baldwin [Thu, 23 Aug 2001 17:57:37 +0000 (17:57 +0000)]
Clear the sx_xholder pointer when downgrading an exclusive lock.

23 years agovn_stat(): if va_size (u_quad_t) > OFF_MAX, return EOVERFLOW, don't copy it
Andrey A. Chernov [Thu, 23 Aug 2001 17:56:48 +0000 (17:56 +0000)]
vn_stat(): if va_size (u_quad_t) > OFF_MAX, return EOVERFLOW, don't copy it
blindly to st_size

23 years agoCopy yet one check for SEEK_END overflow
Andrey A. Chernov [Thu, 23 Aug 2001 17:12:42 +0000 (17:12 +0000)]
Copy yet one check for SEEK_END overflow

23 years agoAdd yet one check for SEEK_END overflow
Andrey A. Chernov [Thu, 23 Aug 2001 17:09:23 +0000 (17:09 +0000)]
Add yet one check for SEEK_END overflow

23 years agoBail if we go beyond the directory size, not just if we hit it.
Andrew Gallatin [Thu, 23 Aug 2001 17:08:26 +0000 (17:08 +0000)]
Bail if we go beyond the directory size, not just if we hit it.
Certain ISO fs's (like the one for 4.4-RC1 disc1 on alpha)
trigger this, and we end up opening a null file name.  This causes us to get
a false match for "kernel.ko" when it does not exist.

23 years agolseek: fix check for vattr.va_size overflow. Check suggested by bde simple not
Andrey A. Chernov [Thu, 23 Aug 2001 17:01:25 +0000 (17:01 +0000)]
lseek: fix check for vattr.va_size overflow. Check suggested by bde simple not
works with unsigned types.

23 years agoImplement l_len<0 per POSIX check.
Andrey A. Chernov [Thu, 23 Aug 2001 16:13:59 +0000 (16:13 +0000)]
Implement l_len<0 per POSIX check.
Check for valid l_whence too.

23 years agoCopy my newly introduced l_len<0 'oops' fix from kern_lockf.c
Andrey A. Chernov [Thu, 23 Aug 2001 16:06:14 +0000 (16:06 +0000)]
Copy my newly introduced l_len<0 'oops' fix from kern_lockf.c

23 years agoOops, fix my broken handling of new l_len<0 case
Andrey A. Chernov [Thu, 23 Aug 2001 16:00:27 +0000 (16:00 +0000)]
Oops, fix my broken handling of new l_len<0 case

23 years agoCopy POSIX l_len<0 handling from kern_lockf.c
Andrey A. Chernov [Thu, 23 Aug 2001 15:44:24 +0000 (15:44 +0000)]
Copy POSIX l_len<0 handling from kern_lockf.c

23 years agoOriginally BSD return EINVAL for l_len < 0, but now POSIX wants it too,
Andrey A. Chernov [Thu, 23 Aug 2001 15:40:30 +0000 (15:40 +0000)]
Originally BSD return EINVAL for l_len < 0, but now POSIX wants it too,
so implement POSIX l_len < 0 handling.

23 years agoFix typo in repo damage message.
Warner Losh [Thu, 23 Aug 2001 15:39:27 +0000 (15:39 +0000)]
Fix typo in repo damage message.

Submitted by: Vadim Ostranitsyn <vadim@tsu.ru>

23 years agoCosmetique: correct English in comments
Andrey A. Chernov [Thu, 23 Aug 2001 14:49:02 +0000 (14:49 +0000)]
Cosmetique: correct English in comments

23 years agoCosmetique: correct English in comments
Andrey A. Chernov [Thu, 23 Aug 2001 14:45:31 +0000 (14:45 +0000)]
Cosmetique: correct English in comments
non-cosmetique: add missing break; - original code was broken here

23 years agoCosmetique: correct English in comments
Andrey A. Chernov [Thu, 23 Aug 2001 14:41:39 +0000 (14:41 +0000)]
Cosmetique: correct English in comments

Pointed by: bde

23 years agoEven better move: suppose that server is able to handle SEEK_END,
Andrey A. Chernov [Thu, 23 Aug 2001 14:21:26 +0000 (14:21 +0000)]
Even better move: suppose that server is able to handle SEEK_END,
so check arguments for all but not SEEK_END case, leaving SEEK_END
handling for server

23 years agoApparently SEEK_END locking not supported by NFS. Previous variant
Andrey A. Chernov [Thu, 23 Aug 2001 14:09:16 +0000 (14:09 +0000)]
Apparently SEEK_END locking not supported by NFS. Previous variant
returns EINVAL in that case, change it to EOPNOTSUPP.

23 years agoCosmetique: more <sys/*> into one group, separate include families by
Andrey A. Chernov [Thu, 23 Aug 2001 13:51:17 +0000 (13:51 +0000)]
Cosmetique: more <sys/*> into one group, separate include families by
blank line

23 years agoInvoke named with privilege of bind:bind.
Jun Kuriyama [Thu, 23 Aug 2001 13:34:45 +0000 (13:34 +0000)]
Invoke named with privilege of bind:bind.
Change pidfile location to /var/run/named/pid.

23 years agoMove <machine/*> after <sys/*>
Andrey A. Chernov [Thu, 23 Aug 2001 13:27:58 +0000 (13:27 +0000)]
Move <machine/*> after <sys/*>

Pointed by: bde

23 years agoMove <machine/*> after <sys/*>
Andrey A. Chernov [Thu, 23 Aug 2001 13:21:17 +0000 (13:21 +0000)]
Move <machine/*> after <sys/*>

Pointed by: bde

23 years agoMove <machine/*> after <sys/*>
Andrey A. Chernov [Thu, 23 Aug 2001 13:19:32 +0000 (13:19 +0000)]
Move <machine/*> after <sys/*>
Add missing fdrop() before EOVERFLOW

Pointed by: bde

23 years agoFix my previous snprintf() patches (which were largely no-ops).
Brian Somers [Thu, 23 Aug 2001 12:53:15 +0000 (12:53 +0000)]
Fix my previous snprintf() patches (which were largely no-ops).

Mostly submitted by: bde

23 years agothe feederchain builder is currently broken for recording channels. disable
Cameron Grant [Thu, 23 Aug 2001 12:27:27 +0000 (12:27 +0000)]
the feederchain builder is currently broken for recording channels.  disable
it until it is fixed.  this limits recording to native formats and speeds
only.

23 years agohandle bogus values passed to SOUND_PCM_WRITE_CHANNELS/SNDCTL_DSP_CHANNELS
Cameron Grant [Thu, 23 Aug 2001 12:21:12 +0000 (12:21 +0000)]
handle bogus values passed to SOUND_PCM_WRITE_CHANNELS/SNDCTL_DSP_CHANNELS
ioctls better- if 0 is passed, return the current setting.  if 1 or 2 are
passed, behave accordingly.  treat values >2 as 2.

PR: kern/29964

23 years agomake the 4dwave nx chip work
Cameron Grant [Thu, 23 Aug 2001 12:02:29 +0000 (12:02 +0000)]
make the 4dwave nx chip work
Submitted by: Philippe Anel <xigh@noos.fr>

23 years agoMFS: make SNDCTL_DSP_SETTRIGGER work
Cameron Grant [Thu, 23 Aug 2001 11:58:38 +0000 (11:58 +0000)]
MFS: make SNDCTL_DSP_SETTRIGGER work

23 years agoMFS: allow multiple opens of mixer devices
Cameron Grant [Thu, 23 Aug 2001 11:56:07 +0000 (11:56 +0000)]
MFS: allow multiple opens of mixer devices

23 years agomany changes:
Cameron Grant [Thu, 23 Aug 2001 11:30:52 +0000 (11:30 +0000)]
many changes:

* add new channels to the end of the list so channels used in order of
addition

* de-globalise definition of struct snddev_info and provide accessor
functions where necessary.

* move the $FreeBSD$ tag in each .c file into a macro and allow the
/dev/sndstat handler to display these when set to maximum verbosity to aid
debugging.

* allow each device to register its own sndstat handler to reduce the amount
of groping sndstat must do in foreign structs.

23 years agoRephrasing prev. commit a bit.
Andrey A. Chernov [Thu, 23 Aug 2001 09:55:10 +0000 (09:55 +0000)]
Rephrasing prev. commit a bit.

23 years agoDescribe EOVERFLOW, EOPNOTSUPP and reaction to negative l_len
Andrey A. Chernov [Thu, 23 Aug 2001 09:42:30 +0000 (09:42 +0000)]
Describe EOVERFLOW, EOPNOTSUPP and reaction to negative l_len

23 years agoadv. lock:
Andrey A. Chernov [Thu, 23 Aug 2001 08:54:22 +0000 (08:54 +0000)]
adv. lock:
copy EOVERFLOW handling code from main variant
fix type of 'size' arg

23 years agoadv. lock:
Andrey A. Chernov [Thu, 23 Aug 2001 08:20:21 +0000 (08:20 +0000)]
adv. lock:
detect off_t overflow _before_ it occurse and return EOVERFLOW instead of
EINVAL

23 years agoDetect off_t EOVERFLOW of start/end offsets calculations for adv. lock,
Andrey A. Chernov [Thu, 23 Aug 2001 07:42:40 +0000 (07:42 +0000)]
Detect off_t EOVERFLOW of start/end offsets calculations for adv. lock,
as POSIX require.

23 years agoBring in some iostat fixes that bde reminded me about. These fixes were
Kenneth D. Merry [Thu, 23 Aug 2001 03:19:54 +0000 (03:19 +0000)]
Bring in some iostat fixes that bde reminded me about.  These fixes were
originally written in January, 2000, but have been substantially updated.

- No longer use hz/stathz and the CPU times in computing the TTY stats,
  but rather use etime, like the disk stats.
- Clean up malloc/realloc failure tests.
- Use a new integrated routine to fetch devstat information via sysctl or
  KVM.
- Get rid of the X() macro for calculating CPU stats
- Use rint() on the CPU state display to avoid truncation errors.  (this
  requires libm)
- Clean up flag usage somewhat.

Reviewed by: bde

23 years agoOops. The new pci_ids array should be static.
Nick Sayer [Thu, 23 Aug 2001 03:06:16 +0000 (03:06 +0000)]
Oops. The new pci_ids array should be static.

23 years agoFix a #endif misplacement in 1.231 due to misapplied patch
Peter Wemm [Thu, 23 Aug 2001 01:50:31 +0000 (01:50 +0000)]
Fix a #endif misplacement in 1.231 due to misapplied patch

Pointy hat to: peter

23 years agoFix a comment error that was fixed in the pc98 version. hw.maxmem is
Peter Wemm [Thu, 23 Aug 2001 01:49:12 +0000 (01:49 +0000)]
Fix a comment error that was fixed in the pc98 version.  hw.maxmem is
really hw.physmem.

23 years agoMerge i386/machdep.c rev 1.474: dont overextend %cs. (finally, it doesn't
Peter Wemm [Thu, 23 Aug 2001 01:47:26 +0000 (01:47 +0000)]
Merge i386/machdep.c rev 1.474: dont overextend %cs.  (finally, it doesn't
conflict with unmerged changes)

23 years agoMerge i386/machdep.c rev 1.469: whitespace changes to fit 80 columns
Peter Wemm [Thu, 23 Aug 2001 01:46:23 +0000 (01:46 +0000)]
Merge i386/machdep.c rev 1.469: whitespace changes to fit 80 columns

Forgotten by: jhb

23 years agoMerge i386/machdep.c rev 1.468: make breakpoint/trace interrupt instead
Peter Wemm [Thu, 23 Aug 2001 01:43:38 +0000 (01:43 +0000)]
Merge i386/machdep.c rev 1.468: make breakpoint/trace interrupt instead
of trap gates

Forgotten by: bde

23 years agoMerge 386/machdep.c rev 1.467: fix bugs/miscalculations
Peter Wemm [Thu, 23 Aug 2001 01:42:21 +0000 (01:42 +0000)]
Merge 386/machdep.c rev 1.467: fix bugs/miscalculations

Forgotten by:  iwasaki

23 years agoIdentical to i386/machdep.c rev 1.473: move submap initialization to MI.
Peter Wemm [Thu, 23 Aug 2001 01:36:54 +0000 (01:36 +0000)]
Identical to i386/machdep.c rev 1.473: move submap initialization to MI.

23 years agoMerge i386/machdep.c rev 1.472: Fix bug in physmem_est and maxbcache
Peter Wemm [Thu, 23 Aug 2001 01:34:35 +0000 (01:34 +0000)]
Merge i386/machdep.c rev 1.472: Fix bug in physmem_est and maxbcache
calculation

Forgotten by: dillon

23 years agoMerge i386/machdep.c rev 1.470. Limit KVM for buffer cache etc.
Peter Wemm [Thu, 23 Aug 2001 01:30:51 +0000 (01:30 +0000)]
Merge i386/machdep.c rev 1.470. Limit KVM for buffer cache etc.

Forgotten by: dillon

23 years agoDont add UPAGES to the %cs segment limit. There is nothing there except
Peter Wemm [Thu, 23 Aug 2001 01:25:21 +0000 (01:25 +0000)]
Dont add UPAGES to the %cs segment limit.  There is nothing there except
page tables.

23 years agoDo not printf when we get called as a result of a pci shared interrupt,
Peter Wemm [Thu, 23 Aug 2001 01:16:10 +0000 (01:16 +0000)]
Do not printf when we get called as a result of a pci shared interrupt,
and add a comment to that effect.

23 years agoRevert part of the last commit, as suggested by Nick. This is expected,
Peter Wemm [Thu, 23 Aug 2001 01:12:35 +0000 (01:12 +0000)]
Revert part of the last commit, as suggested by Nick.  This is expected,
it is part of the way PCI shared interrupts work.

23 years agoDont compile in SSE fxsave/fxrstor instructions if CPU_ENABLE_SSE isn't
Peter Wemm [Thu, 23 Aug 2001 01:03:56 +0000 (01:03 +0000)]
Dont compile in SSE fxsave/fxrstor instructions if CPU_ENABLE_SSE isn't
active.

23 years agoAdd support for the Netgear MA301 PCI adapter for the MA401.
Nick Sayer [Thu, 23 Aug 2001 00:57:40 +0000 (00:57 +0000)]
Add support for the Netgear MA301 PCI adapter for the MA401.

It appears that a number of PrismII card vendors seem to be doing the
same thing (that is, using the same PCI bridge chip) to support PCI,
but each with their own vendor/product ID. So rather than cut-n-paste
another if statement into the probe routine, it's probably better to
provide support for a table. Adding new devices will be a lot easier
that way.

23 years agoTypo and markup fixes.
Bruce A. Mah [Wed, 22 Aug 2001 23:50:53 +0000 (23:50 +0000)]
Typo and markup fixes.

Submitted by: Alex Kapranoff <kapr@acm.org>

23 years agoThe name of the kernel is KERNCONF, not KERNEL now.
Jordan K. Hubbard [Wed, 22 Aug 2001 23:43:19 +0000 (23:43 +0000)]
The name of the kernel is KERNCONF, not KERNEL now.

23 years agoRegenerate from syscalls.master using the new makesyscalls.sh revision.
Thomas Moestl [Wed, 22 Aug 2001 23:27:20 +0000 (23:27 +0000)]
Regenerate from syscalls.master using the new makesyscalls.sh revision.

23 years agoAdd padding before each element of the syscall argument structures in
Thomas Moestl [Wed, 22 Aug 2001 23:22:47 +0000 (23:22 +0000)]
Add padding before each element of the syscall argument structures in
sysproto.h in addition to the existing padding afterwards.
This is needed to support big-endian architectures like sparc64.

Reviewed by: bde
Tested on alpha by: jhb

23 years agoAdd myself.
Pete Fritchman [Wed, 22 Aug 2001 23:13:55 +0000 (23:13 +0000)]
Add myself.

Reviewed by: ade

23 years agoFix a simple typo I just happened to find.
Alexander Langer [Wed, 22 Aug 2001 19:12:24 +0000 (19:12 +0000)]
Fix a simple typo I just happened to find.