summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Use ncursesw to output the date field of vmstat displayume2009-11-132-2/+2
| | | | with multi-byte string, correctly.
* Correct another case of not doing 64bit math. This allows mine andps2009-11-131-1/+2
| | | | | | other raidz2 volumes to boot. Submitted by: Matt Reimer <mattjreimer@gmail.com>
* Don't disable the XGMAC's tx on ifconfig down. It is unnecessarynp2009-11-131-3/+3
| | | | | and can cause false backpressure in the chip. Fix a us/ms mixup while here.
* The 10GBASE-T card should use an IPG of 1. Also enable the checknp2009-11-132-3/+1
| | | | for low power startup on this card.
* Make sure *some* edc is setup even for an unknown transceiver (assumenp2009-11-131-2/+2
| | | | it is optical).
* sc->rev and is_offload(sc) will always be 0 during probe. Wait tillnp2009-11-131-6/+3
| | | | attach to get correct values.
* Although the file has "ex:ts=4", do some " " -> \t translationsedwin2009-11-121-23/+23
| | | | so that it is also nicely readable with ts=8.
* Add a missing check for Apple HFS partitions.rpaulo2009-11-121-0/+2
| | | | MFC after: 1 week
* Revert revision 199201 for now as it has introduced a kernel vulnerabilitydelphij2009-11-1211-146/+8
| | | | and requires more polishing.
* - Remove a redundant check for dpms(4).jkim2009-11-122-8/+4
| | | | - Test a cheaper function first.
* - Partially revert hackish r198964 and r199002.jkim2009-11-123-106/+145
| | | | | | | - Add a proxy driver vgapm to help vgapci to save/load VGA state. - Move device_set_desc() to the right place while we are here. Reviewed by: jhb
* We need to allocate space for the header in the create path also.rnoland2009-11-121-0/+3
| | | | | | | | | This fixes a null pointer dereference with "gpart create -s GPT" after the previous commit. Reported by: Yuri Pankov Pointyhat to: me MFC after: 1 week
* Add the possibility for vfs.root.mountfrom tunable to accept a list ofattilio2009-11-121-6/+15
| | | | | | | | | | | | | | items rather than a single one. The list is a space separated collection of items defined as the current one accepted. While there fix also a nit in a comment. Obtained from: Sandvine Incorporated Reviewed by: emaste Tested by: Giovanni Trematerra <giovanni dot trematerra at gmail dot com> Sponsored by: Sandvine Incorporated MFC: 2 weeks
* Provide a real fix to the too-many-translations problem when bootingnwhitehorn2009-11-121-56/+62
| | | | | | | | | | | | from CD on 64-bit hardware to replace existing band-aids. This occurred when the preloaded mdroot required too many mappings for the static buffer. Since we only use the translations buffer once, allocate a dynamic buffer on the stack. This early in the boot process, the call chain is quite short and we can be assured of having sufficient stack space. Reviewed by: grehan
* - We are not guaranteed that we're not dropping a reference thatume2009-11-121-11/+10
| | | | | | | | | | we did not add. Call LLE_REMREF() only when callout_stop() actually canceled a pending callout. - callout_reset() may cancel a pending callout. When callout_reset() canceled a pending callout, call LLE_REMREF() to drop a reference for the canceled callout. MFC after: 1 week
* Remove the explicit definition of inet_aton() as it was introduced as aattilio2009-11-121-103/+0
| | | | | | | | general function in r199208. Reported by: np Sponsored by: Sandvine Incorporated MFC: 1 week
* Add missing IEEE1394 support dropped during merge from NetBSD.ume2009-11-121-0/+11
|
* MFi386: revision 199104nyan2009-11-121-16/+62
| | | | Make isa_dma functions MPSAFE by introducing its own private lock.
* Fix cpu model for PODP5V83. It is P24T, not P54T.nyan2009-11-121-1/+1
| | | | | | | Also remove redundant 'Overdrive' word. Pointed out by: SATOU Tomokazu (tomo1770 at maple ocn ne jp) MFC after: 1 week
* - Style nits.kuriyama2009-11-122-6/+2
| | | | | | - Remove unneeded TUNABLE_INT(). Suggested by: avg, kib
* Add test-pidfile.c and increase warning level.des2009-11-121-2/+2
|
* Test cases for pidfile(3) - including two designed to catch issues arisingdes2009-11-121-0/+280
| | | | from the incorrect use of fcntl(2) instead of flock(2).
* Fix warnings and remove one unnecessary use of vfork(). The other coulddes2009-11-121-9/+3
| | | | also be removed with a little more work.
* Fix warningsdes2009-11-123-7/+9
|
* Introduce a new option (BOOT_PROMPT_123) that lets enter the boot promptattilio2009-11-122-0/+22
| | | | | | | | | | | | only when typing the sequence "123" (opposite to the standard 'push any button' approach). That results useful when using serial lines sending garbage and leading to unwilling boot prompt appearence. Obtained from: Sandvine Incorporated Reviewed by: emaste, jhb Sponsored by: Sandvine Incorporated MFC: 1 week
* The building the dev nameunit string, in devclass_add_device() is basedattilio2009-11-121-1/+2
| | | | | | | | | | | | | | | | on the assumption that the unit linked with the device is invariant but that can change when calling devclass_alloc_unit() (because -1 is passed or, more simply, because the unit choosen is beyond the table limits). This results in a completely bogus string building. Fix this by reserving the necessary room for all the possible characters printable by a positive integer (we do not allow for negative unit number). Reported by: Sandvine Incorporated Reviewed by: emaste Sponsored by: Sandvine Incorporated MFC: 1 week
* Move inet_aton() (specular to inet_ntoa(), already present in libkern)attilio2009-11-124-104/+138
| | | | | | | | into libkern in order to made it usable by other modules than alias_proxy. Obtained from: Sandvine Incorporated Sponsored by: Sandvine Incorporated MFC: 1 week
* sh: Use sigaction instead of signal/siginterrupt combination.jilles2009-11-111-4/+6
|
* Add interface description capability as inspired by OpenBSD.delphij2009-11-1111-8/+146
| | | | MFC after: 3 months
* More consistent whitespace.jhb2009-11-111-1/+1
|
* Use a dedicated callout to drive the transmit watchdog timer instead ofjhb2009-11-112-12/+18
| | | | | | using if_watchdog and if_timer. Tested by: gavin
* - Remove trailing ";" after if statementantoine2009-11-111-6/+1
| | | | | | | - Remove #if 0 section that was never needed/used Reviewed by: raj@ MFC after: 1 month
* With an i386 kernel the igb driver can cause ajfv2009-11-111-3/+3
| | | | | | | | page fault panic on initialization due to a large number of bounce pages being allocated. This is due to the dma tag requiring page alignment on mbuf mapping. This was removed some time back from the ixgbe driver and is not needed here either.
* Synchronize with C.msg revision 199083 and improve some existing messages.rene2009-11-111-30/+57
| | | | | Reviewed by: remko Approved by: remko
* Create verifier used by FreeBSD NFS client is suboptimal because thejh2009-11-111-14/+25
| | | | | | | | | | | | | | | | | first part of a verifier is set to the first IP address from V_in_ifaddrhead list. This address is typically the loopback address making the first part of the verifier practically non-unique. The second part of the verifier is initialized to zero making its initial value non-unique too. This commit changes the strategy for create verifier initialization: just initialize it to a random value. Also move verifier handling into its own function and use a mutex to protect the variable. This change is a candidate for porting to sys/nfsclient. Reviewed by: jhb, rmacklem Approved by: trasz (mentor)
* ANSIfy.ume2009-11-111-25/+8
| | | | MFC after: 1 week
* Remove trailing ";" in struct ieee80211_beacon_offsets declarationantoine2009-11-111-1/+1
| | | | | | Found by: phk's FlexeLint in September Reviewed by: rpaulo@ MFC after: 1 month
* Fix off by one in ieee80211_send_action_registerantoine2009-11-111-1/+1
| | | | | | Found by: phk's FlexeLint in September Reviewed by: rpaulo@ MFC after: 1 month
* reflect that pg_ps_enabled is a tunable, not just a read-only sysctlavg2009-11-113-3/+3
| | | | Nod from: jhb
* Revert r198873. Having different VAPPEND semantics for VOP_ACCESS(9)trasz2009-11-111-8/+0
| | | | and VOP_ACCESSX(9) is not a good idea.
* Add links to zfs(8) and zpool(8) to mount(8) manual page.trasz2009-11-111-1/+3
|
* Correct the information about the doceng@ team members - Murray Stokelyroam2009-11-111-1/+1
| | | | | | | | | stepped down some time ago, about the same time as Giorgos Keramidas joined the team. PR: 140465 Submitted by: Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> MFC after: 2 weeks
* Fix the grammar as in the PR, and then some.roam2009-11-111-2/+2
| | | | | | PR: 140454 Submitted by: Jeremy Huddleston <jeremyhu@apple.com> MFC after: 2 weeks
* Add unit to the short month names for Japanese locales.ume2009-11-113-36/+36
| | | | | | | | Without unit, the output of the application like ls(1) is complicated. Reviewed by: nork MFC after: 1 week
* MFp4:mav2009-11-1111-160/+154
| | | | | | | | | | - Move tagged queueing control from ADA to ATA XPT. It allows to control device command queue length correctly. First step to support < 32 tags. - Limit queue for non-tagged devices by 2 slots for ahci(4) and siis(4). - Implement quirk matching for ATA devices. - Move xpt_schedule_dev_sendq() from header to source file. - Move delayed queue shrinking to the more expected place - element freeing. - Remove some SCSIsms in ATA.
* Added option NETGRAPH_VLAN.ru2009-11-113-0/+3
| | | | Submitted by: pluknet
* MFp4:mav2009-11-111-12/+143
| | | | Add set of chip IDs, known to support AHCI.
* Place home and end before insert and delete.ed2009-11-112-6/+6
| | | | | | These keys have different sequences when using cursorkeys, while insert and delete stay the same. If they are placed like this, libteken will return NULL instead of a proper sequence for these characters.
* Add a new flag to vidcontrol, -T, that allows terminal mode switching.ed2009-11-112-3/+22
| | | | | | This will make it more easy for people to experiment with TERM=xterm. Instead of echoing these strange escape sequences, I can just instruct them to run `vidcontrol -T xterm'.
* CURVNET_RESTORE() was not called in certain cases.ume2009-11-111-1/+1
| | | | MFC after: 3 days
OpenPOWER on IntegriCloud