summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a man page for mk48txx(4).marius2009-12-252-0/+231
| | | | | Requested by: n_hibma Obtained from: NetBSD (original version)
* - Take advantage of bus_{read,write}_*(9).marius2009-12-253-7/+13
| | | | | - Set dow = -1 in mk48txx_gettime() because some drivers (for example the NetBSD and OpenBSD mk48txx(4)) don't set it correctly.
* Remove clause 3 and 4 from TNF licenses.marius2009-12-253-24/+3
| | | | Obtained from: NetBSD
* Style changesmarius2009-12-253-79/+79
|
* Fixed two typos.ru2009-12-251-2/+2
| | | | Submitted by: Maxim Dounin <mdounin@mdounin.ru>
* Remove extra spaces (no functional change).bz2009-12-251-6/+6
| | | | MFC after: 3 days
* Modify the experimental server so that it uses VOP_ACCESSX().rmacklem2009-12-254-142/+75
| | | | | | | | | | This is necessary in order to enable NFSv4 ACL support. The argument to nfsvno_accchk() was changed to an accmode_t and the function nfsrv_aclaccess() was no longer needed and, therefore, deleted. Reviewed by: trasz MFC after: 2 weeks
* sh: Do not run callers' exception handlers in subshells.jilles2009-12-254-3/+39
| | | | | | | Reset the exception handler in the child to main's. This avoids inappropriate double cleanups or shell duplication when the exception is caught, such as 'fc' and future 'command eval' and 'command .'.
* Let the width of the username column depend on the rwho file format.ed2009-12-251-2/+1
| | | | | Right now the code uses UT_NAMESIZE, but this makes little sense, because rwho(1) parses files generated by rwhod(8). Not utmp(5) files.
* Don't corrupt logout entries in utmp files.ed2009-12-251-1/+1
| | | | | | | An older version of the code used a structure on the stack, instead of a pointer to the structure. It looks like I didn't adjust the parameters of the write(2) call, causing the first four/eight bytes of the entry to be corrupted, instead of writing the entire entry to disk.
* Remove an unused global.bz2009-12-251-1/+0
| | | | MFC after: 3 days
* Set the locally-assigned bit in the randomly generated Ethernet addressgavin2009-12-251-1/+1
| | | | | | | | | if we end up having to generate one. PR: kern/133239 Discussed with: yongari Approved by: ed (mentor) MFC after: 2 weeks
* Small spelling fix, "Ethetnet" -> "Ethernet"gavin2009-12-251-1/+1
| | | | | Approved by: ed (mentor) MFC after: 1 week
* Use a local copy of entry_d for finding matches. Otherwise, if entry_d pointedmarkus2009-12-251-1/+6
| | | | | | | | to an entry of 'acl', all ACL entries starting with entry_d would be deleted. Reviewed by: trasz Approved by: emax (mentor) MFC after: 3 days
* Teach twe driver to report array stripe size to GEOM.mav2009-12-253-2/+11
|
* sh: Do not consider a tilde-prefix with expansions in it.jilles2009-12-251-2/+7
| | | | | | | | | | That is, do not do tilde expansion if any of the CTL* bytes (\201-\210), not only CTLESC and CTLQUOTEMARK, are encountered. Such an expansion would look up a user name with sh's internal representation. The parser does not currently distinguish between backslashed and unbackslashed \201-\210, so tilde expansion of user names with these bytes in them is not so easy to fix.
* - Hook up the default implementations of the MSI/MSI-X pcib_if methodsmarius2009-12-251-2/+39
| | | | | | | | | | | | | | | | | so requests may bubble up to a host-PCI bridge driver. - Distinguish between PCI and PCIe bridges in the device description so it's a bit easier to follow what hangs off of what in the dmesg. Unfortunately we can't also tell PCI and PCI-X apart based on the information provided in the OFW device tree. - Add quirk handling for the ALi M5249 found in Fire-based machines which are used as a PCIe-PCIe bridge there. These are obviously subtractive decoding as as they have a PCI-ISA bridge on their secondary side (and likewise don't include the ISA I/O range in their bridge decode) but don't indicate this via the class code. Given that this quirk isn't likely to apply to all ALi M5249 and I have no datasheet for these chips so I could implement a check using the chip specific bits enabling subtractive decoding this quirk handling is added to the MD code rather than the MI one.
* Let talkd use utmpx instead of utmp.ed2009-12-252-20/+17
| | | | | Because strings are null terminated now, there is no need to copy ut_line into a separate buffer first. Also enable WARNS.
* Don't use UT_NAMESIZE here to determine the maximum username length.ed2009-12-251-9/+2
|
* Document the difference between FreeBSD and traditional System V killalldelphij2009-12-251-1/+12
| | | | | | commands. MFC after: 1 month
* Provide a better short description and fix SEE ALSO section entries.brueffer2009-12-251-3/+3
|
* Let top(1) use MAXLOGNAME instead of UT_NAMESIZE.ed2009-12-251-3/+3
| | | | The maximum user login length should have nothing to do with <utmp.h>.
* Avoid false positive probe on ICH6 chipsets.mav2009-12-251-2/+2
|
* Minor comment tweaks in rmlocks.rwatson2009-12-251-5/+5
| | | | MFC after: 3 days
* Remove wrong assertion.yongari2009-12-251-2/+0
|
* Report stripe size only if physical sector size is not equal to logical.mav2009-12-241-3/+8
|
* Make diskinfo report disk stripe size and offset. It should help users tomav2009-12-242-2/+13
| | | | make file systems optimally aligned and tuned for better performance.
* sh: Add some __dead2 to indicate functions that do not return.jilles2009-12-244-6/+6
|
* ether_ifattach sets if_mtu, remove unnecessary code.yongari2009-12-241-1/+0
|
* Update if_iqdrops in case of RX buffer allocation failure.yongari2009-12-241-1/+1
|
* Document newly added loader tunable/sysctl variableyongari2009-12-241-1/+19
| | | | | dev.ste.%d.int_rx_mod. While I'm here add .Xr vlan as ste(4) supports long frames.
* sh: Constify various strings.jilles2009-12-2428-90/+92
| | | | | Most of this is adding const keywords, but setvar() in var.c had to be changed somewhat more.
* Add suspend/resume support as well as basic WOL.yongari2009-12-241-24/+108
| | | | While I'm here simplify SIOCSIFCAP handler.
* Let syslogd use utmpx.ed2009-12-242-27/+18
| | | | | Because strings are guaranteed to be null terminated, there is no need for excessive copying of strings, such as the line name.
* Let the snmp_hostres module use utmpx.ed2009-12-243-30/+9
| | | | Approved by: harti
* fix poor indentation resulting from a mergeluigi2009-12-241-14/+14
|
* Implement RX interrupt moderation using one-shot timer interrupt.yongari2009-12-242-27/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | Unlike TX interrupt, ST201 does not provide any mechanism to suppress RX interrupts. ste(4) can generate more than 70k RX interrupts under heavy RX traffics such that these excessive interrupts make system useless to process other useful things. Maybe this was the major reason why polling support code was introduced to ste(4). The STE_COUNTDOWN register provides a programmable counter that will generate an interrupt upon its expiration. We program STE_DMACTL register to use 3.2us clock rate to drive the counter register. Whenever ste(4) serves RX interrupt, the driver rearm the timer to expire after STE_IM_RX_TIMER_DEFAULT time and disables further generation of RX interrupts. This trick seems to work well and ste(4) generates less than 8k RX interrupts even under 64 bytes UDP torture test. Combined with TX interrupts, the total number of interrupts are less than 10k which looks reasonable on heavily loaded controller. The default RX interrupt moderation time is 150us. Users can change the value at any time with dev.ste.%d.int_rx_mod sysctl node. Setting it 0 effectively disables the RX interrupt moderation feature. Now we have both TX/RX interrupt moderation code so remove loop of interrupt handler which resulted in sub-optimal performance as well as more register accesses.
* Merge from amd64/i386:marius2009-12-245-3/+67
| | | | Implement support for interrupt descriptions.
* Add missing locking in intr_bind().marius2009-12-241-2/+8
|
* Execute the cleanup handlers before jumping to the kernel justmarius2009-12-241-0/+2
| | | | like the other architectures do.
* - Consistently wrap debugging in NETIF_DEBUG. This basically mergesmarius2009-12-241-6/+22
| | | | | NetBSD rev 1.19. - Make the functions match their prototypes regarding static.
* Revert r183628 as with the current ata(4) ATAPI DMA with AcerLabsmarius2009-12-241-1/+0
| | | | | | M5229 appears to be once again fixed. If this happens to return we probably should disable ATAPI DMA in ataacerlabs(4) instead just like the Linux libATA does.
* sh: Remove setting variables from dotcmd/exportcmd.jilles2009-12-242-5/+0
| | | | | | | | | | | | It is already done by evalcommand(), unless special-ness has been removed, in which case variable assignments should not persist. (These are currently always special builtins, but this will change later: command builtin, command substitution.) This also fixes a memory leak when calling . with variable assignments. Example: valgrind --leak-check=full sh -c 'x=1 . /dev/null; x=2'
* Make geom_concat to passthrough stripe parameters of the first component,mav2009-12-241-5/+8
| | | | hoping that rest will fit.
* Add a new tool which attempts to check for kernel configuration options thatjhb2009-12-243-0/+367
| | | | are missing from NOTES files.
* As soon as geom_raid3 reports it's own stripe as sector size, report largestmav2009-12-241-0/+14
| | | | | underlying provider's stripe, multiplied by number of data disks in array, due to transformation done, as array stripe.
* - Don't check for a valid interrupt controller on every interruptmarius2009-12-241-2/+3
| | | | | | | | | | | in intr_execute_handlers(). If we managed to get here without an associated interrupt controller we have way bigger problems. While at it predict stray vector interrupts as false as they are rather unlikely. - Don't blindly call the clear function of an interrupt controller when adding a handler in inthand_add() as interrupt controllers like the one driven by upa(4) are auto-clearing and thus provide NULL instead.
* As soon as mirror has no own stripes, report largest stripe of unrerlyingmav2009-12-241-0/+9
| | | | components, hoping others fit, if they are not equal.
* Add two disk ioctls, giving user-level tools information about disk/arraymav2009-12-242-1/+18
| | | | stripe (optimal access block) size and offset.
* Make geom_stripe report it's stripe size to upper layers.mav2009-12-241-0/+2
|
OpenPOWER on IntegriCloud