]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
20 years ago- move list of supported adapters into a HARDWARE section
Christian Brueffer [Fri, 3 Sep 2004 12:23:16 +0000 (12:23 +0000)]
- move list of supported adapters into a HARDWARE section
- list the Digital EtherWORKS adapter as supported [1]
- properly capitalize (Fast|Gigabit) Ethernet
- bump document date

Obtained from: NetBSD [1]
MFC after: 3 days

20 years agoIntroduce ata_udelay() that uses tsleep instead of DELAY if possible.
Søren Schmidt [Fri, 3 Sep 2004 12:10:44 +0000 (12:10 +0000)]
Introduce ata_udelay() that uses tsleep instead of DELAY if possible.
In places where we have long delays that doesn't depend on too accurate
timing, use ata_udelay() instead of DELAY() so we dont uselessly spin
the CPU if not nessesary;

20 years agoDon't declare a function we are not defining.
Julian Elischer [Fri, 3 Sep 2004 09:19:49 +0000 (09:19 +0000)]
Don't declare a function we are not defining.

20 years agofix compile for UP
Julian Elischer [Fri, 3 Sep 2004 09:15:10 +0000 (09:15 +0000)]
fix compile for UP

20 years agoPanic if given a CAM_DATA_PHYS pointer from CAM instead of trying to handle it.
Scott Long [Fri, 3 Sep 2004 08:44:23 +0000 (08:44 +0000)]
Panic if given a CAM_DATA_PHYS pointer from CAM instead of trying to handle it.
It makes no sense in a PAE environment and is impossible to handle correctly.
This case is also never used right now.  This should make the iir(4) driver
ready for PAE.

20 years agoSync promise_mio_command with WIP on the Promise line of SATA controllers.
Søren Schmidt [Fri, 3 Sep 2004 08:23:04 +0000 (08:23 +0000)]
Sync promise_mio_command with WIP on the Promise line of SATA controllers.

20 years agoooops finish last commit.
Julian Elischer [Fri, 3 Sep 2004 08:19:31 +0000 (08:19 +0000)]
ooops finish last commit.
moved the variables but not the declarations.

20 years agoMove 4bsd specific experimental IP code into the 4bsd file.
Julian Elischer [Fri, 3 Sep 2004 07:42:31 +0000 (07:42 +0000)]
Move 4bsd specific experimental IP code into the 4bsd file.
Move the sysctls into kern.sched

20 years agoCleanup the defines used for various chipsets.
Søren Schmidt [Fri, 3 Sep 2004 07:37:53 +0000 (07:37 +0000)]
Cleanup the defines used for various chipsets.
Add new nVidia controllers.

20 years agoIf the argument to the -r flag starts with a ':' or a '|', don't try to
Brooks Davis [Fri, 3 Sep 2004 07:11:42 +0000 (07:11 +0000)]
If the argument to the -r flag starts with a ':' or a '|', don't try to
make sure it is a device.  GDB special cases these prefixes and treats
:#### as a tcp port on localhost and executes what ever follows '|'.

This allows kgdb to debug via dconschat.

Discussed with: marcel

20 years agoFixed more spacing bugs.
Ruslan Ermilov [Fri, 3 Sep 2004 06:32:11 +0000 (06:32 +0000)]
Fixed more spacing bugs.

20 years agoAdd a BUGS section and copy the wording from mmap(2)'s MAP_NOSYNC,
Peter Pentchev [Fri, 3 Sep 2004 06:24:25 +0000 (06:24 +0000)]
Add a BUGS section and copy the wording from mmap(2)'s MAP_NOSYNC,
documenting the obsoleteness of the msync(2) syscall and its single
remaining purpose.

PR: 70916
Submitted by: Radim Kolar <hsn@netmag.cz>
MFC after: 3 days

20 years agoJoin the effort in simplifying this makefile. ;)
Ruslan Ermilov [Fri, 3 Sep 2004 06:18:52 +0000 (06:18 +0000)]
Join the effort in simplifying this makefile.  ;)

20 years agoPush Giant deep into vm_forkproc(), acquiring it only if the process has
Alan Cox [Fri, 3 Sep 2004 05:11:32 +0000 (05:11 +0000)]
Push Giant deep into vm_forkproc(), acquiring it only if the process has
mapped System V shared memory segments (see shmfork_myhook()) or requires
the allocation of an ldt (see vm_fault_wire()).

