Commit Graph

85403 Commits

Author SHA1 Message Date
peter
214067aaec Dont raise the TPR register at initialization time. It only causes
problems and we only ever clear it.
2003-01-23 01:00:58 +00:00
fenner
8574a5145d Implement SIOCGIFMEDIA for vlan devices by passing the request to the
parent device, if there is a parent configured.  Modify the result
 returned by the parent to indicate that the only supported media
 is the currently configured one.

Reviewed by:	brooks
2003-01-22 23:30:26 +00:00
marcel
7ea0e9e9fc YAM: This id is found in a Sony Vaio GRX-670. When will this end?
Submitted by: Chuck McCrobie <mccrobie2000@yahoo.com>
2003-01-22 22:02:09 +00:00
gibbs
207ba32467 Revert AHD_TIMER_MAX_US to its original definition now that the
ahc and ahd modules have correct dependencies on the assembler.
2003-01-22 22:00:07 +00:00
gibbs
cda826aeb1 Update GENSRCS and aicasm options correctly depending on whether register
pretty printing is enabled

Add a dependency on the source files for aicasm so that it will be rebuilt
if out of date.

Simplify.
2003-01-22 21:56:54 +00:00
hrs
b847140746 - Remove NO_TIDY.
- Merge the following from the English version:

	1.20  -> 1.23 	errata/article.sgml
2003-01-22 21:05:07 +00:00
dillon
eadd905b3e Provide a sysctl to allow defaulting of the connectionless (-c) feature
to mount_nfs.  The sysctl defaults to 1 (paranoid mode).  Setting it to 0
will allow an NFS client to receive replies on a different IP then they
were sent to by default.

Submitted by:	Sean Eric Fagan <sef@kithrup.com>
2003-01-22 19:57:31 +00:00
des
25df41aea7 Document netrc support. 2003-01-22 18:35:20 +00:00
des
ca03833c15 Add -N option to specify a netrc file.
Fix handling of -v option.
Don't treat negative offsets as valid positive ones.
Clean up the ETA and transfer rate code.  Show transfer rate along with
ETA if the verbose level is higher than 1.
2003-01-22 18:33:39 +00:00
des
0d02f62802 Document .netrc support. 2003-01-22 18:27:25 +00:00
jhb
6ab88b5582 - Move enable_sse()'s prototype to machine/md_var.h.
- Sort definition of cpu_* variables appropriately.
- Move cpu_fxsr out of the magic non-BSS set of variables and stick it in
  the BSS along with hw_instruction_sse (make the latter static as well).

Submitted by:	bde (partially)
2003-01-22 18:18:45 +00:00
ume
142b848b5b Added comment why this workaround is required.
Suggested by:	sam
MFC after:	1 week
2003-01-22 18:03:06 +00:00
des
0e40af13be Hook in the .netrc code + don't use pointers as if they were booleans. 2003-01-22 17:54:49 +00:00
jhb
ff20056336 Rename cpuid_cpuinfo to cpu_procinfo. bde requested that I rename this
variable to something in the cpu_* namespace since that's what all the
other cpuid variables were named and cpu_procinfo is what I came up with.

Requested by:	bde
2003-01-22 17:54:12 +00:00
des
8d80ddcfca Experimental support for .netrc. 2003-01-22 17:53:58 +00:00
des
9b94f0294d Initialization paranoia. 2003-01-22 17:53:15 +00:00
des
4bf8f9ec51 A negative offset means "get it all". 2003-01-22 17:52:27 +00:00
bmah
419f0d25bc New errata note: xl(4) timing problems.
Submitted by:	silby
2003-01-22 17:28:12 +00:00
jhb
beea5f6da6 Bah, add in a missing space char I noticed when MFC'ing this. 2003-01-22 17:26:18 +00:00
bmah
de49bed930 New errata item: adduser(8) passwds can't have special shell characters.
Submitted by:	<robin@isometry.net>, mtm
2003-01-22 17:19:12 +00:00
silby
2cb686acc3 Correctly identify the 3C920B chipset; although it may ship with some Nforce2
boards, it's definitely not an Nvidia chip.

Info from: Nvidia's Linux Network driver & pciids.sourceforge.net
2003-01-22 17:14:33 +00:00
des
be585ece99 This commit was generated by cvs2svn to compensate for changes in r109686,
which included commits to RCS files with non-trunk default branches.
2003-01-22 16:46:44 +00:00
des
96469890b5 #include <sys/types.h> (perforce change 24073) 2003-01-22 16:46:44 +00:00
yar
02f8462999 Prevent server-side glob(3) patterns from expanding
to a pathname that contains '\r' or '\n'.

Together with the earlier STAT bugfix, this must solve
the problem of such pathnames appearing in the FTP control
stream.
2003-01-22 16:25:22 +00:00
fanf
fc5d88b7dd List all of the assignment operators explicitly, for those who have been
traumatized by perl.
2003-01-22 15:19:07 +00:00
des
b8c2b407bb Force early initialization of the resolver library, since the resolver
configuration files will no longer be available once sshd is chrooted.

PR:		39953, 40894
Submitted by:	dinoex
MFC after:	3 days
2003-01-22 14:12:59 +00:00
joerg
bbe386b54a Make the arguments to d_close() match the arguments to d_open(), since
otherwise the close operation is void, and the underlying device remains
marked as being busy.

Thanks to phk for finding this.

