summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a possible hang which apparently occurs during a warm boot (cold bootgj2004-07-181-0/+8
| | | | | | | | | | | does not display the symptom). Evidently the ifpi2 controller needs to be massaged more than it was. Note that this does not close the PR since it was filed against 4.9. MFC: 5 days PR: kern/68756 Submitted by: Ari Suutari <ari.suutari@syncrontech.com>
* Gratuitous whitespace change to un-wrap a short line.rwatson2004-07-181-2/+1
|
* The recent changes to control message passing broke some thingsdwmalone2004-07-181-12/+16
| | | | | | | | | | | | | | | | | | | | | | | | that get certain types of control messages (ping6 and rtsol are examples). This gets the new code closer to working: 1) Collect control mbufs for processing in the controlp == NULL case, so that they can be freed by externalize. 2) Loop over the list of control mbufs, as the externalize function may not know how to deal with chains. 3) In the case where there is no externalize function, remember to add the control mbuf to the controlp list so that it will be returned. 4) After adding stuff to the controlp list, walk to the end of the list of stuff that was added, incase we added a chain. This code can be further improved, but this is enough to get most things working again. Reviewed by: rwatson
* Unbreak kernel compiles by preserving an old opt_adaptive_mutexes.h filekan2004-07-181-1/+1
| | | | name.
* Fix copy&paste bug.pjd2004-07-181-1/+1
|
* Add doxygen doc comments for most of newbus and the BUS interface.dfr2004-07-183-228/+1323
|
* Enable ADAPTIVE_MUTEXES by default by changing the sense of the option toscottl2004-07-184-7/+7
| | | | | | | | | NO_ADAPTIVE_MUTEXES. This option has been enabled by default on amd64 for quite some time, and has been extensively tested on i386 and sparc64. It shows measurable performance gains in many circumstances, and few negative effects. It would be nice in t he future if adaptive mutexes actually went to sleep after a certain amount of spinning, but that will require quite a bit more testing.
* Fix a stupid attemp to apply host arithmetics to network byte ordered data.mlaier2004-07-181-1/+1
| | | | | | | This fixes checksum for some drivers with partial H/W ckcsum offloads. Reported by: Simon 'corecode' Schubert, Devon H. O'Dell, hmp Reviewed by: Pyun YongHyeon
* I missed two pieces of the commit to this file. Robert has alreadydwmalone2004-07-181-1/+1
| | | | added one, this adds the other.
* Start the entropy device insecure/unblocked. I'll be handing overmarkm2004-07-182-5/+3
| | | | | | | responsibility for critical randomness requirements (like sshd) to rc.d/* Requested by: many
* In -CURRENT pseudo devices are not statically assigned at compile time,maxim2004-07-186-6/+6
| | | | | | remove a stale comment. PR: kern/62285
* Fix exclusive-bit leakage.pjd2004-07-181-1/+1
|
* Add support System TALKS Inc. SGC-X2ULsanpei2004-07-182-0/+5
| | | | | PR: FreeBSD-users-jp/80137 Submitted by: HORIO Shinsuke <shin@happynet.co.jp>
* Quirk for SEGRAND NP-900 USB MP3Playersanpei2004-07-181-0/+8
| | | | | | PR: kern/64563 Submitted by: Kunitada Kokubun <unix_grandy@yahoo.co.jp> MFC after: 1 week
* Only extract a physical address from a pte in pmap_extract() if the pte isalc2004-07-181-9/+13
| | | | | | | valid. Implement the protection check required by the pmap_extract_and_hold() specification. (This enables the elimination of Giant from that function.)
* Remove GIANT_REQUIRED from vmapbuf().alc2004-07-181-2/+0
|
* Remove the GIANT_REQUIRED preceding pmap_remove() inalc2004-07-181-1/+0
| | | | vm_pageout_map_deactivate_pages().
* Remove 'sg' argument to linux_sendto_hdrincl, which is what I think wasrwatson2004-07-181-1/+1
| | | | intended. This fixes the build, but might require revision.
* Drop Giant and acquire the UNIX domain socket subsystem lock a bitrwatson2004-07-181-4/+4
| | | | | | | | | earlier in unp_connect() so that vp->v_socket can't change between our copying its value to a local variable and later use of that variable. This may have been responsible for a panic during shutdown that I experienced where simultaneous closing of a listen socket by rpcbind and a new connection being made to rpcbind by mountd.
* m_tag_copy takes an additional "how" parameter in FreeBSD.mlaier2004-07-181-0/+8
| | | | Submitted by: rwatson
* Fix macro so that we don't get missing initializer warnings.alfred2004-07-171-1/+3
|
* Change named parameters from max (which conflicts with a macro in libkern.h)alfred2004-07-171-2/+2
| | | | to maxval.
* Remedy my omission of one change in the prevision revision: pmap_remove()alc2004-07-171-0/+3
| | | | must pin the current thread in order to call pmap_pte_quick().
* Fix typo.davidxu2004-07-171-1/+1
|
* - Utilize pmap_pte_quick() rather than pmap_pte() in pmap_remove() andalc2004-07-171-2/+4
| | | | | | | pmap_remove_page(). The reason being that pmap_pte_quick() requires the page queues lock, which is already held, rather than Giant. - Assert that the page queues lock is held in pmap_remove_page() and pmap_remove_pte().
* Fix the !INET6 build.dwmalone2004-07-171-0/+4
| | | | Reported by: alc
* Add a kern_setsockopt and kern_getsockopt which can read the optiondwmalone2004-07-173-99/+110
| | | | | | values from either user land or from the kernel. Use them for [gs]etsockopt and to clean up some calls to [gs]etsockopt in the Linux emulation code that uses the stackgap.
* The tcp syncache code was leaving the IPv6 flowlabel uninitialiseddwmalone2004-07-172-6/+32
| | | | | | | | | | | | for the SYN|ACK packet and then letting in6_pcbconnect set the flowlabel later. Arange for the syncache/syncookie code to set and recall the flow label so that the flowlabel used for the SYN|ACK is consistent. This is done by using some of the cookie (when tcp cookies are enabeled) and by stashing the flowlabel in syncache. Tested and Discovered by: Orla McGann <orly@cnri.dit.ie> Approved by: ume, silby MFC after: 1 month
* Merge in a stable fix from OpenBSD:mlaier2004-07-171-52/+63
| | | | | | | | | | | MFC: Fix by dhartmei@ change pf_route() loop detection: introduce a counter (number of times a packet is routed already) in the mbuf tag, allow at most four times. Fixes some legitimate cases broken by the previous change. Reviewed by: dhartmei
* Dont set "address setup timing" on newer VIA chips.sos2004-07-171-1/+2
| | | | closes PR: 69180
* Rename the sound device drivers.nyan2004-07-172-12/+14
|
* Merged from the following changes.nyan2004-07-176-60/+88
| | | | | | - sys/dev/fdc/fdc.c revision 1.281 - sys/dev/fdc/fdcvar.h revision 1.3 - sys/dev/fdc/fdc_isa.c revision 1.7
* Correct typo.nyan2004-07-171-1/+1
|
* Remove duplicate include.nyan2004-07-171-1/+0
|
* Add some PCI IDs for OHCI chips.simokawa2004-07-172-0/+30
| | | | Obtained from: DragonFly BSD
* Resurrect kld support. Support ADDR16_HA/LA relocations, and syncgrehan2004-07-171-43/+45
| | | | | the icache on module load. Requires "-mlongcall" support, in gcc >= 3.3 but needs a bugfix to support gcc arith builtins.
* Define semantic of M_SKIP_FIREWALL more precisely, i.e. also pass associatedmlaier2004-07-173-22/+34
| | | | | | | | icmp_error() packets. While here retire PACKET_TAG_PF_GENERATED (which served the same purpose) and use M_SKIP_FIREWALL in pf as well. This should speed up things a bit as we get rid of the tag allocations. Discussed with: juli
* MFamd64 revision 1.478alc2004-07-171-6/+5
| | | | Simplify pmap_remove_pages(), eliminating unnecessary indirection.
* Make M_SKIP_FIREWALL a global (and semantic) flag, preventing anything fromjmallett2004-07-172-14/+2
| | | | | | | | | | | using M_PROTO6 and possibly shooting someone's foot, as well as allowing the firewall to be used in multiple passes, or with a packet classifier frontend, that may need to explicitly allow a certain packet. Presently this is handled in the ipfw_chk code as before, though I have run with it moved to upper layers, and possibly it should apply to ipfilter and pf as well, though this has not been investigated. Discussed with: luigi, rwatson
* Be consistant with probeimp2004-07-161-2/+1
|
* Ignore more strange return values of the test_aux_port() function,mux2004-07-162-12/+20
| | | | | | | | | | because some notebooks (apparently Compaq, Toshiba and Acer ones) erroneously return 2 or 3 there. PR: kern/61482, kern/54188 Submitted by: Ulf Lilleengen <lulf@kerneled.org>, Victor Balada Diaz <victor@alf.dyndns.ws> MFC after: 3 days
* Fix the build. pcm is no more.ps2004-07-161-4/+0
|
* Remove dead or unused code, such as spl calls.alc2004-07-161-25/+0
|
* - Move TDF_OWEPREEMPT, TDF_OWEUPC, and TDF_USTATCLOCK over to td_pflagsjhb2004-07-169-24/+31
| | | | | | | | | since they are only accessed by curthread and thus do not need any locking. - Move pr_addr and pr_ticks out of struct uprof (which is per-process) and directly into struct thread as td_profil_addr and td_profil_ticks as these variables are really per-thread. (They are used to defer an addupc_intr() that was too "hard" until ast()).
* Whitespace fix.jhb2004-07-161-1/+1
|
* Improve readability a bit by changing some code at the end of a functionjhb2004-07-161-6/+2
| | | | | | | | | | | | | | | | that did: if (foo) return else blah to just do the simpler if (!foo) blah instead.
* /usr/libexec/ld-elf.so.1 -> /libexec/ld-elf32.so.1obrien2004-07-161-1/+1
|
* Use ACPI_ALL_NOTIFY instead of registering handlers separately.njl2004-07-162-8/+4
|
* Fix the alpha (and others) module build by only building fdc_acpi.c onnjl2004-07-161-7/+9
| | | | | i386 and amd64. The only other ACPI machine (ia64) doesn't support floppy drives. Tested by: make MACHINE={pc98,i386,amd64,alpha,sparc64}
* when IN6P_AUTOFLOWLABEL is set, the flowlabel is not set onume2004-07-161-2/+10
| | | | | | | | outgoing tcp connections. Reported by: Orla McGann <orly@cnri.dit.ie> Reviewed by: Orla McGann <orly@cnri.dit.ie> Obtained from: KAME
OpenPOWER on IntegriCloud