20 years agoAutogenerate device listings for nge(4) and ste(4)
Christian Brueffer [Fri, 3 Sep 2004 04:17:19 +0000 (04:17 +0000)]
Autogenerate device listings for nge(4) and ste(4)

MFC after: 3 days

20 years agoAdd nge(4) and ste(4)
Christian Brueffer [Fri, 3 Sep 2004 04:15:54 +0000 (04:15 +0000)]
Add nge(4) and ste(4)

MFC after: 3 days

20 years ago- move list of supported adapters into a HARDWARE section
Christian Brueffer [Fri, 3 Sep 2004 04:13:22 +0000 (04:13 +0000)]
- move list of supported adapters into a HARDWARE section
- properly capitalize (Fast) Ethernet
- bump document date

MFC after: 3 days

20 years ago- move list of supported adapters into a HARDWARE section
Christian Brueffer [Fri, 3 Sep 2004 03:58:45 +0000 (03:58 +0000)]
- move list of supported adapters into a HARDWARE section
- properly capitalize Fast/Gigabit Ethernet
- bump document date

MFC after: 3 days

20 years agoTag AIO as requiring Giant over the network stack using
Robert Watson [Fri, 3 Sep 2004 03:19:14 +0000 (03:19 +0000)]
Tag AIO as requiring Giant over the network stack using
NET_NEEDS_GIANT().

RELENG_5 candidate.

20 years agoCorrect a comment typo: s/Note/Not/.
Robert Watson [Fri, 3 Sep 2004 01:37:02 +0000 (01:37 +0000)]
Correct a comment typo: s/Note/Not/.

Pointed out by: kensmith

20 years agoremove unused code
Julian Elischer [Thu, 2 Sep 2004 23:37:41 +0000 (23:37 +0000)]
remove unused code

MFC after:  2 days

20 years agoFix whitespace from last commit.
Scott Long [Thu, 2 Sep 2004 22:21:51 +0000 (22:21 +0000)]
Fix whitespace from last commit.

Submitted by: ru

