summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Revert..julian2004-09-011-2/+0
| | | | not needed now
* Give up trying to make preemption dependent on SCHED_4BSDjulian2004-09-011-4/+1
| | | | the list of breakages was getting too long
* Remove dead code.alc2004-09-011-4/+0
|
* Fix an assertion when if_down()ing a ALTQ managed interface. The lock shouldmlaier2004-09-011-0/+2
| | | | | | | | | 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
* When non kernel programs try to define _KERNELjulian2004-09-011-0/+2
| | | | | | | | | 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
* In vm_fault_unwire() eliminate the acquisition and release of Giant in thealc2004-09-011-4/+0
| | | | case of non-kernel pmaps.
* Correction to the previous revision: I forgot to apply the ones complementalc2004-09-011-1/+1
| | | | | to a constant. This didn't show in testing because the broken expression produced the same result in my tests as the correct expression.
* Don't ask for this for modules. no modules need to know about preemption at ↵julian2004-09-011-1/+1
| | | | the moment
* Use a spare byte in struct if_data to store the structure size withoutbrooks2004-09-013-1/+6
| | | | | | | | | 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
* *Blush* forgot to test non SMP builds.. oddly enough some UP code (particularlyjulian2004-09-011-1/+2
| | | | | 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)
* Modify pmap_pte() to support its use on non-current, non-kernel pmapsalc2004-09-011-2/+22
| | | | without holding Giant.
* Disable links after getting the possible resources. Even though _DISnjl2004-09-011-12/+12
| | | | | | 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.
* Add warnings about ifconfig incompatabilities caused by the addition ofbrooks2004-09-011-0/+9
| | | | ifi_epoch.
* Tidy up the list of docproj dependencies. Here comes a longru2004-09-011-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* Merge from recent English versionsden2004-09-018-297/+261
| | | | MFC after: 2 days
* Cleanup the storing and printing of the device transfermode for SATA.sos2004-09-012-14/+12
|
* Back out the previous change. glob() still does use strcmp() to ordertjr2004-09-011-4/+4
| | | | pathnames.
* Protect the PREEMPTION logic with #ifdef _KERNEL to fix the build.scottl2004-09-011-0/+2
|
* Only turn preemption for 4bsd.julian2004-09-011-0/+3
| | | | it's still poison for ULE.
* Move back to WARNS=2scottl2004-09-011-1/+1
|
* Add atomicity.cc to CLEANFILES.ru2004-09-011-0/+1
|
* Cleanup paths.alfred2004-09-011-4/+6
| | | | Submitted by: ru
* Removed -Wall from CFLAGS.ru2004-09-011-1/+1
|
* Mechanically tidy up the contents of CLEANFILES:M*.h: kmod.mkru2004-09-015-7/+3
| | | | automatically removes opt_*.h and if_*.h found in SRCS.
* bsd.kmod.mk knows how to clean up opt_*.h files automatically,ru2004-09-012-8/+1
| | | | and has the necessary magic to create empty opt_*.h files.
* Give the 4bsd scheduler the ability to wake up idle processorsjulian2004-09-018-27/+251
| | | | | | when there is new work to be done. MFC after: 5 days
* Add PCI ID for the BCM4401-B0.des2004-09-012-0/+3
| | | | | Submitted by: krion MFC after: 3 days
* Create DIP_SET() and IBLK_SET() macros to fix lvalue warnings.scottl2004-09-015-40/+59
| | | | Inspired by: kan
* Forced commit to remind me to...kientzle2004-09-010-0/+0
| | | | MFC after: 3 days
* Per Ruslan, bsd.lib.mk already has support for dynamically-generatedkientzle2004-09-011-17/+11
| | | | | | | | .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)
* Give setrunqueue() and sched_add() more of a clue as tojulian2004-09-0116-30/+50
| | | | | | where they are coming from and what is expected from them. MFC after: 2 days
* General modernization of coda:brooks2004-09-0113-191/+110
| | | | | | | | - Ditch NVCODA - Don't use a static major - Don't declare functions extern Reviewed by: peter
* When an USB keyboard is plugged in to a machine with a builtin keyboard,brooks2004-09-011-0/+10
| | | | | | | 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
* Note free bit.. as per the flags word.julian2004-08-311-0/+1
| | | | MFC after: 2 days
* Clarify SDT feature word bits.mdodd2004-08-311-4/+5
| | | | Obtained from: NetBSD
* Fix checksum calculation.mdodd2004-08-311-12/+7
| | | | Submitted by: Jean Delvare <khali@linux-fr.org>
* When ISA_PNP_PROBE is called, it will return 0 when it finds a device,imp2004-08-311-2/+1
| | | | | | | | | | | | | 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
* U1E and U2 are now fully supported system.hrs2004-08-311-6/+6
| | | | MFC after: 2 days
* Make pflogd(8) store pcap_sf_pkthdr instead of MD timeval contaminatedmlaier2004-08-311-0/+36
| | | | | | | | | | | | 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
* Wrong makefile in the wrong place.alfred2004-08-311-0/+14
| | | | Pointed out by: scottl
* Enter the autofs.alfred2004-08-3111-0/+1595
|
* Don't rely on properly setup linker.hints to figure out that pflog is nowmlaier2004-08-311-2/+2
| | | | | | | | | 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
* Make coda5 compile.scottl2004-08-311-6/+4
|
* Fixed the module build.ru2004-08-311-6/+3
|
* Remove TDP_USTATCLOCK, we no longer need it because we now alwaysdavidxu2004-08-312-56/+30
| | | | | | | | | 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>
* Remove an unneeded argument..julian2004-08-3111-14/+14
| | | | | | | | | 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
* Remove sched_free_thread() which was only usedjulian2004-08-3112-65/+0
| | | | | | | | 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
* Correct a style bug: remove a gratuitous space between ( and ".trhodes2004-08-311-1/+1
| | | | Ok'ed by: fjoe
* Add the mp_watchdog hooks, although it locks up my SMP test box. It mightpeter2004-08-303-0/+11
| | | | be useable to somebody.
* Kill count device support from config. I've changed the last fewpeter2004-08-3037-292/+98
| | | | | | | | | | | | | | | | | 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.
OpenPOWER on IntegriCloud