summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Define NIRQ to 64 for CPU_ARM9, because Cirrus Logic EP93XX cores providescognet2005-02-131-0/+4
| | | | | 64 irqs. This should be re-thought later.
* Remove unused prototype.cognet2005-02-131-1/+0
|
* Remove redondant includes.cognet2005-02-131-2/+0
|
* Backout addition of SIGTHR into the list of signals allowed to be deliveredsobomax2005-02-131-1/+0
| | | | | | to the suid/sugid process, since apparently it has security implications. Suggested by: rwatson
* Backout previous change (disabling of security checks for signals deliveredsobomax2005-02-138-37/+23
| | | | | | in emulation layers), since it appears to be too broad. Requested by: rwatson
* Set levels on all CPUs and attach a cpufreq device to each one. Sysctlnjl2005-02-131-22/+62
| | | | | | on dev.cpu.0 will affect all of the CPUs together. In the future, independent control will be supported but this is good enough for now. Check that the timecounter isn't TSC before switching (from Colin Percival.)
* Don't prototype pmap_kenter().cognet2005-02-131-1/+1
|
* Split out kill(2) syscall service routine into user-level and kernel part, thesobomax2005-02-138-22/+36
| | | | | | | | | | | | | | | | | former is callable from user space and the latter from the kernel one. Make kernel version take additional argument which tells if the respective call should check for additional restrictions for sending signals to suid/sugid applications or not. Make all emulation layers using non-checked version, since signal numbers in emulation layers can have different meaning that in native mode and such protection can cause misbehaviour. As a result remove LIBTHR from the signals allowed to be delivered to a suid/sugid application. Requested (sorta) by: rwatson MFC after: 2 weeks
* Bump cookie value to reflect change in NGM_IFACE_GET_IFNAME semantics.archie2005-02-131-2/+2
|
* Synchronize HEAD copyright/license with RELENG_5 copyright/license:rwatson2005-02-131-5/+5
| | | | McAfee instead of NETA.
* New order after _netcat has been changed to _nc: sort the list.delphij2005-02-131-1/+1
| | | | | Submitted by: ru Pointy hat to: me
* Back out the previous commit. There is an obvious bug in it.harti2005-02-131-12/+10
| | | | Pointy hat to: harti
* Install netgraph type at an appropriate time.ru2005-02-132-2/+2
|
* Spell the variable as underscore plus their possible value, to followdelphij2005-02-131-2/+2
| | | | | | the style nearby. Submitted by: ru
* Forgotten to commit this file during the last commit. Connect nc(1)delphij2005-02-131-0/+5
| | | | to build.
* Implement support for CPU private mappings within sf_buf_alloc().alc2005-02-132-1/+37
|
* Use the correct variable name in ibsad()scottl2005-02-131-1/+1
|
* Barrow from kmod.mk and protect against adding -fno-strict-aliasingobrien2005-02-131-1/+1
| | | | when it is already in COPTFLAGS.
* Add the new CPUFREQ_FLAG_INFO_ONLY flag for drivers which can attach tonjl2005-02-131-1/+10
| | | | | read info about the possible settings for a CPU but cannot control them directly.
* Be sure to register with cpufreq(4). On systems that only supportednjl2005-02-131-9/+36
| | | | | | | | | throttling, neglecting to do this kept the sysctls from appearing. Attach an acpi_throttle device to each CPU that supports it. Don't add a device if the P_BLK is invalid or if _PTC is not present. This removes extraneous probe/attach failure messages on some machines. Make the cpu throttle state local to the softc to account for partial successes when changing the clock rate on MP machines.
* Attach an acpi_perf device for every processor that offers the rightnjl2005-02-131-2/+2
| | | | methods.
* Drop mythical module dependency on ng_ether.ru2005-02-131-2/+0
|
* Check handle types.phk2005-02-124-81/+202
| | | | | Implement more device functions. Make DMA optional.
* Oops. I missed a 0 => '\0' correction.kientzle2005-02-122-2/+2
| | | | Thanks to: Ruslan
* Reword a sentence to conform with our mdoc(7) style.trhodes2005-02-121-3/+4
| | | | | | | Modify wording in a sentence to avoid a run on within (). Remove a contraction. Submitted by: Joel Dahl <joel@automatvapen.se> (original version)
* Clear the error message buffer on entry to major routines.kientzle2005-02-121-0/+3
| | | | This avoids having error messages get concatenated over multiple calls.
* Update the format descriptions to include ISO9660 and ZIP support.kientzle2005-02-123-4/+19
| | | | Also remove some unnecessary blank lines from archive_read.3.
* Performance optimization, code clarification, and bug workaround.kientzle2005-02-121-28/+36
| | | | | | | | | | | When reading the bodies of Zip archive entries, request a minimum of 1 byte, rather than a minimum of the full entry size. This is faster (since it does not force the decompression layer to combine reads) and works around a bug in the "none" decompression handler (which I'm testing a separate fix for now). I've also renamed "bytes_read" to "bytes_avail" in several places to more accurately reflect that the value returned from (a->compression_read_ahead) is the number of bytes available, not necessarily the number of bytes requested.
* Fill in some more Rockridge details in ISO9660 support: Ignore PDkientzle2005-02-121-1/+51
| | | | | | | | | | | | (padding) entries, extract inode value from PX entry, recognize SP and ST (start/end of SUSP extensions). I don't enforce SP yet, as I've seen CDROMs which use Rockridge extensions but don't have the SP record (which is officially required). The ISO9660 support is now mature enough to extract FreeBSD distribution CDROMs created with mkisofs.
* Flush input when reading from pipe to avoid "broken pipe" warnings.kientzle2005-02-124-20/+70
| | | | | | | For example, when using 'gunzip | tar' to decompress. Also, fix some style issues (write null character as '\0'). Thanks to: Jaakko Heinonen
* - Fixed description of the "destroy" command options.ru2005-02-122-28/+45
| | | | | - Document the "nuke" command. - Mention which commands correspond to which functions.
* Add ibcntl as alias for ibcntphk2005-02-125-293/+327
| | | | | | Add ibsta and start to use it. Rename the argument structure more sensibly. Improve timeout and error handling
* Also build the netblast sub-directory, not just netreceive and netsend.rwatson2005-02-121-1/+1
| | | | MFC after: 3 days
* Mark the signum argument to signal_handler() as __unused.rwatson2005-02-121-1/+1
| | | | MFC after: 3 days
* Restore previous cookie. Old programs will work with new node OK,glebius2005-02-121-1/+1
| | | | | | | new programs with old node wil receive EINVAL trying to access new messages. Submitted by: ru
* - bzero sockaddr_dlglebius2005-02-121-8/+4
| | | | | | - use constant instead of number Suggested by: ru
* Back out no longer necessary work-arounds added in rev. 1.59 for buildingmarius2005-02-121-5/+3
| | | | SBus-only kernels regarding ofw_machdep.c.
* - Re-write OF_decode_addr() with a bus-neutral approach, adding supportmarius2005-02-123-86/+176
| | | | | | | | | | | | for nodes hanging off of Central (untested), FireHose (untested) and PCI (tested) busses. - Add an additional parameter to OF_decode_addr() which specifies the index of the register bank to decode. These should allow to eventually add support for the Z8530 hanging off of FireHose to uart(4) and to write support for PCI-based graphics adapters. Suggested by: tmm (back in '03)
* Merge revision 1.5 from NetBSD: Fix a typo in a comment.marius2005-02-121-2/+2
| | | | | NetBSD rev. 1.4 (addition of the OFW_PCI_PHYS_HI_BUS macro) had already been merged prior to adding this file to FreeBSD (with the 1.3 tag though).
* Fix typo in a comment.ru2005-02-121-1/+1
|
* Add to CFLAGS.ru2005-02-121-1/+1
|
* Validate ifc->ifc_len before submitting its incarnation to sbuf_new,delphij2005-02-121-0/+4
| | | | | | | | | which will finally lead to kernel panic. Security: This prevents a local (root-launched) DoS Submitted by: Wojciech A. Koszek [dunstan at freebsd czest pl] PR: 77421 MFC After: 1 week
* Split the ibfoo API into its own file.phk2005-02-124-794/+926
| | | | | Implement ibdma() (only affects ibrd() mode) Implement ibeot()
* Connect ng_source(4) to the build.ru2005-02-121-0/+1
|
* Fallout from the ALTQ import.ru2005-02-121-1/+1
|
* Improve the mining of MAC address from the card:imp2005-02-121-7/+36
| | | | | | | | | | | | | o Add a fallback location for the MAC address. Most of the early ne2000 PC Cards were built from the same parts, so most of them have the same address in the CIS to grab the MAC from. Use this address as our fallback if we don't find anything better. o Add printf, in bootverbose, noting the MAC addresses that we find along the way. # Better sanity checking of the MAC address is needed. Will have to # investigate using/creating a centralized function to do this as a number # of other PC Card drivers each have their own ad-hoc tests.
* Allocate enough space for new tag.glebius2005-02-121-1/+2
| | | | Pointy hat to: glebius
* Fix typo. We want to unlock mutex here.pjd2005-02-121-1/+1
| | | | | Submitted by: Andreas Kohn <andreas.kohn@gmail.com> MFC after: 1 week
* Fix prototype for ibeot()phk2005-02-121-1/+1
|
* Use the eot argument field for ibeot().phk2005-02-121-3/+3
|
OpenPOWER on IntegriCloud