Commit Graph

107105 Commits

Author SHA1 Message Date
Alfred Perlstein
0793d4d1e4 Hook autofs to the build. 2004-09-02 20:44:56 +00:00
Hiroki Sato
7b3b73051a 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".
2004-09-02 20:30:05 +00:00
Robert Watson
0b7851fa03 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>
2004-09-02 20:18:02 +00:00
Robert Watson
71182fbeb6 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 >
2004-09-02 20:14:03 +00:00
Christian Brueffer
23370e2835 aac works in ia64, twe and twa seem to work on amd64 (though not officially
supported by 3ware)

MFC after:	3 days
2004-09-02 19:53:40 +00:00
Robert Watson
42ec1da481 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
2004-09-02 19:53:13 +00:00
Scott Long
9923b511ed 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.
2004-09-02 18:59:15 +00:00
Marcel Moolenaar
44af2aa001 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.
2004-09-02 18:05:26 +00:00
Robert Watson
10b7196db4 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.
2004-09-02 16:04:09 +00:00
Giorgos Keramidas
eba7d78ea7 Minor wordsmithing of the fixit media login message.
Approved by:	re
2004-09-02 13:45:24 +00:00
Ruslan Ermilov
f737784258 MFi386: revision 1.1172. 2004-09-02 12:50:47 +00:00
Denis Peplin
1dc6d50084 Fix URL_RELPREFIX 2004-09-02 06:22:17 +00:00
Brooks Davis
4ff62bd97b 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.
2004-09-02 05:07:29 +00:00
Nate Lawson
2df0b34b24 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.
2004-09-02 04:28:05 +00:00
Tim J. Robbins
b37ff7a592 Septepber -> September
Noticed by:	ru
2004-09-01 23:28:27 +00:00
Prafulla Deuskar
9821d34f43 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
2004-09-01 23:22:41 +00:00
Marcel Moolenaar
c78752b94b Remove redundant _FBSDID. 2004-09-01 22:53:13 +00:00
Julian Elischer
2e89675af0 Revert..
not needed now
2004-09-01 20:42:38 +00:00
Julian Elischer
df3a834f7e Give up trying to make preemption dependent on SCHED_4BSD
the list of breakages was getting too long
2004-09-01 20:41:18 +00:00
Alan Cox
c2296e999c Remove dead code. 2004-09-01 19:58:37 +00:00
Max Laier
7b21048cea 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
2004-09-01 19:56:47 +00:00
Julian Elischer
7d901dbf29 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
2004-09-01 19:23:02 +00:00
Alan Cox
1a95d74419 In vm_fault_unwire() eliminate the acquisition and release of Giant in the
case of non-kernel pmaps.
2004-09-01 19:18:59 +00:00
Alan Cox
3c3e8d1100 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.
2004-09-01 19:04:09 +00:00
Julian Elischer
6222ded017 Don't ask for this for modules. no modules need to know about preemption at the moment 2004-09-01 18:29:57 +00:00
Brooks Davis
9e734b4468 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
2004-09-01 18:22:14 +00:00
Julian Elischer
7e37fb1729 *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)
2004-09-01 18:05:43 +00:00
Alan Cox
e33353b52b Modify pmap_pte() to support its use on non-current, non-kernel pmaps
without holding Giant.
2004-09-01 18:04:22 +00:00
Nate Lawson
0c601400a3 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.
2004-09-01 17:59:29 +00:00
Brooks Davis
3789fb755d Add warnings about ifconfig incompatabilities caused by the addition of
ifi_epoch.
2004-09-01 15:14:13 +00:00
Ruslan Ermilov
a562ac12a7 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).
2004-09-01 14:36:48 +00:00
Denis Peplin
e8c7bf37ef Merge from recent English versions
MFC after:	2 days
2004-09-01 13:14:47 +00:00
Søren Schmidt
8ea3547a15 Cleanup the storing and printing of the device transfermode for SATA. 2004-09-01 12:15:44 +00:00
Tim J. Robbins
e6e1974ba5 Back out the previous change. glob() still does use strcmp() to order
pathnames.
2004-09-01 11:02:55 +00:00
Scott Long
f164d4148e Protect the PREEMPTION logic with #ifdef _KERNEL to fix the build. 2004-09-01 10:12:08 +00:00
Julian Elischer
02ea3bcab9 Only turn preemption for 4bsd.
it's still poison for ULE.
2004-09-01 09:01:32 +00:00
Scott Long
4e50d4499a Move back to WARNS=2 2004-09-01 08:26:39 +00:00
Ruslan Ermilov
1918cd64a5 Add atomicity.cc to CLEANFILES. 2004-09-01 08:17:20 +00:00
Alfred Perlstein
20dc1b47c1 Cleanup paths.
Submitted by: ru
2004-09-01 07:53:04 +00:00
Ruslan Ermilov
5eadd7403e Removed -Wall from CFLAGS. 2004-09-01 07:39:12 +00:00
Ruslan Ermilov
7206243f04 Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mk
automatically removes opt_*.h and if_*.h found in SRCS.
2004-09-01 07:12:24 +00:00
Ruslan Ermilov
5355cfee73 bsd.kmod.mk knows how to clean up opt_*.h files automatically,
and has the necessary magic to create empty opt_*.h files.
2004-09-01 06:51:43 +00:00
Julian Elischer
6804a3ab6d Give the 4bsd scheduler the ability to wake up idle processors
when there is new work to be done.

MFC after:	5 days
2004-09-01 06:42:02 +00:00
Dag-Erling Smørgrav
037fc73d96 Add PCI ID for the BCM4401-B0.
Submitted by:	krion
MFC after:	3 days
2004-09-01 06:10:11 +00:00
Scott Long
c3b2344b93 Create DIP_SET() and IBLK_SET() macros to fix lvalue warnings.
Inspired by: kan
2004-09-01 05:48:06 +00:00
Tim Kientzle
463d737b90 Forced commit to remind me to...
MFC after: 3 days
2004-09-01 05:07:17 +00:00
Tim Kientzle
00ccc351f8 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)
2004-09-01 05:06:42 +00:00
Julian Elischer
2630e4c90c 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
2004-09-01 02:11:28 +00:00
Brooks Davis
b443062227 General modernization of coda:
- Ditch NVCODA
 - Don't use a static major
 - Don't declare functions extern

Reviewed by:	peter
2004-09-01 01:19:52 +00:00
Brooks Davis
e3a9804180 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
2004-09-01 00:08:15 +00:00