summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add a means of starting an IKE daemon from the rc system at an appropriateBruce M Simpson2003-11-282-0/+21
| | | | | | | | | | | | time during the boot process. This is needed in the case where NFS mounts from servers reachable only via IPSEC are in /etc/fstab. PR: conf/42497 Submitted by: Volker Stolz Approved by: re (rwatson) Notes: svn path=/head/; revision=123029
* Fix an optimization where I made an ifdef'd out section to broad.Andre Oppermann2003-11-281-4/+4
| | | | | | | | | | | | | | When the hostcache bucket limit is reached the last bucket wasn't removed from the bucket row but inserted a few lines later at the bucket row head again. This leads to infinite loop when the same bucket row is accessed the next time for a lookup/insert or purge action. Tested by: imp, Matt Smith Approved by: re (rwatson) Notes: svn path=/head/; revision=123028
* missing splx.Hajimu UMEMOTO2003-11-281-0/+1
| | | | | | | | | | this is a NOOP change, and primarily merged for consistency with -STABLE. Approved by: re (rwatson) Notes: svn path=/head/; revision=123023
* Understand the old pseudo-device config(8) file directive, for 4.x.Ruslan Ermilov2003-11-281-2/+2
| | | | Notes: svn path=/head/; revision=123022
* Sometimes cardbus attachments don't attach, so while we track downWarner Losh2003-11-2816-2/+18
| | | | | | | | | | | this problem put these lines back in. While they should be unnecessary, they appear to be sometimes necessary. Reviewed in concept: dfr Approved by: re (scottl@) Notes: svn path=/head/; revision=123019
* Eliminate a duplicate free when deleting an interface address. ThisSam Leffler2003-11-281-11/+1
| | | | | | | | | | | caused crashes, typically during shutdown, because the second free referenced a mutex that had been destroyed. Tested by: several Approved by: re (scottl) Notes: svn path=/head/; revision=123018
* Clarify that the encrypted device is called foo.bde and mention thatPoul-Henning Kamp2003-11-271-0/+9
| | | | | | | | | | unmounting it before detaching GBDE is a good idea. Insisted on by: Flemming Jacobsen <fj@batmule.dk> Approveed by: re@ Notes: svn path=/head/; revision=123017
* Add manual page for CPU_ELAN, CPU_SOEKRIS and related options for thePoul-Henning Kamp2003-11-272-1/+113
| | | | | | | | | Elan 520 CPU chip. Approved by: re@ Notes: svn path=/head/; revision=123016
* Refactor AMD Elan 520 CPU support.Poul-Henning Kamp2003-11-271-61/+222
| | | | | | | | | | | | | Make it possible to configure GPIO pins as led(4) devices, PPS inputs and PPS-echo outputs with a sysctl. Led(4) and PPS-echo can be configured for active-high or active-low. Be more complete in initialization of timecounter hardware. Approved by: re@ Notes: svn path=/head/; revision=123015
* Improve semantics of the 'sequence' command to led(4) devices:Poul-Henning Kamp2003-11-272-14/+14
| | | | | | | | | use lowercase for off and upper case for on. Approved by: re@ Notes: svn path=/head/; revision=123014
* Fix a panic due to holding a lock over calls to uiomove.Mathew Kanner2003-11-273-30/+39
| | | | | | | | | | Pointed out by: Artur Poplawski Explained by: Don Lewis (truckman) Approved by: tanimura (mentor) Approved by: scottl (re) Notes: svn path=/head/; revision=123013
* Mention that floppy based installs are not supported on amd64 systemsPeter Wemm2003-11-271-0/+3
| | | | | | | | | | rather than leaving the section blank. This was left out of the last commit by accident. Approved by: bmah Notes: svn path=/head/; revision=123012
* Update for amd64 so that the devices list is a bit more complete and therePeter Wemm2003-11-274-324/+336
| | | | | | | | | are not quite so many blank sections. Approved by: bmah Notes: svn path=/head/; revision=123011
* Fix i386 apic support merge botch. sizeof(long) is 8, not 4. This fixesPeter Wemm2003-11-271-1/+1
| | | | | | | | | the annoying 'sysctl: hw.intrcnt: out of memory' error message in systat. Approved by: re (rwatson) Notes: svn path=/head/; revision=123010
* * If a processor's softc is NULL, use C1 since there is no ACPINate Lawson2003-11-271-4/+11
| | | | | | | | | | processor object for this CPU. This occurs for logical CPUs which do not have an associated processor object (e.g., HTT). Approved by: re (rwatson) Notes: svn path=/head/; revision=123007
* Fix verify_rev_path() function. The author of this function tried toAndre Oppermann2003-11-271-13/+7
| | | | | | | | | | | cut corners which completely broke down when the routing table locking was introduced. Reviewed by: sam (mentor) Approved by: re (rwatson) Notes: svn path=/head/; revision=123000
* ServeRaid (at least 5i) didn't initialize correctly. To getMartin Blapp2003-11-273-4/+211
| | | | | | | | | | | | | | | | | | | | | | | | them working (cache, automatic rebuild and hotswap) the FFDC info (First Failure Data Capture) on the adapter must be initialised. Logical drives in critical/degraded states weren't added to the drive list. FreeBSD was not able to see a degraded array after a reboot. Degraded drives are now also added to the drivelist and the state of the logical drive is given at boottime. The adapter type is detected from informations in nvram page 5 and displayed at boottime. Change IPS_OS_FREEBSD definition from 10 to 8 according to IBM specs. Submitted by: <Patrick Guelat> pgfb@imp.ch Reviewed by: mbr, scottl Approved by: re Notes: svn path=/head/; revision=122999
* Fix whitespace error in previous commit.Wes Peters2003-11-271-1/+1
| | | | | | | Approved by: RE@ (Robert Watson) Notes: svn path=/head/; revision=122998
* Make sure all uses of stack allocated struct route's are properlyAndre Oppermann2003-11-264-8/+7
| | | | | | | | | | | zeroed. Doing a bzero on the entire struct route is not more expensive than assigning NULL to ro.ro_rt and bzero of ro.ro_dst. Reviewed by: sam (mentor) Approved by: re (scottl) Notes: svn path=/head/; revision=122996
* * Add acpi_pcpu_get_id(idx, *acpi_id, *cpu_id) which fetches theNate Lawson2003-11-262-51/+53
| | | | | | | | | | | | | | | | | | | | | | | | | idx'th present CPU with pc_acpi_id equal to *acpi_id. If *acpi_id does not match that processor's pc_acpi_id, return the value for ProcId derived from the MADT in *acpi_id. If pc_acpi_id is 0xffffffff, always override it with the value of *acpi_id. Finally, return pc_cpuid in *cpu_id and use that as our primary key. * Use pc_cpuid as our unique key because we know it is valid since MD code set it. The values for ProcId in the ASL and MADT don't match up on some machines (!), forcing us to fall back to ordered probing in that case. * Remove some #ifdef SMP since the refcount doesn't hurt performance and will be needed for dynamic _CST objects. Only one #ifdef SMP (for smp_rendezvous) remains. * Hook up SMP in the compile flags in the Makefile. Tested by: marcel, truckman Approved by: re (scottl) Notes: svn path=/head/; revision=122995
* Learn about new world orderAlexey Zelkin2003-11-262-12/+22
| | | | Notes: svn path=/head/; revision=122994
* Grammar, spelling and punctuation sweep.Christian Brueffer2003-11-261-9/+9
| | | | | | | Approved by: re (rwatson) Notes: svn path=/head/; revision=122992
* Split the "inp" mutex class into separate classes for each of divert,Sam Leffler2003-11-268-11/+13
| | | | | | | | | | | raw, tcp, udp, raw6, and udp6 sockets to avoid spurious witness complaints. Reviewed by: rwatson Approved by: re (rwatson) Notes: svn path=/head/; revision=122991
* Restructure a too broad ifdef which was disabling the setting of theAndre Oppermann2003-11-252-4/+8
| | | | | | | | | tcp flightsize sysctl value for local networks in the !INET6 case. Approved by: re (scottl) Notes: svn path=/head/; revision=122987
* workaround LOR in rt_setgateSam Leffler2003-11-251-1/+3
| | | | | | | | Reviewed by: andre Approved by: re (rwatson) Notes: svn path=/head/; revision=122986
* Correct the name of the make(1) knob to disable dynamic rootSimon L. B. Nielsen2003-11-252-2/+2
| | | | | | | | | | (s/WITHOUT_DYNAMICROOT/NO_DYNAMICROOT/). Approved by: re (scottl) Noticed by: Matthias Schndehtte <Matthias.Schuendehuette@siemens.com> Notes: svn path=/head/; revision=122984
* Move mly, plip, and slip back into the kernel so floppy 3 can fit again. I'mScott Long2003-11-251-3/+0
| | | | | | | | | not sure why it exploded in the last 10 days, though I suspect nfsclient.ko. Approved by: re (rwatson) Notes: svn path=/head/; revision=122983
* Turns out that building modules with the kernel opt files isWarner Losh2003-11-251-1/+0
| | | | | | | | | | | | | | uncovering some interesting problems. Be conservative and effecitvely disable this by default. Interested parties may still define KERNBUILDDIR by hand to achive the same effect. I plan on referting this change after 5.2 is released, or sooner if the issues with building releases are resolved and re@ approves. Approved by: re@ (scottl, marcel) Notes: svn path=/head/; revision=122982
* Write the correct value to `td_be' for the second and furtherIan Dowse2003-11-251-1/+1
| | | | | | | | | | | | | | transfer descriptors when a large request needs to be split into more than one 8k chunk. The bug was that the calculation did not take into account the offset of the chunk within the overall request. This is reported to fix crashes and data corruption on ohci controllers. Submitted by: green Approved by: re Notes: svn path=/head/; revision=122981
* Add nsp(4) man page for nsp PC-Card SCSI host adapter device driver,Noriaki Mitsunaga2003-11-242-0/+82
| | | | | | | | | | and attach it to the build. Submitted by: non, rushani Approved by: re (rwatson) Notes: svn path=/head/; revision=122980
* o Add HISTORY and AUTHORS sectionNoriaki Mitsunaga2003-11-241-1/+16
| | | | | | | | | | o Add scsi.4 in the SEE ALSO section Reviewed by: rushani Approved by: re (rwatson) Notes: svn path=/head/; revision=122979
* Correct iov_len values passed to nmount(2) syscall. More accurateAlexander Kabaev2003-11-241-2/+2
| | | | | | | | | | | parameter checking introduced in vfs_mount.c r1.113 rejects them otherwise. Submitted by: R. Imura <imura at ryu16 dot org> Approved by: re (scottl,rwatson) Notes: svn path=/head/; revision=122977
* - Drop down to one snapshots FTP site since that's all we have nowKen Smith2003-11-242-32/+40
| | | | | | | | | | - Adjust names of IPv6 FTP hosts a bit - Sync list of FTP sites with reality Approved by: rwatson (re@) Notes: svn path=/head/; revision=122976
* Correct the former patch, I accidently committed the wrong version.Søren Schmidt2003-11-241-2/+2
| | | | | | | Approved by: re@ Notes: svn path=/head/; revision=122975
* Fix panic on certain failed configs.Søren Schmidt2003-11-241-4/+11
| | | | | | | Approved by: re@ Notes: svn path=/head/; revision=122974
* Be less noisy when GEOM probes around during boot if drive containsSøren Schmidt2003-11-241-0/+5
| | | | | | | | | invalid media (ie empty CD/DVD) Approved by: re@ Notes: svn path=/head/; revision=122973
* Initalize buffer headers correctly for current version of bio subsystem.Greg Lehey2003-11-243-1/+6
| | | | | | | | | | Not mentioned by: phk Approved by: re (scottl) This makes Vinum work again, at least in my testing. Notes: svn path=/head/; revision=122972
* Correct a problem where ipfw-generated packets were being returnedSam Leffler2003-11-242-7/+12
| | | | | | | | | | | | | | | | | for ipfw processing w/o an indication the packets were generated by ipfw--and so should not be processed (this manifested itself as a LOR.) The flag bit in the mbuf that was used to mark the packets was not listed in M_COPYFLAGS so if a packet had a header prepended (as done by IPsec) the flag was lost. Correct this by defining a new M_PROTO6 flag and use it to mark packets that need this processing. Reviewed by: bms Approved by: re (rwatson) MFC after: 2 weeks Notes: svn path=/head/; revision=122971
* pktopt may be null.Hajimu UMEMOTO2003-11-241-0/+3
| | | | | | | Approved by: re (rwatson) Notes: svn path=/head/; revision=122970
* Long overdue comment claification: RFC 2783 was approved long time ago.Poul-Henning Kamp2003-11-231-2/+2
| | | | | | | Approved by: re@ Notes: svn path=/head/; revision=122967
* Use MPSAFE callouts only when debug.mpsafenet is 1. Both timer routinesSam Leffler2003-11-232-2/+2
| | | | | | | | | | | potentially transmit packets that may enter KAME IPsec w/o Giant if the callouts are marked MPSAFE. Reviewed by: ume Approved by: re (rwatson) Notes: svn path=/head/; revision=122966
* Do not attempt to destroy NULL vfs options list.Alexander Kabaev2003-11-231-1/+1
| | | | | | | | Approved by: re (scottl) Reported by: Christian Laursen <xi atborderworlds dot dk> Notes: svn path=/head/; revision=122965
* Fix vinum by correctly setting the b_offset bio filed when doing I/O.Scott Long2003-11-233-2/+7
| | | | | | | Submitted by: grog Notes: svn path=/head/; revision=122964
* Avoid NULL pointer dereference.Poul-Henning Kamp2003-11-231-1/+2
| | | | | | | Approved by: re@ Notes: svn path=/head/; revision=122963
* o Add missing articlesChristian Brueffer2003-11-232-26/+26
| | | | | | | | | o Various grammar fixes Approved by: re (murray) Notes: svn path=/head/; revision=122962
* Don't use UFS2_BAD_MAGIC on UFS (v1) filesystems; it is Not ReadyWes Peters2003-11-231-1/+1
| | | | | | | | | | for Prime Time there. Submitted by: Xin LI <delphij@frontfree.net> Approved by: RE@ (John, Scott) Notes: svn path=/head/; revision=122961
* bzero() the the sockaddr used for the destination address forThomas Moestl2003-11-231-0/+1
| | | | | | | | | | | | | | | rtalloc_ign() in in_pcbconnect_setup() before it is filled out. Otherwise, stack junk would be left in sin_zero, which could cause host routes to be ignored because they failed the comparison in rn_match(). This should fix the wrong source address selection for connect() to 127.0.0.1, among other things. Reviewed by: sam Approved by: re (rwatson) Notes: svn path=/head/; revision=122960
* Install UDF header files to unbreak /sbin building when /sys is not present.Scott Long2003-11-223-1/+5
| | | | | | | Submitted by: imura@ryu16.org Notes: svn path=/head/; revision=122956
* Move us into 5.2-BETAScott Long2003-11-221-2/+2
| | | | Notes: svn path=/head/; revision=122955
* New defines that paves the way for new midi features and ports.Mathew Kanner2003-11-221-0/+2
| | | | | | | | | | | | Changes consists of an IOCTL (SNDCTL_SEQ_GETTIME) and a constant. PR: kern/59233 Approved by: tanimura (mentor) Approved by: scottl (re) MFC after: 3 weeks Notes: svn path=/head/; revision=122954