]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
21 years agoNuke whitespace at EOL.
Dima Dorfman [Sun, 28 Jul 2002 06:59:40 +0000 (06:59 +0000)]
Nuke whitespace at EOL.

21 years agoCorrect misindentation of DRA_UID.
Dima Dorfman [Sun, 28 Jul 2002 06:57:57 +0000 (06:57 +0000)]
Correct misindentation of DRA_UID.

21 years agoWhat we're actually passing around is an ioctl request, not a command,
Dima Dorfman [Sun, 28 Jul 2002 06:57:13 +0000 (06:57 +0000)]
What we're actually passing around is an ioctl request, not a command,
and it's an unsigned long, not an int.

21 years agoThis compiles cleanly with WARNS=5 on i386 and alpha, so try to make
Dima Dorfman [Sun, 28 Jul 2002 06:52:47 +0000 (06:52 +0000)]
This compiles cleanly with WARNS=5 on i386 and alpha, so try to make
sure that doesn't change.

21 years agoImplement this (quoted from the updated man page): If the first token
Dima Dorfman [Sun, 28 Jul 2002 06:45:30 +0000 (06:45 +0000)]
Implement this (quoted from the updated man page): If the first token
of a rule specification is a single dash (``-''), rules are read from
the standard input and the rest of the specification is ignored.

21 years ago o Lock page queue accesses by vm_page_free().
Alan Cox [Sun, 28 Jul 2002 05:46:47 +0000 (05:46 +0000)]
 o Lock page queue accesses by vm_page_free().
 o Increment cnt.v_dfree inside vm_pageout_page_free() rather than
   at each call.

21 years ago o Lock page queue accesses by vm_page_free().
Alan Cox [Sun, 28 Jul 2002 04:23:03 +0000 (04:23 +0000)]
 o Lock page queue accesses by vm_page_free().

21 years agoUse more standard section names in an attempt to unconfuse new users
Dima Dorfman [Sun, 28 Jul 2002 03:58:12 +0000 (03:58 +0000)]
Use more standard section names in an attempt to unconfuse new users
(and make it easier to find stuff for the old ones).  I originally put
everything under one "RULE SUBSYSTEM" so it didn't look like devfs(8)
is dedicated to the rule subsystem, but since nobody has any idea what
else might go here, it's not worth confusing people just to save a
little time for someone that might add something rule-unrelated to
devfs(8) in a few years.

Suggested by: sheldonh, phk

21 years agoAs of revision 1.38 of make/parse.c, our make(1) will warn too. Note that
Juli Mallett [Sun, 28 Jul 2002 03:57:08 +0000 (03:57 +0000)]
As of revision 1.38 of make/parse.c, our make(1) will warn too.  Note that
this isn't just for the sake of testing behaviour, and that things really
do break if this regression occurs.

