aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove rcconf.sh from /etc/rc.d, and instead load the configurationDoug Barton2005-12-109-27/+58
| | | | | | | | | | | | | | | | | | | as part of rc. Doing this, and the sourcing of rc.subr after we have determined if we are booting diskless (and correspondingly run rc.initdiskless if necessary) are safe, and actually allow fewer files to be needed on the diskless box. This also allows variables from the configuration to be available to rc itself, such as ... Add a variable to rc.conf, early_late_divider, which designates the script which separates the early and late stages of the boot process. Default this to mountcritlocal, and add text to etc/defaults/rc.conf, rc.conf(5) and diskless(8) which describes how and why one might want to change this. Reviewed by: brooks Notes: svn path=/head/; revision=153298
* Silence a warning about empty directories in all the places it mightDoug Barton2005-12-101-1/+1
| | | | | | | | | occur. Reminded by: yar Notes: svn path=/head/; revision=153297
* Use of REQUIRE is better than BEFORE for most scripts, and veryDoug Barton2005-12-101-1/+1
| | | | | | | few scripts should have no REQUIRE at all. Notes: svn path=/head/; revision=153295
* Hide the 4k mbuf clusters if the normal clusters are defined to beAndre Oppermann2005-12-102-0/+6
| | | | | | | | | | | 4k already. This unbreaks tinderbox. Submitted by: ru Notes: svn path=/head/; revision=153294
* Adopt for modern FreeBSD.Ruslan Ermilov2005-12-105-28/+26
| | | | | | | Requested by: az Notes: svn path=/head/; revision=153291
* Xref padlock(4), also fast_ipsec(4) and geli(8) as consumers of this device.Christian Brueffer2005-12-101-0/+3
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=153290
* Manpage for the padlock driver (VIA C3/Eden AES support and RNG).Christian Brueffer2005-12-102-0/+76
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=153289
* Allocate the jumbo rx frame buffer with busdma.Scott Long2005-12-102-15/+28
| | | | Notes: svn path=/head/; revision=153288
* When we get a bogus hostname in an option, drop the option rather thanBrooks Davis2005-12-101-1/+4
| | | | | | | | | | refusing the lease. This allow obtaining leases on misadministered networks that use host names with underscores in them. MFC After: 3 days Notes: svn path=/head/; revision=153287
* if_ti has been operating with locks for a while, so remove the GIANT markers.Scott Long2005-12-101-20/+29
| | | | | | | Also fix man potential locking problems in the cdev ioctl handler. Notes: svn path=/head/; revision=153281
* The if_ti Tigon I/II driver has moved to /sys/dev/tiScott Long2005-12-107-14455/+5
| | | | Notes: svn path=/head/; revision=153280
* - Better use of the busdma API.Olivier Houchard2005-12-092-47/+69
| | | | | | | - Use spin locks instead of sleep locks. Notes: svn path=/head/; revision=153279
* Fix a harmless bug in the way we allocate the early PTEs.Olivier Houchard2005-12-091-3/+2
| | | | Notes: svn path=/head/; revision=153278
* The IQ80321 clock is 200MHz, but the IQ80321 is 198MHz, so add a kernel optionOlivier Houchard2005-12-093-0/+7
| | | | | | | to override the frequency Notes: svn path=/head/; revision=153277
* A #define is not enough, we need to cast from u_long * to uint32_t *.Olivier Houchard2005-12-091-1/+8
| | | | Notes: svn path=/head/; revision=153276
* Define atomic_whatever_longOlivier Houchard2005-12-091-0/+4
| | | | Notes: svn path=/head/; revision=153275
* In copyout(), quad-align the source buffer, and use ldrd if possible.Olivier Houchard2005-12-091-54/+33
| | | | Notes: svn path=/head/; revision=153273
* Files are installed with mode 444 by default.Ruslan Ermilov2005-12-091-1/+0
| | | | Notes: svn path=/head/; revision=153272
* Really fix the relative timestamp bug. It was only incorrect for the ALQNate Lawson2005-12-091-1/+2
| | | | | | | | | | | case. It seems entries are in reverse order when read from the kernel memory but in the right order when read from a file (i.e. ALQ). Handle both cases. MFC after: 1 day Notes: svn path=/head/; revision=153270
* Unbreak hotplug support on the ICH6 and ICH7 chipsets.Søren Schmidt2005-12-091-3/+4
| | | | Notes: svn path=/head/; revision=153269
* Sync with i386, fix compiling for non-SMP.David Xu2005-12-091-0/+2
| | | | Notes: svn path=/head/; revision=153268
* Fix compiling warning on 64 bits system.David Xu2005-12-091-1/+1
| | | | Notes: svn path=/head/; revision=153267
* Cleanup _FreeBSD_version.Gleb Smirnoff2005-12-091-3/+0
| | | | Notes: svn path=/head/; revision=153266
* Fix build breakage by fixing typo.Pawel Jakub Dawidek2005-12-091-1/+1
| | | | | | | Reported by: glebius Notes: svn path=/head/; revision=153265
* Add a sysctl to force a process to sigexit if a trap signal isDavid Xu2005-12-091-0/+17
| | | | | | | | | being hold by current thread or ignored by current process, otherwise, it is very possible the thread will enter an infinite loop and lead to an administrator's nightmare. Notes: svn path=/head/; revision=153264
* Remove itimers_event_hook, now it is a private function in kern_time.c.David Xu2005-12-091-1/+0
| | | | Notes: svn path=/head/; revision=153263
* Fix memory leak.Ruslan Ermilov2005-12-091-0/+1
| | | | | | | | PR: kern/90113 Submitted by: Antoine Brodin Notes: svn path=/head/; revision=153261
* config.5 was repocopied from share/man/man5/ to usr.sbin/config/.Ruslan Ermilov2005-12-093-383/+1
| | | | | | | Repocopied by: peter Notes: svn path=/head/; revision=153260
* Register itimers_event_hook as a kernel event handler, so I don'tDavid Xu2005-12-093-9/+9
| | | | | | | have to duplicate code to call it in exec() and exit1(). Notes: svn path=/head/; revision=153259
* Remove the -B option from the directory-copying examples. The -BTim Kientzle2005-12-091-2/+2
| | | | | | | | | | | option is undocumented because it does nothing. It does nothing because bsdtar never needs it. It is accepted because gnutar does sometimes need it and many scripts use it. Reported by: Pawel Jakub Dawidek Notes: svn path=/head/; revision=153258
* fixed a kernel crash at the initialization time of PIM-SM register interfaceSUZUKI Shinsuke2005-12-091-13/+30
| | | | | | | MFC after: 2 days Notes: svn path=/head/; revision=153257
* Tweak -32 description and add -32 FILES.David E. O'Brien2005-12-091-2/+7
| | | | Notes: svn path=/head/; revision=153256
* Comment out mqfs_create_link. Inline some small functions.David Xu2005-12-091-4/+4
| | | | Notes: svn path=/head/; revision=153254
* Now SIGCHLD is always queued.David Xu2005-12-091-14/+4
| | | | Notes: svn path=/head/; revision=153253
* Cleanup sigqueue sysctl.David Xu2005-12-091-6/+2
| | | | Notes: svn path=/head/; revision=153252
* - Allow to specify the byte which will be used for filling read buffer.Pawel Jakub Dawidek2005-12-081-4/+7
| | | | | | | | | - Improve sysctl description a bit. Submitted by: Ivan Voras <ivoras@gmail.com> Notes: svn path=/head/; revision=153251
* Teach NOP GEOM class how to gather the following statistics:Pawel Jakub Dawidek2005-12-084-9/+99
| | | | | | | | | | | - number of read I/O requests, - number of write I/O requests, - number of read bytes, - number of written bytes. Add 'reset' subcommand for resetting statistics. Notes: svn path=/head/; revision=153250
* Careful measurement of the ST Labs card shows that the pulse width ofWarner Losh2005-12-081-1/+1
| | | | | | | | | | | | | | | transmitted bits was between 8.6180us and 8.6200us when we used a RCLK of 16.500MHz. This is a little low (should be 8.6805us). This error is exactly the error one would expect if it actually had a 16.384MHz watch oscillator (as suggested by garrett) instead of using the PCI RCLK. Assume that the pci clock therefore wasn't really used, but instead the cheap 16.384MH watch quartz oscillator. This gives bits in the 8.6800us to 8.6810us ranage, which matches theoretical. Submitted by: garrett Notes: svn path=/head/; revision=153249
* Regen for futimes.Doug Ambrisko2005-12-084-3/+8
| | | | Notes: svn path=/head/; revision=153248
* Add 32bit version of futimes so untar doesn't result in bad datesDoug Ambrisko2005-12-082-1/+24
| | | | | | | | | (Jan 1, 1970) when run on amd64. Reviewed by: ps Notes: svn path=/head/; revision=153247
* - Document trap's -l option and the behaviour of a missing action or a singleStefan Farfeleder2005-12-081-2/+14
| | | | | | | | | | | dash. - Discourage the omission of the action. PR: 70985 [1] Submitted by: Martin Kammerhofer Notes: svn path=/head/; revision=153246
* Print empty quotes ('') when an empty string is passed to outqstr().Stefan Farfeleder2005-12-081-0/+4
| | | | | | | | | | This makes a difference for the trap builtin, where after "trap '' 0" we printed "trap -- quit". This is wrong, because an empty action means to reset the action to the default. A side effect of this commit is that empty variables are now printed as "variable=''" instead of just "variable=". Notes: svn path=/head/; revision=153245
* Correctly quote the output when showing the installed trap actions.Stefan Farfeleder2005-12-081-6/+5
| | | | | | | | PR: 74043 Submitted by: Jilles Tjoelker Notes: svn path=/head/; revision=153244
* Add support for 7320 and 915 PCIe chipsets.Craig Rodrigues2005-12-081-7/+11
| | | | | | | | | Submitted by: Gavin Atkinson <gavin.atkinson at ury dot york dot ac dot uk> PR: kern/79139 Reviewed by: scottl Notes: svn path=/head/; revision=153243
* Whitespace: reduce diffs with amd64.John Baldwin2005-12-081-2/+1
| | | | Notes: svn path=/head/; revision=153242
* MFi386:John Baldwin2005-12-0813-186/+101
| | | | | | | | | | | | | | | | | | | | | | | | - Move PUSH_FRAME and POP_FRAME to asmacros.h and use PUSH_FRAME in atpic entry points. - Move PCPU_* asm macros out of the middle of the asm profiling macros. - Pass IRQ vector argument as an int rather than void * to reduce diffs with i386. - EOI the lapic in C for the lapic timer handler. - GC unused Xcpuast function. - Split IPI_STOP handling code of ipi_nmi_handler() out into a cpustop_handler() function and call it from Xcpustop rather than duplicating all the logic in assembly. - Fixup the list of symbols with interrupt frames in ddb traces. Xatpic_fastintr* have never existed on amd64, and the lapic timer handler and various IPI handlers were missing. - Use trapframe instead of intrframe for interrupt entry points (on amd64 the interrupt vector was already a separate argument, so the two frames were already identical) and GC intrframe. Submitted by: peter (3) Notes: svn path=/head/; revision=153241
* Clarify that the echo builtin takes an arbitrary number of strings.Stefan Farfeleder2005-12-081-4/+3
| | | | | | | Mention that spaces are printed between the strings. Notes: svn path=/head/; revision=153240
* A big rewrite of receive Jumbo frame handling. Remove the local JumboGleb Smirnoff2005-12-082-248/+75
| | | | | | | | | | | | | | | | | | | | | | | | cluster allocator, that wasn't MPSAFE. Instead, utilize our new generic UMA jumbo cluster allocator. Since UMA gives us a 9k piece that is contigous in virtual memory, but isn't contigous in physical memory we need to handle a few segments. To deal with this we utilize Tigon chip feature - extended RX descriptors, that can handle up to four DMA segments for one frame. Details: o Remove bge_alloc_jumbo_mem(), bge_free_jumbo_mem(), bge_jalloc(), bge_jfree() functions. o Remove SLIST heads, bge_jumbo_tag, bge_jumbo_map from softc. o Use extended RX BDs for Jumbo receive producer ring, and initialize it appropriately. o New bge_newbuf_jumbo(): - Allocate an mbuf with Jumbo cluster with help of m_cljget(). - Load the cluster for DMA with help of bus_dmamap_load_mbuf_sg(). - Assert that we got 3 segments in the DMA mapping. - Fill in these 3 segments into the extended RX descriptor. Notes: svn path=/head/; revision=153239
* Suppress logging about unimplemented syscalls to one time per process. ThisGleb Smirnoff2005-12-081-9/+7
| | | | | | | | | prevents hard flood of the system console. Reviewed by: bde Notes: svn path=/head/; revision=153236
* After printing per-cpu cache contents, summarize total cached items andRobert Watson2005-12-081-4/+16
| | | | | | | | | entries across the caches. Fix an off-by-one error in counting caches. Notes: svn path=/head/; revision=153235