summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* 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
* According to POSIX sys/socket.h must define CMSG_NXTHDR but most notharti2004-07-161-1/+1
| | | | | | | | define NULL. This means we cannot use NULL in the definition of CMSG_NXTHDR. So replace NULL with 0. PR: kern/60309 Submitted by: Jeff King <peff-freebsd@peff.net>
* Fix acpi_video loading. When we started cleaning up the duplicate handlesnjl2004-07-161-5/+4
| | | | | | | | | | | | | | | left around after the PCI probe, acpi_video stopped attaching because while it was an acpi child device, it really is a PCI device. Fix this by making it a PCI child. * Remove non-handle ivars accesses since child busses only implement acpi_get_handle(). * Access the acpi softc directly through the devclass instead of through the implied parent. * Clean up a potential panic on unload by freeing the sysctl context before storing NULL in the OID. Found by: marks
* Add a SUSER_RUID flag to suser_cred. This flag indicates that we want tocperciva2004-07-162-3/+3
| | | | | | | check if the *real* user is the superuser (vs. the normal behaviour, which checks the effective user). Reviewed by: rwatson
* Sync the example of MODULES_OVERRIDE with the renamed sound drivers.tanimura2004-07-161-1/+1
| | | | Pointed out by: Christoph Mallon <christoph.mallon@gmx.de>
* Rename snd_pcm as sound.tanimura2004-07-161-1/+1
|
* Rename the sound device drivers:tanimura2004-07-1636-156/+181
| | | | | | | | | | | | | | - `sound' The generic sound driver, always required. - `snd_*' Device-dependent drivers, named after the sound module names. Configure accordingly to your hardware. In addition, rename the `snd_pcm' module to `sound' in order to sync with the driver names. Suggested by: cg
* Remove unused fields from the pmap.alc2004-07-162-4/+0
|
* Rename Biba and MLS _single label elements to _effective, which morerwatson2004-07-164-353/+353
| | | | | | | | | accurately represents the intention of the 'single' label element in Biba and MLS labels. It also approximates the use of 'effective' in traditional UNIX credentials, and avoids confusion with 'singlelabel' in the context of file systems. Inspired by: trhodes
* When entering soclose(), assert that SS_NOFDREF is not already set.rwatson2004-07-161-0/+2
|
* Use qsort_r() instead of qsort() when sorting links by latencyglebius2004-07-161-20/+5
| | | | | | | This helps us to remove a global variable and a mutex protecting it. Reviewed by: rwatson Approved by: julian (mentor)
* Copy qsort_r(3) from libc to libkern.glebius2004-07-154-24/+52
| | | | | Reviewed by: phk Approved by: julian (mentor)
* fix array index out of bounds in rpc->rc_srtt[], rpc->rc_sdrtt[]rees2004-07-151-3/+3
| | | | | Noticed by: tedu Approved by: alfred
* Preparation commit for the tty cleanups that will follow in the nearphk2004-07-1532-49/+49
| | | | | | | | | future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming.
* MFNetBSD.le2004-07-151-6/+6
| | | | | | | | | | | rev. 1.67, author: mycroft Fix a byte order error. rev. 1.68, author: mycroft Adjust some silliness that was causing us to do extra work for "frame list rollover" interrupts, which we pretty much ignore. Obtained from: NetBSD
* Push down the acquisition and release of the page queues lock intoalc2004-07-1511-21/+42
| | | | | | pmap_protect() and pmap_remove(). In general, they require the lock in order to modify a page's pv list or flags. In some cases, however, pmap_protect() can avoid acquiring the lock.
* Add fdc_acpi to module build, bump WARNS to 2.njl2004-07-151-2/+5
|
* Hook up fdc_acpi for the kernel build.njl2004-07-152-0/+2
|
* Clean up resources properly if attach fails. Always reset ISA drives onnjl2004-07-152-15/+31
| | | | probe.
* Re-work for fdc_acpi. Expose fdc_add_child() and move the staticnjl2004-07-152-27/+36
| | | | | | | | | hints-based probe to fdc_hints_probe(). Also: * Fix some resource leaks when attach fails. * Remove the FDC_ATTACHED flag. It was supposed to prevent multiple unloads but this is not necessary.
* Add an ACPI floppy drive attachment that probes via the _FDE and _FDInjl2004-07-151-0/+260
| | | | | | | methods. It also now handles ordinary floppy drive probing for drives attached to ACPI. Reviewed by: imp
* Fix a typo in a comment.jhb2004-07-151-1/+1
|
* Update the interface for child drivers. Add acpi_scan_children, whichnjl2004-07-152-21/+146
| | | | | | | allows a bus to re-enumerate its child handles and optionally replace them with new children, arranged to the bus's liking. (The current device space is flat with all devices immediately under acpi0). Add comments for each interface.
* Move the fdc_alloc_resources function into the bus front end.nyan2004-07-154-412/+166
|
* Do a pass over all modules in the kernel and make them return EOPNOTSUPPphk2004-07-1559-20/+101
| | | | | | | | for unknown events. A number of modules return EINVAL in this instance, and I have left those alone for now and instead taught MOD_QUIESCE to accept this as "didn't do anything".
* Cleanup shutdown output.alfred2004-07-152-7/+4
|
* A couple of grammar fixes in the bktr options section.roam2004-07-151-4/+4
| | | | | | PR: 66828 (mostly) Submitted by: Michel Lavondes <fox@vader.aacc.cc.md.us> MFC after: 2 weeks
* Tidy up system shutdown.alfred2004-07-152-6/+24
|
* type prgregset_t really should be an array. this is odd, however, otherdavidxu2004-07-151-1/+1
| | | | | | systems defined interfaces in thread_db.h use prgregset_t but not prgregset_t * to be a output parameter, this is the only way to maintain source code compatible with them.
* Disable SIGIO for now, leave a comment as to why it's busted and hardalfred2004-07-151-0/+20
| | | | to fix.
* Clean up the output on reboot by keeping completion messages on the samenjl2004-07-151-2/+2
| | | | | | line as the announcement. Someone should probably update the "buffers remaining" message since we now no longer should have any buffers remaining at that point.
OpenPOWER on IntegriCloud