21 years agoUnimplement panic(8) by making sure that we don't recurse into a
Dima Dorfman [Sun, 28 Jul 2002 03:52:44 +0000 (03:52 +0000)]
Unimplement panic(8) by making sure that we don't recurse into a
ruleset.  If we do, that means there's a ruleset loop (10 includes 20
include 30 includes 10), which will quickly cause a double fault due
to stack overflow (since "include" is implemented by recursion).
(Previously, we only checked that X didn't include X.)

21 years agoPrint a warning when we are given two scripts for one target. This is neither
Juli Mallett [Sun, 28 Jul 2002 03:52:41 +0000 (03:52 +0000)]
Print a warning when we are given two scripts for one target.  This is neither
as wide-reaching nor intensive as NetBSD's similar, but the warning uses the
same text.

Inspired by: NetBSD

21 years agoStock -current has more than 300 files in /etc, so 255 inodes for the
Dima Dorfman [Sun, 28 Jul 2002 03:41:53 +0000 (03:41 +0000)]
Stock -current has more than 300 files in /etc, so 255 inodes for the
/etc filesystem isn't enough; consequently, add "-i 4096" to the newfs
command for /etc.  This results in 1022 inodes, which should be enough
for the forseeable future (although I don't know why we would ever
have more than 1000 files in a default /etc).

Silence by: -current

21 years agoAdd a period to the end of the "starting" message to be consistent
Dima Dorfman [Sun, 28 Jul 2002 03:38:10 +0000 (03:38 +0000)]
Add a period to the end of the "starting" message to be consistent
with the rest of the output during a boot.

21 years agoCalculate checksums correctly when LSRR is in effect by passing the
Bill Fenner [Sun, 28 Jul 2002 02:34:39 +0000 (02:34 +0000)]
Calculate checksums correctly when LSRR is in effect by passing the
 IP header and protocol header seperately.
Also calculate TCP checksums.

Submitted by: orion

21 years agoUpdate for traceroute 1.4a12
Bill Fenner [Sun, 28 Jul 2002 02:27:07 +0000 (02:27 +0000)]
Update for traceroute 1.4a12

21 years agoMerge 1.4a12
Bill Fenner [Sun, 28 Jul 2002 02:26:31 +0000 (02:26 +0000)]
Merge 1.4a12

21 years agoThis commit was generated by cvs2svn to compensate for changes in r100784,
Bill Fenner [Sun, 28 Jul 2002 02:24:33 +0000 (02:24 +0000)]
This commit was generated by cvs2svn to compensate for changes in r100784,
which included commits to RCS files with non-trunk default branches.

21 years agoVirgin import of LBL traceroute v1.4a12
Bill Fenner [Sun, 28 Jul 2002 02:24:33 +0000 (02:24 +0000)]
Virgin import of LBL traceroute v1.4a12

21 years agoAdd declarations for btext and etext.
Jake Burkholder [Sun, 28 Jul 2002 01:01:14 +0000 (01:01 +0000)]
Add declarations for btext and etext.

21 years agoClarify J.S. Bach's life: he was only born once, and he died in Leipzig.
Greg Lehey [Sun, 28 Jul 2002 00:42:02 +0000 (00:42 +0000)]
Clarify J.S. Bach's life: he was only born once, and he died in Leipzig.
Add entry for Antonio Vivaldi's death.

21 years agoUnwind the syscall_with_err_pushed tweak that jake did some time back.
Peter Wemm [Sun, 28 Jul 2002 00:27:51 +0000 (00:27 +0000)]
Unwind the syscall_with_err_pushed tweak that jake did some time back.

OK'ed by: jake

21 years agouintfptr_t has moved to machine/types.h.
Jake Burkholder [Sat, 27 Jul 2002 23:36:51 +0000 (23:36 +0000)]
uintfptr_t has moved to machine/types.h.

21 years ago o Require that the page queues lock is held on entry to vm_pageout_clean()
Alan Cox [Sat, 27 Jul 2002 23:20:32 +0000 (23:20 +0000)]
 o Require that the page queues lock is held on entry to vm_pageout_clean()
   and vm_pageout_flush().
 o Acquire the page queues lock before calling vm_pageout_clean()
   or vm_pageout_flush().

21 years agoMake usage match options.
David Malone [Sat, 27 Jul 2002 23:19:25 +0000 (23:19 +0000)]
Make usage match options.

Approved by: rwatson

21 years agoMake bn_name a const char * to quieten some warnings.
David Malone [Sat, 27 Jul 2002 23:16:49 +0000 (23:16 +0000)]
Make bn_name a const char * to quieten some warnings.

Approved by: bp (long ago)

21 years agoMake spxnames a const char * to quieten some warnings in netstat.
David Malone [Sat, 27 Jul 2002 23:15:08 +0000 (23:15 +0000)]
Make spxnames a const char * to quieten some warnings in netstat.

21 years agoIf a socket is disconnected for some reason (like a TCP connection
David Malone [Sat, 27 Jul 2002 23:06:52 +0000 (23:06 +0000)]
If a socket is disconnected for some reason (like a TCP connection
not responding) then drop any data on the outgoing queue in
soisdisconnected because there is no way to get it to its destination
any longer.

The only objection to this patch I got on -net was from Terry, who
wasn't sure that the condition in question could arise, so I provided
some example code.

21 years agoMake test check the tv_nsec part of a struct stat when comparing
David Malone [Sat, 27 Jul 2002 22:53:44 +0000 (22:53 +0000)]
Make test check the tv_nsec part of a struct stat when comparing
the mtimes of a file. (This is probably only useful if you have
vfs.timestamp_precision set to something nonzero).

PR: 39163
Submitted by: Hal Burch <hburch@lumeta.com>
MFC after: 2 weeks

21 years ago- Fixup whitespace after previous commit.
John Baldwin [Sat, 27 Jul 2002 22:15:42 +0000 (22:15 +0000)]
- Fixup whitespace after previous commit.
- To minimize whitespace changes, remove a test that didn't define
  _CPUCFLAGS if both NO_CPU_CFLAGS and NO_CPU_COPTFLAGS were defined
  since it is redundant (we don't use _CPUCFLAGS if those are defined).

21 years agoIf there is not a CPUTYPE defined by default, then allow for _CPUCFLAGS
John Baldwin [Sat, 27 Jul 2002 22:04:05 +0000 (22:04 +0000)]
If there is not a CPUTYPE defined by default, then allow for _CPUCFLAGS
to tune for more advanced processors while still supporting the minimum
processor in an architecture.  We can do this with the '-mtune=' option
to gcc for alpha, sparc64, and powerpc and with the mis-named '-mcpu='
option for i386.

This defaults to tuning i386 builds for i686 machines though not using
any instructions that aren't found on an 80386.  For alpha it defaults
to tuning for an EV5.

Approved by: peter
Peril sensitive sunglasses borrowed from: peter

21 years agoImplement a direct mapped address region, like alpha and ia64. This
Jake Burkholder [Sat, 27 Jul 2002 21:57:38 +0000 (21:57 +0000)]
Implement a direct mapped address region, like alpha and ia64.  This
basically maps all of physical memory 1:1 to a range of virtual addresses
outside of normal kva.  The advantage of doing this instead of accessing
phsyical addresses directly is that memory accesses will go through the
data cache, and will participate in the normal cache coherency algorithm
for invalidating lines in our own and in other cpus' data caches.  So
we don't have to flush the cache manually or send IPIs to do so on other
cpus.  Also, since the mappings never change, we don't have to flush them
from the tlb manually.
This makes pmap_copy_page and pmap_zero_page MP safe, allowing the idle
zero proc to run outside of giant.

Inspired by: ia64

21 years agoFix location and name of if_an_pci.c in comment.
Bill Fenner [Sat, 27 Jul 2002 21:28:40 +0000 (21:28 +0000)]
Fix location and name of if_an_pci.c in comment.

21 years agoDocument DOCRELEASETAG and PORTSRELEASETAG.
John Baldwin [Sat, 27 Jul 2002 21:09:29 +0000 (21:09 +0000)]
Document DOCRELEASETAG and PORTSRELEASETAG.

21 years agoFix spacing for -P (policy) examples.
Bill Fenner [Sat, 27 Jul 2002 21:06:06 +0000 (21:06 +0000)]
Fix spacing for -P (policy) examples.

21 years agoDocument PREFETCHDISTFILES.
John Baldwin [Sat, 27 Jul 2002 20:04:48 +0000 (20:04 +0000)]
Document PREFETCHDISTFILES.

21 years agoDocument KERNEL_FLAGS and WORLD_FLAGS.
John Baldwin [Sat, 27 Jul 2002 20:00:39 +0000 (20:00 +0000)]
Document KERNEL_FLAGS and WORLD_FLAGS.

21 years agoReserve VCACHEDLABEL vnode flag for use by the TrustedBSD MAC
Robert Watson [Sat, 27 Jul 2002 19:56:27 +0000 (19:56 +0000)]
Reserve VCACHEDLABEL vnode flag for use by the TrustedBSD MAC
implementation.  This flag will indicate that the security label
in the vnode is currently valid, and therefore doesn't need to
be refreshed before an access control decision can be made.  Most
file systems (or stdvops) will set this flag after they load the
MAC label from disk the first time to prevent redundant disk I/O;
some file synthetic file systems (procfs, for example) may not.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

21 years agoRemote socheckproc(), which was removed when p_can*() was introduced
Robert Watson [Sat, 27 Jul 2002 19:54:15 +0000 (19:54 +0000)]
Remote socheckproc(), which was removed when p_can*() was introduced
ages ago.  The prototype was missed.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

21 years agoSlight whitespace cleanup. Whitespace sync to MAC tree.
Robert Watson [Sat, 27 Jul 2002 19:53:02 +0000 (19:53 +0000)]
Slight whitespace cleanup.  Whitespace sync to MAC tree.

21 years ago- Move BUILDNAME up before CHROOTDIR.
John Baldwin [Sat, 27 Jul 2002 19:52:35 +0000 (19:52 +0000)]
- Move BUILDNAME up before CHROOTDIR.
- RELEASETAG is an optional variable, not a required one.

21 years agoKernel options for Mandatory Access Control (MAC).
Robert Watson [Sat, 27 Jul 2002 19:50:28 +0000 (19:50 +0000)]
Kernel options for Mandatory Access Control (MAC).

MAC support will be merged into the main tree over the next week in
reasonable size chunks; much more to follow.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

21 years agoIf we are building docs with this release and PREFETCHDISTFILES is defined
John Baldwin [Sat, 27 Jul 2002 19:43:52 +0000 (19:43 +0000)]
If we are building docs with this release and PREFETCHDISTFILES is defined
then download the distfiles for the ports needed to build the docs before
we enter the chroot environment.  This is useful since often times releases
get in a funk trying to download distfiles in the chroot.

Approved by: re (murray, bmah)
MFC after: 5 days

21 years agoSlight restructuring of the logic for credential change case identification
Robert Watson [Sat, 27 Jul 2002 18:06:49 +0000 (18:06 +0000)]
Slight restructuring of the logic for credential change case identification
during execve() to use a 'credential_changing' variable.  This makes it
easier to have outstanding patchsets against this code, as well as to
add conditionally defined clauses.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

21 years agoDisable optimization of spinlocks on UP kernels w/o debugging for now
John Baldwin [Sat, 27 Jul 2002 16:54:23 +0000 (16:54 +0000)]
Disable optimization of spinlocks on UP kernels w/o debugging for now
since it breaks mtx_owned() on spin mutexes when used outside of
mtx_assert().  Unfortunately we currently use it in the i386 MD code
and in the sio(4) driver.

Reported by: bde

21 years agoWhitespace nit in previous revision.
John Baldwin [Sat, 27 Jul 2002 16:51:00 +0000 (16:51 +0000)]
Whitespace nit in previous revision.

21 years agoCatch up to rev 1.339 of src/sys/conf/options (PCI_ENABLE_IO_MODES is
Mike Barcroft [Sat, 27 Jul 2002 16:25:30 +0000 (16:25 +0000)]
Catch up to rev 1.339 of src/sys/conf/options (PCI_ENABLE_IO_MODES is
now a sysctl and is enabled by default).

21 years agoCatch up to rev 1.339 of src/sys/conf/options (PCI_ENABLE_IO_MODES is
Mike Barcroft [Sat, 27 Jul 2002 15:28:35 +0000 (15:28 +0000)]
Catch up to rev 1.339 of src/sys/conf/options (PCI_ENABLE_IO_MODES is
now a sysctl and is enabled by default).

21 years agoProperly change the block_size on different CD media, and use that
Søren Schmidt [Sat, 27 Jul 2002 12:22:39 +0000 (12:22 +0000)]
Properly change the block_size on different CD media, and use that
to calculate the max amount of data in one IO request.

Correct the max size on atapi floppies/tapes as well.

21 years agoTypo Fix
Sebastien Gioria [Sat, 27 Jul 2002 11:19:05 +0000 (11:19 +0000)]
Typo Fix
More FDP compliance

21 years agoTranslation of the userland section
Sebastien Gioria [Sat, 27 Jul 2002 10:46:41 +0000 (10:46 +0000)]
Translation of the userland section

21 years agoDo not try and probe random PNP devices, This Is Bad.
Peter Wemm [Sat, 27 Jul 2002 08:46:28 +0000 (08:46 +0000)]
Do not try and probe random PNP devices, This Is Bad.
Display reasons why probe/attach fails.

21 years agoMake si_debug tunable.
Peter Wemm [Sat, 27 Jul 2002 08:17:29 +0000 (08:17 +0000)]
Make si_debug tunable.

21 years ago o Lock page queue accesses by vm_page_activate().
Alan Cox [Sat, 27 Jul 2002 07:20:27 +0000 (07:20 +0000)]
 o Lock page queue accesses by vm_page_activate().

21 years ago o Lock page queue accesses by vm_page_activate() and vm_page_deactivate()
Alan Cox [Sat, 27 Jul 2002 06:41:03 +0000 (06:41 +0000)]
 o Lock page queue accesses by vm_page_activate() and vm_page_deactivate()
   in vm_pageout_object_deactivate_pages().
 o Apply some style fixes to vm_pageout_object_deactivate_pages().

21 years ago - The default for lock, unlock, and islocked is now std* instead of no*.
Jeff Roberson [Sat, 27 Jul 2002 05:16:20 +0000 (05:16 +0000)]
 - The default for lock, unlock, and islocked is now std* instead of no*.

21 years ago - Explicitly state that specfs does not support locking by using
Jeff Roberson [Sat, 27 Jul 2002 05:14:59 +0000 (05:14 +0000)]
 - Explicitly state that specfs does not support locking by using
   vop_no{lock,unlock,islocked}.  This should be the only vnode opv that does
   so.

21 years ago o Lock page queue accesses by vm_page_activate() and vm_page_deactivate().
Alan Cox [Sat, 27 Jul 2002 05:08:49 +0000 (05:08 +0000)]
 o Lock page queue accesses by vm_page_activate() and vm_page_deactivate().

21 years ago o Lock page queue accesses by vm_page_activate() and vm_page_deactivate().
Alan Cox [Sat, 27 Jul 2002 04:30:46 +0000 (04:30 +0000)]
 o Lock page queue accesses by vm_page_activate() and vm_page_deactivate().

21 years agoSend a disassoc packet for a STA that we don't know about that claims to
Warner Losh [Fri, 26 Jul 2002 22:56:04 +0000 (22:56 +0000)]
Send a disassoc packet for a STA that we don't know about that claims to
be associated with us.  From millert@openbsd.org

Obtained from: OpenBSD (I think)

21 years agoOnly INTERSIL 0.8.3 and newer firmware is supported with hostap mode.
Warner Losh [Fri, 26 Jul 2002 22:54:30 +0000 (22:54 +0000)]
Only INTERSIL 0.8.3 and newer firmware is supported with hostap mode.
While earlier versions can be made to work, they require various work
arounds not in the driver right now.

21 years agoBack out jmallett's realpath changes. They break a set of makefiles that
Warner Losh [Fri, 26 Jul 2002 21:50:36 +0000 (21:50 +0000)]
Back out jmallett's realpath changes.  They break a set of makefiles that
we use in sublte ways with relative paths.  Until they can be resolved,
back out these changes and put a big comment about why using realpath is
busted.

Approved by: jmallett
MFC After:  100 millifortnights

21 years agoFeedback also included this.
Ruslan Ermilov [Fri, 26 Jul 2002 20:53:26 +0000 (20:53 +0000)]
Feedback also included this.

21 years agoFix markup issues introduced in earlier commit.
Prafulla Deuskar [Fri, 26 Jul 2002 20:50:35 +0000 (20:50 +0000)]
Fix markup issues introduced in earlier commit.

Feedback from: ru (Ruslan Ermilov)
MFC after: 3 days

21 years agoNo doubt about it, I gotta get a better hat:
Warner Losh [Fri, 26 Jul 2002 20:28:58 +0000 (20:28 +0000)]
No doubt about it, I gotta get a better hat:

Add the definition for sockbase that I accidentally removed two
revisions ago and didn't notice until some kind soul pointed it out to
me.

21 years agoFix the max transfer size for ATAPI devices. The spec says to
Søren Schmidt [Fri, 26 Jul 2002 19:13:05 +0000 (19:13 +0000)]
Fix the max transfer size for ATAPI devices. The spec says to
transfer at most 65534 bytes, thats 126 times DEV_BSIZE not 252 :(

Pointed out by: Ian Dowse <iedowse@maths.tcd.ie>

21 years agoLooks like a last second change wasn't completely backed out.
Warner Losh [Fri, 26 Jul 2002 17:50:01 +0000 (17:50 +0000)]
Looks like a last second change wasn't completely backed out.

21 years agoUpdated man page to include support for
Prafulla Deuskar [Fri, 26 Jul 2002 17:35:31 +0000 (17:35 +0000)]
Updated man page to include support for
82546 based adapters.

MFC after: 3 days

21 years agoAdd ALLIED TELESIS,K.K. LA-ISA V2 ISA PnP ID.
Takanori Watanabe [Fri, 26 Jul 2002 17:33:58 +0000 (17:33 +0000)]
Add ALLIED TELESIS,K.K. LA-ISA V2 ISA PnP ID.

Submitted by: nork
MFC after: 3 days

21 years agoMake the `-v' option a synonym for `-d'
Yaroslav Tykhiy [Fri, 26 Jul 2002 16:07:19 +0000 (16:07 +0000)]
Make the `-v' option a synonym for `-d'
(as it was intended initially)
and document it in the manpage.

MFC after: 2 weeks

21 years agoDocument the -u (set umask) option
Yaroslav Tykhiy [Fri, 26 Jul 2002 16:01:24 +0000 (16:01 +0000)]
Document the -u (set umask) option
(which has been there at least since 4.4BSD-Lite!)

MFC after: 2 weeks

21 years agoRemove the tlb argument to tlb_page_demap (itlb or dtlb), in order to better
Jake Burkholder [Fri, 26 Jul 2002 15:54:04 +0000 (15:54 +0000)]
Remove the tlb argument to tlb_page_demap (itlb or dtlb), in order to better
match the pmap_invalidate api.

21 years agoSort command-line options according to the mostly used style:
Yaroslav Tykhiy [Fri, 26 Jul 2002 15:46:08 +0000 (15:46 +0000)]
Sort command-line options according to the mostly used style:
alphabetical order, lower and upper case of the same letter
stick together, lower case first.

MFC after: 2 weeks

21 years agoFreeBSD doesn't use the host RSA key by default.
Tony Finch [Fri, 26 Jul 2002 15:16:56 +0000 (15:16 +0000)]
FreeBSD doesn't use the host RSA key by default.

Reviewed by: des

21 years agoDon't dump all information about apm when only asked to enable/disable apm
Maxim Sobolev [Fri, 26 Jul 2002 13:43:47 +0000 (13:43 +0000)]
Don't dump all information about apm when only asked to enable/disable apm
functions (-e and -h switches). This should make apm(8) self-consistent, as
for example -d enable|disable doesn't dump such info.

MFC after: 5 days

21 years agoFix -Werror build for sparc64: Use the appropriate conversion
Robert Drehmel [Fri, 26 Jul 2002 12:57:57 +0000 (12:57 +0000)]
Fix -Werror build for sparc64: Use the appropriate conversion
specifier for an 'unsigned int' argument.

21 years ago- now, IPV6CTL_V6ONLY is on by default.
Hajimu UMEMOTO [Fri, 26 Jul 2002 11:42:46 +0000 (11:42 +0000)]
- now, IPV6CTL_V6ONLY is on by default.
- .Nx -> .Fx

21 years agoBuild FDP ports with a clean runtime environment; gmake(1) somehow
Ruslan Ermilov [Fri, 26 Jul 2002 11:27:11 +0000 (11:27 +0000)]
Build FDP ports with a clean runtime environment; gmake(1) somehow
uses ${TARGET_ARCH}, in a way that is incompatible with our usage.

Submitted by: jhay, ru

21 years agoMake building docs possible on systems where sed(1) can't do in-place editing.
Ruslan Ermilov [Fri, 26 Jul 2002 11:22:46 +0000 (11:22 +0000)]
Make building docs possible on systems where sed(1) can't do in-place editing.

Obtained from: ports/Mk/bsd.port.mk

21 years agosync types with headers.
Hajimu UMEMOTO [Fri, 26 Jul 2002 08:20:34 +0000 (08:20 +0000)]
sync types with headers.

21 years agonote that we intentionally violate RFC2553 for security reasons.
Hajimu UMEMOTO [Fri, 26 Jul 2002 08:11:51 +0000 (08:11 +0000)]
note that we intentionally violate RFC2553 for security reasons.

Adviced by: itojun
Obtained from: NetBSD

21 years agoMFp4:
Warner Losh [Fri, 26 Jul 2002 08:07:55 +0000 (08:07 +0000)]
MFp4:
o reduce the extra-long ID names.
o TI-1510, 1520 and 4510 support.
o MFUNC is the name of the register on TI 1200 and newer chips (except
  125x and 1450).  Initialize it in the func routine, but only
  if NO_MFUNC isn't set.
o better comments about above workaround
o register definitions for MFUNC.
o move zoom video disable to a better place.

21 years agoMFp4:
Warner Losh [Fri, 26 Jul 2002 08:05:25 +0000 (08:05 +0000)]
MFp4:
o Rename the insanely long PCIC bridge ids.
o Add my copyright to pccbb.c
o Add support for the TI-1510, TI-1520 and TI-4510 series of upcoming
  bridges.
o Init MFUNC if it is zero and the TI part has a MFUNC register
  at offset 0x8c (1030, 1130 and 1131 don't have anything there, the
  1250,1251,1251B and 1450 have a different thing there.  The rest
  have it.  TI is likely to only do MFUNC from now on.  The IRQMUX
  in the 1250 series of chips needs no tweaks.
o Adjust to new exca interface.
o Add comments about TI chips that I learned in talking to an
  engineer at TI.
o Add register definitions for MFUNC.
o Create CB_TI125X chipset type.

21 years agoMFp4:
Warner Losh [Fri, 26 Jul 2002 08:01:08 +0000 (08:01 +0000)]
MFp4:
o Protect .h against multiple includes.
o eliminate the pointers to the read/write routines.  The
  bus_space_read routines can cope since we have the offset
  field.
o Print a warning if the requested map address is > 16M and
  your chipset doesn't support the extended ExCA registers.

21 years agoMake PCI_ENABLE_IO_MODES a sysctl hw.pci.enable_io_modes. It can also
Warner Losh [Fri, 26 Jul 2002 07:58:16 +0000 (07:58 +0000)]
Make PCI_ENABLE_IO_MODES a sysctl hw.pci.enable_io_modes.  It can also
be set at boot time.  It defaults to 1 now since it can be set in the
boot loader.  If this proves unwise, we can reset it to defaulting to 0.

21 years agoRevert part of revision 1.10, as it broke portmap lookups for IPv4
Ian Dowse [Fri, 26 Jul 2002 07:52:21 +0000 (07:52 +0000)]
Revert part of revision 1.10, as it broke portmap lookups for IPv4
TCP clients. The problem was that a struct netconfig returned by
getnetconfigent() was being treated as a handle for __rpc_getconf(),
which certainly isn't right.

The tirpc-99 code uses __rpc_setconf("udp")/__rpc_getconf() to find
the IPv4 udp netconfig, but our implementation of these functions
seem happy to return IPv6 entries, so we can't use them. By reverting
to the old version, we are hard-coding the name of the udp4 netid.

Tracked down by: Bakul Shah <bakul@bitblocks.com>

21 years agoAdd a generic NANOSPEED wi card.
Warner Losh [Fri, 26 Jul 2002 06:12:14 +0000 (06:12 +0000)]
Add a generic NANOSPEED wi card.

Submitted by: matt peterson

While I'm here, kill the flags 0x10000 on all the prism based cards.
Both stable and current figure this out on their own and we've had at
least one releases where this is the case.

21 years agoUse sigaction(2) instead of signal(3) to avoid the signal handler being
Tim J. Robbins [Fri, 26 Jul 2002 05:25:12 +0000 (05:25 +0000)]
Use sigaction(2) instead of signal(3) to avoid the signal handler being
re-entered.

21 years agogethints.awk is a machine-specific 4.x->5.x transition aid. We cannot
Peter Wemm [Fri, 26 Jul 2002 03:52:30 +0000 (03:52 +0000)]
gethints.awk is a machine-specific 4.x->5.x transition aid.  We cannot
use a common one because pc98 has got very different values.  This only
needs to exist on platforms that existed under 4.x.

21 years agoRecognize the Altima AC9100 chip, which is used in current versions
John Polstra [Fri, 26 Jul 2002 03:47:08 +0000 (03:47 +0000)]
Recognize the Altima AC9100 chip, which is used in current versions
of the Netgear GA302-T.  I changed the symbolic names in the
submitter's patch to reflect the part number of the chip instead
of the board.

PR: kern/38988
Submitted by: Brad Chapman <chapmanb@arches.uga.edu>
MFC after: 2 days

21 years agoProblems addressed:
Andrey A. Chernov [Fri, 26 Jul 2002 02:20:00 +0000 (02:20 +0000)]
Problems addressed:

1) options.print_lastlog was not honored.
2) "Last login: ..." was printed twice.
3) "copyright" was not printed
4) No newline was before motd.

Reviewed by: maintainer's silence in 2 weeks (with my constant reminders)

21 years agoDefine all paths in pathnames.h
Johan Karlsson [Thu, 25 Jul 2002 23:04:31 +0000 (23:04 +0000)]
Define all paths in pathnames.h

Approved by: joerg, sheldonh (mentor)

21 years agoFrequency default should be '25' for 25MHz, not 25000000.
Matt Jacob [Thu, 25 Jul 2002 20:49:30 +0000 (20:49 +0000)]
Frequency default should be '25' for 25MHz, not 25000000.

Through the PITA of endiannness, clock has to be MHz freq << 8.

Don't trust NVRAM on SBus cards.

Set a default initiator ID sensibly.

SBus/ISP now working, what with the change to sbus.c earlier today.

21 years agoDon't test against default_iid being zero as a test for whether we
Matt Jacob [Thu, 25 Jul 2002 20:47:40 +0000 (20:47 +0000)]
Don't test against default_iid being zero as a test for whether we
set something- iid 0 is valid.

21 years agocorrect comment for setsockopt arg size.
Hajimu UMEMOTO [Thu, 25 Jul 2002 20:40:09 +0000 (20:40 +0000)]
correct comment for setsockopt arg size.

Reported by: Martin Laabs <martin@martin.erfurt.thur.de>
Obtained from: KAME
MFC after: 1 week

21 years agoSet interrupt clear pointer for SBus slots to point to correct spot.
Matt Jacob [Thu, 25 Jul 2002 20:14:59 +0000 (20:14 +0000)]
Set interrupt clear pointer for SBus slots to point to correct spot.

21 years ago o Remove a vm_page_deactivate() that is immediately followed by a
Alan Cox [Thu, 25 Jul 2002 19:09:07 +0000 (19:09 +0000)]
 o Remove a vm_page_deactivate() that is immediately followed by a
   vm_page_rename() from vm_object_backing_scan().  vm_page_rename()
   also performs vm_page_deactivate() on pages in the cache queues,
   making the removed vm_page_deactivate() redundant.

21 years agomake setsockopt(IPV6_V6ONLY, 0) actuall work for tcp6.
Hajimu UMEMOTO [Thu, 25 Jul 2002 18:10:04 +0000 (18:10 +0000)]
make setsockopt(IPV6_V6ONLY, 0) actuall work for tcp6.

MFC after: 1 week

21 years agoUse <arpa/ftp.h> stuff cleanly, without introducing
Yaroslav Tykhiy [Thu, 25 Jul 2002 17:41:47 +0000 (17:41 +0000)]
Use <arpa/ftp.h> stuff cleanly, without introducing
non-portable constants (in this case, hidden as offsets
to the "?AEIL" string.)

MFC after: 1 week

21 years agocleanup usage of ip6_mapped_addr_on and ip6_v6only. now,
Hajimu UMEMOTO [Thu, 25 Jul 2002 17:40:45 +0000 (17:40 +0000)]
cleanup usage of ip6_mapped_addr_on and ip6_v6only. now,
ip6_mapped_addr_on is unified into ip6_v6only.

MFC after: 1 week

21 years agoMake sure that if are in fact using 'full SMP', make the interrupt
Matt Jacob [Thu, 25 Jul 2002 16:02:09 +0000 (16:02 +0000)]
Make sure that if are in fact using 'full SMP', make the interrupt
flags include INTR_MPSAFE. Put the flags in a common place so that
both isp_sbus && isp_pci DTRT.

In isp_mbxdma setup, drop any locks prior to calling things like
bus_dmatag_create. This gets rid of these obnoxious WITNESS messages
about 'sleeping with locks held' blah blah blah blah blah.