MFC after:	3 days
2003-01-22 14:06:46 +00:00
ume
98d41b3b14 getpeername() returns with no error but didn't fill struct sockaddr
correctly against PF_LOCAL.  It seems that the test always fails then
sockaddr was not filled.  So, I added else clause for workaround.
I doubt if it is right fix.  However, it is better than nothing.  I
found that NetBSD has same potential problem.  But, fortunately,
NetBSD has equivalent else clause.

MFC after:	1 week
2003-01-22 13:13:13 +00:00
des
0b40473c70 When computing a new seed for an existing user, opienewseed() would
incorrectly compute the length of the numeric portion of the previous
seed, causing the new seed to be one character shorter than the old
one.

This patch has been submitted to the vendor; I'm committing it right
away since the file is already off the vendor branch.

MFC after:	3 days
2003-01-22 10:55:36 +00:00
hsu
e2cff840b2 Add yet another Sony Vaio PS/2 mouse ID. This one is found on a VX88.
Submitted by:	marcel
2003-01-22 03:31:08 +00:00
grehan
df2e2104a0 Remove BAT invalidation. This is done later in the boot sequence,
so isn't required here, and seems to cause problems when booting
from disk.

Approved by:  benno
2003-01-22 01:47:05 +00:00
hrs
0bb0ebb3f7 Catch up with the English version (w/ some translation fixes):
1.12  -> 1.20 	errata/article.sgml
	1.126 -> 1.129	hardware/common/dev.sgml
	1.475 -> 1.480	relnotes/common/new.sgml

Submitted by:	Hideyuki KURASHINA <rushani@jp.FreBSD.org>
References:	[doc-jp-work 585]
2003-01-22 01:45:14 +00:00
grehan
7b39c28603 Convert remaining .s files to .S
Approved by:  benno
2003-01-22 01:34:37 +00:00
grehan
799aa27da2 - remove dead conditional CFLAG setting
- switch locore .s -> .S

Approved by:  benno
2003-01-22 01:34:10 +00:00
peter
9f7b187da0 Fix what I think is an off-by-one in certain worst-case scenarios
caused by rev 1.45.  (eg: the estimate being exactly half of the result.)
2003-01-22 00:34:22 +00:00
fjoe
fddc3ba05d fix link_status() in non-Ethernet case
MFC after:	1 week
2003-01-22 00:14:34 +00:00
peter
d16aa8b224 Finish update for cvs-1.11.5. Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf.  Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.
2003-01-21 23:00:36 +00:00
peter
2a7e377632 Dont bother with unused rules for version.c 2003-01-21 22:31:07 +00:00
peter
2e4fe7e4d0 Turn off Checkin-prog and Update-prog. 2003-01-21 22:10:13 +00:00
peter
e68b00dd9e Update for cvs-1.11.5 import (note to self: gotta fix the version tags) 2003-01-21 22:04:20 +00:00
peter
dfddcee74f This commit was generated by cvs2svn to compensate for changes in r109661,
which included commits to RCS files with non-trunk default branches.
2003-01-21 22:02:26 +00:00
peter
839e4a947a Merge cvs-1.11.2.1-20021201 -> 1.11.5 changes onto mainline 2003-01-21 22:01:38 +00:00
peter
9fda24a6c9 This commit was generated by cvs2svn to compensate for changes in r109658,
which included commits to RCS files with non-trunk default branches.
2003-01-21 21:58:47 +00:00
peter
f53bf3099c This commit was generated by cvs2svn to compensate for changes in r109655,
which included commits to RCS files with non-trunk default branches.
2003-01-21 21:53:03 +00:00
peter
d705a05438 Import cvs-1.11.5 onto vendor branch 2003-01-21 21:53:03 +00:00
des
251dc8aa55 There's absolutely no need for a struct-within-a-struct, so move the
counters out of the inner struct and remove it.
2003-01-21 20:33:27 +00:00
hsu
73c387bfff Add missing SMP file locks around read-modify-write operations on
the flag field.

Reviewed by:	rwatson
2003-01-21 20:20:48 +00:00
peter
7444736ff6 Remove OBE prototype for iszerodev() - it was replaced by the
D_MMAP_ANON device switch flag.
2003-01-21 19:26:17 +00:00
tmm
6d5be688ea Fixes for a number of problems in the IOMMU code:
1.) Fix an off-by-one in the DVMA space handling, which would make it
    possible to allocate one page beyond the end of the DVMA area.
    This page was aliased to the first page. Apparently, this bug was
    responsible for the trashed nvram/eeprom some people were reporting,
    in conjunction with a number of unfortunate coincidences.
2.) Fix broken boundary and and lowaddr calculations.
3.) Fix a memory leak on an error path.
4.) Update a outdated comment to reflect the introduction of IOMMU_MAX_PRE,
    make the usage of IOMMU_MAX_PRE more consistent and KASSERT that the
    preallocation size is not 0.
5.) Fix a case where an error return was lost.
6.) When signalling an error to the caller by invoking the callback, do
    not use a segment pointer of NULL for compatability with existing
    drivers.

Also, increase the maximum segment number to 64; it is rather arbitrary,
with the exception of the of the stack space consumed by the segment
array.

Special thanks go to Harti Brandt <brandt@fokus.fraunhofer.de> for
spotting 4 and 5, and testing many iterations of patches.

Pointy hats to:	tmm
2003-01-21 18:22:26 +00:00
tmm
04ec78ccf1 Free resources when failing to set up the interrupt. 2003-01-21 17:28:36 +00:00