20 years agoRewrite this hack
Andrey A. Chernov [Thu, 2 Sep 2004 22:09:33 +0000 (22:09 +0000)]
Rewrite this hack
-rm -rf ${LOCALEDIR}/*/LC_MESSAGES
and move it inside loop.
It can damage user-made ${LOCALEDIR}/* locales otherwise.

20 years agoPass O_NONBLOCK directly to fcntl() rather than the pointer to an int
Robert Watson [Thu, 2 Sep 2004 21:41:57 +0000 (21:41 +0000)]
Pass O_NONBLOCK directly to fcntl() rather than the pointer to an int
holding the value O_NONBLOCK.  This worked previously because I was
lucky.

20 years agoDon't override the rule used to build a binary by providing our own
Robert Watson [Thu, 2 Sep 2004 21:37:50 +0000 (21:37 +0000)]
Don't override the rule used to build a binary by providing our own
compiler line.

20 years agoTrim errata and bump &release.next;.
Hiroki Sato [Thu, 2 Sep 2004 21:01:09 +0000 (21:01 +0000)]
Trim errata and bump &release.next;.

20 years agoHook autofs to the build.
Alfred Perlstein [Thu, 2 Sep 2004 20:44:56 +0000 (20:44 +0000)]
Hook autofs to the build.

20 years agoNew release notes (changes in the second half of July and
Hiroki Sato [Thu, 2 Sep 2004 20:30:05 +0000 (20:30 +0000)]
New release notes (changes in the second half of July and
the first half of August 2004):
NO_ADAPTIVE_MUTEXES,
ADAPTIVE_GIANT,
acpi_panasonic(4) added,
contigmalloc(9) reimplemented (vm.old_contigmalloc added),
hme(4) checksum offload support,
{mem,io}.ko added,
pcic(4) removed completely from GENERIC kernel configuration file,
psm(4) Synaptics TouchPad support,
Thread Local Storage (TLS) support,
ipfw(4) antispoof option,
GEOM_MIRROR class and gmirror(8) added,
col(1), colcrt(1), colrm(1), column(1), and fmt(1) multibyte
characters support,
df(1) bugfix,
ftpd(8) uses its euid for opening a data transfer socket,
gpt(8) -i option, remove command added,
kgdb(1) added,
LIBPTHREAD_SYSTEM_SCOPE for libpthread,
look(1) -d bugfix,
make(1) "+" flag added,
make(1) MAKEFLAGS change,
tgmath.h C99 header added,
GNU extensions of mbsnrtowcs(3) and wcsnrtombs(3) implemented,
patch(1) replaced with a BSD-licensed version from OpenBSD,
ppp(8) "set pppoe [standard|3Com]" for ng_pppoe(4),
ul(1) multibyte characters support,
FILE 3.41 --> 4.10,
GCC 3.3.3 --> 3.4.2,
NTP 4.1.1.a --> 4.2.0,
rc.d localpkg support in the Ports Collection, and
crypto distribution now part of base.

Update release notes:
snd_*(4) reorganization, and
use the term "geom class" for consistency.

MFC:
ppp(8) "set rad_alive".

20 years agoUnlock rather than lock the ripcbinfo lock at the end of rip6_input().
Robert Watson [Thu, 2 Sep 2004 20:18:02 +0000 (20:18 +0000)]
Unlock rather than lock the ripcbinfo lock at the end of rip6_input().

RELENG_5 candidate.

Foot provided by: Patrick Guelat <pg at imp dot ch>

20 years agoThe KAME IPSEC implementation at one point used its own pseudo-random
Robert Watson [Thu, 2 Sep 2004 20:14:03 +0000 (20:14 +0000)]
The KAME IPSEC implementation at one point used its own pseudo-random
number generator, which was re-seeded via a timeout.  Now centralized
randomness/entropy is used, we can garbage collect the timeout and
re-seeding code (which was largely a no-op).

Discussed with: itojun, suz, JINMEI Tatuya < jinmei at isl dot rdc dot toshiba dot co dot jp >

20 years agoaac works in ia64, twe and twa seem to work on amd64 (though not officially
Christian Brueffer [Thu, 2 Sep 2004 19:53:40 +0000 (19:53 +0000)]
aac works in ia64, twe and twa seem to work on amd64 (though not officially
supported by 3ware)

MFC after: 3 days

20 years agoIn FreeBSD 5.x, curthread is always defined, so we don't need to to test
Robert Watson [Thu, 2 Sep 2004 19:53:13 +0000 (19:53 +0000)]
In FreeBSD 5.x, curthread is always defined, so we don't need to to test
and optionally use &thread0 if it's NULL.

Spotted by: julian

20 years agoTurn PREEMPTION into a kernel option. Make sure that it's defined if
Scott Long [Thu, 2 Sep 2004 18:59:15 +0000 (18:59 +0000)]
Turn PREEMPTION into a kernel option.  Make sure that it's defined if
FULL_PREEMPTION is defined.  Add a runtime warning to ULE if PREEMPTION is
enabled (code inspired by the PREEMPTION warning in kern_switch.c).  This
is a possible MT5 candidate.

20 years agoAdd aac(4) and aacp(4). The driver is 64-bit clean for roughly a year
Marcel Moolenaar [Thu, 2 Sep 2004 18:05:26 +0000 (18:05 +0000)]
Add aac(4) and aacp(4). The driver is 64-bit clean for roughly a year
now and has been mentioned on the freebsd-ia64 list.

20 years agoBack out pseudo_vnops.c:1.45, which was a workaround for pfind()
Robert Watson [Thu, 2 Sep 2004 16:04:09 +0000 (16:04 +0000)]
Back out pseudo_vnops.c:1.45, which was a workaround for pfind()
returning incompletely initialized processes.  This problem was
eliminated by kern_proc.c:1.215, which causes pfind() not to
return processes in the PRS_NEW state.

20 years agoMinor wordsmithing of the fixit media login message.
Giorgos Keramidas [Thu, 2 Sep 2004 13:45:24 +0000 (13:45 +0000)]
Minor wordsmithing of the fixit media login message.

Approved by: re

20 years agoMFi386: revision 1.1172.
Ruslan Ermilov [Thu, 2 Sep 2004 12:50:47 +0000 (12:50 +0000)]
MFi386: revision 1.1172.

20 years agoFix URL_RELPREFIX
Denis Peplin [Thu, 2 Sep 2004 06:22:17 +0000 (06:22 +0000)]
Fix URL_RELPREFIX

20 years agoBack out ifi_epoch. The ABI breakage is too disruptive this close to
Brooks Davis [Thu, 2 Sep 2004 05:07:29 +0000 (05:07 +0000)]
Back out ifi_epoch.  The ABI breakage is too disruptive this close to
5-STABLE. ifi_epoch will shortly be reintroduced with less precistion
using the space currently allocated to ifi_unused.

20 years agoDon't enter the debugger when executing an AML breakpoint instruction
Nate Lawson [Thu, 2 Sep 2004 04:28:05 +0000 (04:28 +0000)]
Don't enter the debugger when executing an AML breakpoint instruction
unless ACPI_DEBUG is defined.  Users don't typically care about errant
breakpoint instructions.  The HP Pavilion 7915 has this in its PCI0
_INI method for rev 0x6040000 of the RSDT.

20 years agoSeptepber -> September
Tim J. Robbins [Wed, 1 Sep 2004 23:28:27 +0000 (23:28 +0000)]
Septepber -> September

Noticed by: ru

20 years agoAdded support for Intel PRO/1000 GT Desktop Adapter(Device ID 8086 107C)
Prafulla Deuskar [Wed, 1 Sep 2004 23:22:41 +0000 (23:22 +0000)]
Added support for Intel PRO/1000 GT Desktop Adapter(Device ID 8086 107C)
Removed support for Intel 82541ER
Added fix for 82547 which corrects an issue with Jumbo frames larger than 10k.
Added fix for vlan tagged frames not being properly bridged.
Corrected TBI workaround.
Corrected incorrect LED operation issues

Submitted by: tackerman (Tony Ackerman)
MFC after: 2 weeks

20 years agoRemove redundant _FBSDID.
Marcel Moolenaar [Wed, 1 Sep 2004 22:53:13 +0000 (22:53 +0000)]
Remove redundant _FBSDID.

20 years agoRevert..
Julian Elischer [Wed, 1 Sep 2004 20:42:38 +0000 (20:42 +0000)]
Revert..
not needed now

20 years agoGive up trying to make preemption dependent on SCHED_4BSD
Julian Elischer [Wed, 1 Sep 2004 20:41:18 +0000 (20:41 +0000)]
Give up trying to make preemption dependent on SCHED_4BSD
the list of breakages was getting too long

20 years agoRemove dead code.
Alan Cox [Wed, 1 Sep 2004 19:58:37 +0000 (19:58 +0000)]
Remove dead code.

20 years agoFix an assertion when if_down()ing a ALTQ managed interface. The lock should
Max Laier [Wed, 1 Sep 2004 19:56:47 +0000 (19:56 +0000)]
Fix an assertion when if_down()ing a ALTQ managed interface. The lock should
have been in place all the time the mtx_assert in the ALTQ code just
discovered the shortcoming.

PR: i386/71195
Tested by: Bettan (PR originator), myself
MFC after: 5 days

20 years agoWhen non kernel programs try to define _KERNEL
Julian Elischer [Wed, 1 Sep 2004 19:23:02 +0000 (19:23 +0000)]
When non kernel programs try to define _KERNEL
it always ends in tears.

this is a temporary hack..
we'll remove it in a short while. I'll set teh MFC to remind me

MFC after: 1 week

20 years agoIn vm_fault_unwire() eliminate the acquisition and release of Giant in the
Alan Cox [Wed, 1 Sep 2004 19:18:59 +0000 (19:18 +0000)]
In vm_fault_unwire() eliminate the acquisition and release of Giant in the
case of non-kernel pmaps.

20 years agoCorrection to the previous revision: I forgot to apply the ones complement
Alan Cox [Wed, 1 Sep 2004 19:04:09 +0000 (19:04 +0000)]
Correction to the previous revision: I forgot to apply the ones complement
to a constant.  This didn't show in testing because the broken expression
produced the same result in my tests as the correct expression.

20 years agoDon't ask for this for modules. no modules need to know about preemption at the moment
Julian Elischer [Wed, 1 Sep 2004 18:29:57 +0000 (18:29 +0000)]
Don't ask for this for modules. no modules need to know about preemption at the moment

20 years agoUse a spare byte in struct if_data to store the structure size without
Brooks Davis [Wed, 1 Sep 2004 18:22:14 +0000 (18:22 +0000)]
Use a spare byte in struct if_data to store the structure size without
increasing it.  Add code to ifconfig to use this size to find the
sockaddr_dl after the struct if_data in the routing message.  This
allows struct if_data to grow (up to 255 bytes) without breaking
ifconfig.

Submitted by: peter

20 years ago*Blush* forgot to test non SMP builds.. oddly enough some UP code (particularly
Julian Elischer [Wed, 1 Sep 2004 18:05:43 +0000 (18:05 +0000)]
*Blush*  forgot to test non SMP builds.. oddly enough some UP code (particularly
in the acpi code) seems to want this in a UP build. (I guess so you can have
a sigle kernel module that works for both)

20 years agoModify pmap_pte() to support its use on non-current, non-kernel pmaps
Alan Cox [Wed, 1 Sep 2004 18:04:22 +0000 (18:04 +0000)]
Modify pmap_pte() to support its use on non-current, non-kernel pmaps
without holding Giant.

20 years agoDisable links after getting the possible resources. Even though _DIS
Nate Lawson [Wed, 1 Sep 2004 17:59:29 +0000 (17:59 +0000)]
Disable links after getting the possible resources.  Even though _DIS
should only affect current resources, it seems best to wait until all
configuration is done before disabling it.  If this fixes any problems, it
is a MT5 candidate.

20 years agoAdd warnings about ifconfig incompatabilities caused by the addition of
Brooks Davis [Wed, 1 Sep 2004 15:14:13 +0000 (15:14 +0000)]
Add warnings about ifconfig incompatabilities caused by the addition of
ifi_epoch.

20 years agoTidy up the list of docproj dependencies. Here comes a long
Ruslan Ermilov [Wed, 1 Sep 2004 14:36:48 +0000 (14:36 +0000)]
Tidy up the list of docproj dependencies.  Here comes a long
explanation...

This makefile tries to be smart in determining the minimal list
of ports comprising the docproj meta-port, necessary to build
the FreeBSD documentation and release notes.

To get it absolutely right, it would have to generate the list
at run time, parsing the output of "make all-depends-list" for
ports/textproc/docproj, supplying the same options like in
src/release/Makefile, and trying for different platforms and
FreeBSD versions!

Besides from the complexity involved, this is just not possible
to do from here, because the ports tree may be not up-to-date or
not be available at all -- it's not required to have a checked
out ports tree to start "make release".  So makefile copies
some logic from the ports system to try to come up with the
right list...

Unfortunately, it's nearly impossible nor practical to come up
with a proper and complete list from here this way.  Such a
list would have to support all possible __FreeBSD_version's,
Perl versions, and so on, and their combinations -- everything
that the ports system would do.

The fix is to stop pretending be smart, and only provide
lists enough to build a docproj port on recent of 4.x, 5.x,
and 6.x systems, where this is practical.

What can break with this change is "make release -DNOPORTS" of
HEAD or RELENG_5, *without* -DNODOC, on older FreeBSD systems
like 5.1-RELEASE.  The change in the docproj dependency list
between 5.1 and 5.3 is as follows:

# diff docports.501000 docports.503000
< /usr/ports/devel/p5-File-Temp
< /usr/ports/devel/p5-Test-Harness
< /usr/ports/devel/p5-Test-Simple
< /usr/ports/lang/perl5
> /usr/ports/lang/perl5.8

Since doing "make release" on these old systems is not officially
supported anyway (only one tiny tweak is necessary to make it
work), the practical damage of this change is zero.

Original problem spotted by Scott Long doing "make release
-DNOPORTS RELEASETAG=RELENG_5".  That particular problem
was already fixed by the previous change to this file, while
this change is the result of some additional analyzis of the
problem.

Fix was tested by doing a "make release -DNOPORTS" of HEAD on
the 4.10-STABLE machine (with one small tweak I mentioned, to
make it possible).

20 years agoMerge from recent English versions
Denis Peplin [Wed, 1 Sep 2004 13:14:47 +0000 (13:14 +0000)]
Merge from recent English versions

MFC after: 2 days

20 years agoCleanup the storing and printing of the device transfermode for SATA.
Søren Schmidt [Wed, 1 Sep 2004 12:15:44 +0000 (12:15 +0000)]
Cleanup the storing and printing of the device transfermode for SATA.

20 years agoBack out the previous change. glob() still does use strcmp() to order
Tim J. Robbins [Wed, 1 Sep 2004 11:02:55 +0000 (11:02 +0000)]
Back out the previous change. glob() still does use strcmp() to order
pathnames.

20 years agoProtect the PREEMPTION logic with #ifdef _KERNEL to fix the build.
Scott Long [Wed, 1 Sep 2004 10:12:08 +0000 (10:12 +0000)]
Protect the PREEMPTION logic with #ifdef _KERNEL to fix the build.

20 years agoOnly turn preemption for 4bsd.
Julian Elischer [Wed, 1 Sep 2004 09:01:32 +0000 (09:01 +0000)]
Only turn preemption for 4bsd.
it's still poison for ULE.

20 years agoMove back to WARNS=2
Scott Long [Wed, 1 Sep 2004 08:26:39 +0000 (08:26 +0000)]
Move back to WARNS=2

20 years agoAdd atomicity.cc to CLEANFILES.
Ruslan Ermilov [Wed, 1 Sep 2004 08:17:20 +0000 (08:17 +0000)]
Add atomicity.cc to CLEANFILES.

20 years agoCleanup paths.
Alfred Perlstein [Wed, 1 Sep 2004 07:53:04 +0000 (07:53 +0000)]
Cleanup paths.

Submitted by: ru

20 years agoRemoved -Wall from CFLAGS.
Ruslan Ermilov [Wed, 1 Sep 2004 07:39:12 +0000 (07:39 +0000)]
Removed -Wall from CFLAGS.

20 years agoMechanically tidy up the contents of CLEANFILES:M*.h: kmod.mk
Ruslan Ermilov [Wed, 1 Sep 2004 07:12:24 +0000 (07:12 +0000)]
Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mk
automatically removes opt_*.h and if_*.h found in SRCS.

20 years agobsd.kmod.mk knows how to clean up opt_*.h files automatically,
Ruslan Ermilov [Wed, 1 Sep 2004 06:51:43 +0000 (06:51 +0000)]
bsd.kmod.mk knows how to clean up opt_*.h files automatically,
and has the necessary magic to create empty opt_*.h files.

20 years agoGive the 4bsd scheduler the ability to wake up idle processors
Julian Elischer [Wed, 1 Sep 2004 06:42:02 +0000 (06:42 +0000)]
Give the 4bsd scheduler the ability to wake up idle processors
when there is new work to be done.

MFC after: 5 days

20 years agoAdd PCI ID for the BCM4401-B0.
Dag-Erling Smørgrav [Wed, 1 Sep 2004 06:10:11 +0000 (06:10 +0000)]
Add PCI ID for the BCM4401-B0.

Submitted by: krion
MFC after: 3 days

20 years agoCreate DIP_SET() and IBLK_SET() macros to fix lvalue warnings.
Scott Long [Wed, 1 Sep 2004 05:48:06 +0000 (05:48 +0000)]
Create DIP_SET() and IBLK_SET() macros to fix lvalue warnings.

Inspired by: kan

20 years agoForced commit to remind me to...
Tim Kientzle [Wed, 1 Sep 2004 05:07:17 +0000 (05:07 +0000)]
Forced commit to remind me to...
MFC after: 3 days

20 years agoPer Ruslan, bsd.lib.mk already has support for dynamically-generated
Tim Kientzle [Wed, 1 Sep 2004 05:06:42 +0000 (05:06 +0000)]
Per Ruslan, bsd.lib.mk already has support for dynamically-generated
.h files.  This simplifies the Makefile here a bit and makes it behave
better in a couple of situations.  While I'm here, clean up some comments
and try to improve the organization a bit.

Thanks to: Ruslan Ermilov (The Marvelous Makefile Guru)

20 years agoGive setrunqueue() and sched_add() more of a clue as to
Julian Elischer [Wed, 1 Sep 2004 02:11:28 +0000 (02:11 +0000)]
Give setrunqueue() and sched_add() more of a clue as to
where they are coming from and what is expected from them.

MFC after: 2 days

20 years agoGeneral modernization of coda:
Brooks Davis [Wed, 1 Sep 2004 01:19:52 +0000 (01:19 +0000)]
General modernization of coda:
 - Ditch NVCODA
 - Don't use a static major
 - Don't declare functions extern

Reviewed by: peter

20 years agoWhen an USB keyboard is plugged in to a machine with a builtin keyboard,
Brooks Davis [Wed, 1 Sep 2004 00:08:15 +0000 (00:08 +0000)]
When an USB keyboard is plugged in to a machine with a builtin keyboard,
cause the USB keyboard to take over from the builtin one.  This means my
laptop just works when I'm using it as a desktop.

Reviewed by: imp

20 years agoNote free bit.. as per the flags word.
Julian Elischer [Tue, 31 Aug 2004 23:28:23 +0000 (23:28 +0000)]
Note free bit.. as per the flags word.

MFC after: 2 days

20 years agoClarify SDT feature word bits.
Matthew N. Dodd [Tue, 31 Aug 2004 21:51:51 +0000 (21:51 +0000)]
Clarify SDT feature word bits.

Obtained from:  NetBSD

20 years agoFix checksum calculation.
Matthew N. Dodd [Tue, 31 Aug 2004 21:45:30 +0000 (21:45 +0000)]
Fix checksum calculation.

Submitted by:  Jean Delvare <khali@linux-fr.org>

20 years agoWhen ISA_PNP_PROBE is called, it will return 0 when it finds a device,
Warner Losh [Tue, 31 Aug 2004 20:37:10 +0000 (20:37 +0000)]
When ISA_PNP_PROBE is called, it will return 0 when it finds a device,
ENOENT when there's no PNP ID for this device node, or ENXIO when there
is one, but it doesn't match.

In the nonPNP case (as most Alpha systems appear to be), we were
treating the error return as an error, when it should be have ignored
it.  Version 1.9 properly ignored it, but the attach re-write of 1.10
introduced this logic error.

Pointy Hat to: phk (for breaking it then asking me to fix it :-)
Sponsored by: The Voices in Bill Paul's Head, LLC

20 years agoU1E and U2 are now fully supported system.
Hiroki Sato [Tue, 31 Aug 2004 19:00:20 +0000 (19:00 +0000)]
U1E and U2 are now fully supported system.

MFC after: 2 days

20 years agoMake pflogd(8) store pcap_sf_pkthdr instead of MD timeval contaminated
Max Laier [Tue, 31 Aug 2004 18:04:34 +0000 (18:04 +0000)]
Make pflogd(8) store pcap_sf_pkthdr instead of MD timeval contaminated
pcap_pkthdr. This makes /var/log/pflog standart compliant on 64bit archs.

OpenBSD has fixed this by changing the bpf timeval to 32bit in the kernel,
so no need to report this over (again).

PR: bin/71096 (w/ changes)
Submitted by: Ville-Pertti Keinonen
Tested by: amd64(submitter), sparc64(yongari), i386(myself)
MFC after: 3 days

20 years agoWrong makefile in the wrong place.
Alfred Perlstein [Tue, 31 Aug 2004 17:16:53 +0000 (17:16 +0000)]
Wrong makefile in the wrong place.

Pointed out by: scottl

20 years agoEnter the autofs.
Alfred Perlstein [Tue, 31 Aug 2004 16:26:01 +0000 (16:26 +0000)]
Enter the autofs.

20 years agoDon't rely on properly setup linker.hints to figure out that pflog is now
Max Laier [Tue, 31 Aug 2004 14:23:51 +0000 (14:23 +0000)]
Don't rely on properly setup linker.hints to figure out that pflog is now
part of the pf module.
While here fix a comment that was c'n'ped from rc.d/pf

PR: bin/71096 (partly)
Submitted by: Ville-Pertti Keinonen
MFC after: 2 days

20 years agoMake coda5 compile.
Scott Long [Tue, 31 Aug 2004 13:37:51 +0000 (13:37 +0000)]
Make coda5 compile.

20 years agoFixed the module build.
Ruslan Ermilov [Tue, 31 Aug 2004 12:17:47 +0000 (12:17 +0000)]
Fixed the module build.

20 years agoRemove TDP_USTATCLOCK, we no longer need it because we now always
David Xu [Tue, 31 Aug 2004 11:52:05 +0000 (11:52 +0000)]
Remove TDP_USTATCLOCK, we no longer need it because we now always
update tick count for userland in thread_userret. This change
also removes a "no upcall owned" panic because fuword() schedules
an upcall under heavily loaded, and code assumes there is no upcall
can occur.

Reported and Tested by: Peter Holm <peter@holm.cc>

20 years agoRemove an unneeded argument..
Julian Elischer [Tue, 31 Aug 2004 07:34:54 +0000 (07:34 +0000)]
Remove an unneeded argument..
The removed argument could trivially be derived from the remaining one.
That in turn should be the same as curthread, but it is possible that curthread could be expensive to derive on some syste,s so leave it as an argument.
Having both proc and thread as an argumen tjust gives an opportunity for
them to get out sync.

MFC after: 3 days

20 years agoRemove sched_free_thread() which was only used
Julian Elischer [Tue, 31 Aug 2004 06:12:13 +0000 (06:12 +0000)]
Remove sched_free_thread() which was only used
in diagnostics. It has outlived its usefulness and has started
causing panics for people who turn on DIAGNOSTIC, in what is otherwise
good code.

MFC after: 2 days

20 years agoCorrect a style bug: remove a gratuitous space between ( and ".
Tom Rhodes [Tue, 31 Aug 2004 05:19:57 +0000 (05:19 +0000)]
Correct a style bug: remove a gratuitous space between ( and ".

Ok'ed by: fjoe

20 years agoAdd the mp_watchdog hooks, although it locks up my SMP test box. It might
Peter Wemm [Mon, 30 Aug 2004 23:33:33 +0000 (23:33 +0000)]
Add the mp_watchdog hooks, although it locks up my SMP test box.  It might
be useable to somebody.

20 years agoKill count device support from config. I've changed the last few
Peter Wemm [Mon, 30 Aug 2004 23:03:58 +0000 (23:03 +0000)]
Kill count device support from config.  I've changed the last few
remaining consumers to have the count passed as an option.  This is
i4b, pc98/wdc, and coda.

Bump configvers.h from 500013 to 600000.

Remove heuristics that tried to parse "device ed5" as 5 units of the ed
device.  This broke things like the snd_emu10k1 device, which required
quotes to make it parse right.  The no-longer-needed quotes have been
removed from NOTES, GENERIC etc.  eg, I've removed the quotes from:
   device  snd_maestro
   device  "snd_maestro3"
   device  snd_mss

I believe everything will still compile and work after this.

20 years agoAdd a suffix descriptor for the acpi thermal values as a hint for the userland
Peter Wemm [Mon, 30 Aug 2004 22:42:10 +0000 (22:42 +0000)]
Add a suffix descriptor for the acpi thermal values as a hint for the userland
sysctl tool to print a more readable value for temperatures.

20 years agoWhen configuring RAID3 with verification option, force synchronization
Pawel Jakub Dawidek [Mon, 30 Aug 2004 22:08:00 +0000 (22:08 +0000)]
When configuring RAID3 with verification option, force synchronization
of parity component, because we can't return an EIO error for read of
every sector which wasn't written first.

Discussed with: phk

20 years ago - Introduce a lock for synchronizing access to the pvo and pteg tables.
Alan Cox [Mon, 30 Aug 2004 21:39:22 +0000 (21:39 +0000)]
 - Introduce a lock for synchronizing access to the pvo and pteg tables.
 - In pmap_enter(), only the acquisition and release of the page queues
   lock needs to check the bootstrap flag.

Tested by: gallatin@

20 years agoFix _FDI drive type probing. The new fd child is not an ACPI device while
Nate Lawson [Mon, 30 Aug 2004 21:35:34 +0000 (21:35 +0000)]
Fix _FDI drive type probing.  The new fd child is not an ACPI device while
the old one is.  Hence we need to evaluate the old one for _FDI since it
has a valid ACPI_HANDLE ivar.  This is a minimal fix.  Make a note that a
more complete one is to make fdc support the ACPI_HANDLE ivar for its
children.

This and the previous change are MT5 candidates.

20 years agoFix _FDE probing by using the buffer contents instead of the buffer
Nate Lawson [Mon, 30 Aug 2004 21:13:03 +0000 (21:13 +0000)]
Fix _FDE probing by using the buffer contents instead of the buffer
object itself.  ACPI-CA returns an ACPI_OBJECT of type Buffer rather than
the buffer contents itself.

20 years agoRemove support for configuring the X server from sysinstall. General
Ken Smith [Mon, 30 Aug 2004 21:03:09 +0000 (21:03 +0000)]
Remove support for configuring the X server from sysinstall.  General
concensus seems to be that is best left for doing post-install.

Discussed on: freebsd-current@
Tested with: make release
Approved by: re@
MFC after: 3 days

20 years agoCorrect a typo in a comment: alloated->allocated
Justin T. Gibbs [Mon, 30 Aug 2004 20:15:42 +0000 (20:15 +0000)]
Correct a typo in a comment: alloated->allocated

Reported by: Jens Schweikhardt <schweikh@schweikhardt.net>