summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove trailing white spaces.yongari2009-12-212-14/+14
|
* s/u_intXX_t/uintXX_t/gyongari2009-12-212-42/+42
|
* Use vsprintf instead of rolling our own.delphij2009-12-211-9/+1
| | | | | | PR: bin/140496 Submitted by: Jeremy Huddleston <jeremyhu apple.com> MFC after: 1 month
* o Remove unnecessary return statement.yongari2009-12-211-30/+2
| | | | o Remove register keyword.
* Use vsscanf instead of rolling our own.delphij2009-12-211-24/+1
| | | | | | PR: bin/140530 Submitted by: Jeremy Huddleston <jeremyhu apple.com> MFC after: 1 month
* K&R -> ANSI prototype.delphij2009-12-211-8/+3
| | | | MFC after: 1 month
* Use ANSI function definations.yongari2009-12-211-87/+34
|
* Use _once() to initialize the pthread key for thread-local storage to holdjhb2009-12-211-14/+14
| | | | | | the results of localtime() instead of using a pthread mutex directly. MFC after: 1 week
* Implement NFSv4 ACL support for UFS.trasz2009-12-2113-92/+620
| | | | Reviewed by: rwatson
* Add support of using environment variable BURNCD_SPEED to specifydelphij2009-12-212-9/+19
| | | | | | | | recodring speed. PR: bin/140530 Submitted by: Alexander Best <alexbestms wwu.de> MFC after: 1 month
* Plug a memory leak.delphij2009-12-211-0/+1
| | | | | | PR: bin/141835 Submitted by: Henning Petersen <henning.petersen t-online.de> MFC after: 2 weeks
* Plug a memory leak.delphij2009-12-211-0/+1
| | | | | | PR: bin/141836 Submitted by: Henning Petersen <henning.petersen at t-online.de> MFC after: 2 weeks
* Cast time_t values to intmax_t and use %jd with printf.jh2009-12-211-5/+5
| | | | | OK'ed by: delphij Approved by: trasz (mentor)
* Remove non-working special case for pipe(2) from amd64-fbsd32.c andjh2009-12-213-26/+8
| | | | | | | | | i386-fbsd.c. Add pipe(2) to syscall table to decode it's pointer argument properly and re-add special handling for pipe(2) return value to print_syscall_ret(). PR: bin/120870 Approved by: trasz (mentor)
* Note that sockstat(1) does not display kernel-owned sockets.des2009-12-211-0/+7
| | | | | Submitted by: infofarmer@ MFC after: 2 weeks
* Don't hide an error if the initial attempt to program a watchdog fromru2009-12-211-1/+1
| | | | within watchdogd(8) fails. This is also consistent with watchdog(8).
* If none of the watchdogs supports the requested timeout value, theru2009-12-211-3/+3
| | | | code returns EOPNOTSUPP, not EINVAL.
* Move cursor position after putting a character.nyan2009-12-211-0/+10
| | | | MFC after: 1 week
* Add "FreeBSD-" to the beginning of the filenames for the ISO images.kensmith2009-12-211-8/+8
| | | | | | | People who collect ISOs from more than just us have been requesting this for a while. MFC after: 1 week
* - Eliminated hard sentence breaks.ru2009-12-211-14/+15
| | | | | - Fixed spelling of EINVAL. - Sorted sections.
* Removed one more Alpha leftover.ru2009-12-211-1/+0
|
* VI_OBJDIRTY vnode flag mirrors the state of OBJ_MIGHTBEDIRTY vm objectkib2009-12-215-34/+17
| | | | | | | | | | | | | flag. Besides providing the redundand information, need to update both vnode and object flags causes more acquisition of vnode interlock. OBJ_MIGHTBEDIRTY is only checked for vnode-backed vm objects. Remove VI_OBJDIRTY and make sure that OBJ_MIGHTBEDIRTY is set only for vnode-backed vm objects. Suggested and reviewed by: alc Tested by: pho MFC after: 3 weeks
* Fix a handful of issues with via agp support.rnoland2009-12-211-32/+24
| | | | | | | | | | | | | * Read the pci capability register to identify AGP 3 support * Add missing smaller aperture sizes for AGP3 chips. * Fix the aperture size calculation on AGP2 chips. All sizes between 32M and 256M reported as 256M. * Add \n to error string. This all seems to get the CLE266 EPIA-M board agp working properly, now back to work on drm. MFC after: 2 weeks
* Fix indentation.ed2009-12-201-1/+1
|
* Disable jumbo frame support for PCIe VT6130/VT6132 controllers.yongari2009-12-202-3/+13
| | | | | | | | | | | Quite contrary to VT6130 datasheet which says it supports up to 8K jumbo frame, VT6130 does not seem to send jumbo frame that is larger than 4K in length. Trying to send a frame that is larger than 4K cause TX MAC hang. Even though it's possible to allow 4K jumbo frame for VT6130, I think it's meaningless to allow 4K jumbo frame. I'm not sure VT6132 also has the same limitation but I guess it uses the same MAC of VT6130.
* VT6130 datasheet was wrong. If VT6130 receive a jumbo frame theyongari2009-12-201-1/+1
| | | | | | | | | controller will split the jumbo frame into multiple RX buffers. However it seems the hardware always dma the frame to 8 bytes boundary for the split frames. Only the first part of the fragment can have 4 byte alignment and subsequent buffers should be 8 bytes aligned. Change RX buffer the alignment requirement to 8 bytes from 4 bytes.
* Correct fragment bit definition in comments.yongari2009-12-201-2/+2
|
* Add VIA CX700/VX800 chipsets SATA/PATA support.mav2009-12-202-7/+61
| | | | | PR: kern/121521 Tested by: Alex Deiter
* Fairly set master/slave shared PIO/WDMA timings on ITE 821x controllers.mav2009-12-201-4/+6
| | | | Previous implementation could only limit mode, but not rise it back.
* Avoid sharing the file descriptor of the output file with tracedjh2009-12-201-0/+6
| | | | | | | | | processes by setting the FD_CLOEXEC flag for the output file. PR: bin/140493 Submitted by: Erik Lax OK'ed by: delphij Approved by: trasz (mentor)
* Add fork(2), getegid(2), geteuid(2), getgid(2), getpid(2), getpgid(2),jh2009-12-201-0/+12
| | | | | | | | getpgrp(2), getppid(2), getsid(2) and getuid(2) to syscall table to decode their arguments correctly. OK'ed by: delphij Approved by: trasz (mentor)
* The service command is an easy interface to the rc.d system.dougb2009-12-204-0/+242
| | | | | | Its primary purpose is to start and stop services provided by the rc.d scripts, however it can also be used to list the scripts using various criteria.
* Swap VGE_TXQTIMER and VGE_RXQTIMER register definition. Pendingyongari2009-12-191-2/+2
| | | | timer for Tx queue is at 0x3E.
* Remove a warning in DELAY about large delays. In kern_shutdown.cmarcel2009-12-191-8/+1
| | | | we use excessive delays quite habitually.
* Let access overriding to TTYs depend on the cdev_priv, not the vnode.ed2009-12-194-7/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically this commit changes two things, which improves access to TTYs in exceptional conditions. Basically the problem was that when you ran jexec(8) to attach to a jail, you couldn't use /dev/tty (well, also the node of the actual TTY, e.g. /dev/pts/X). This is very inconvenient if you want to attach to screens quickly, use ssh(1), etc. The fixes: - Cache the cdev_priv of the controlling TTY in struct session. Change devfs_access() to compare against the cdev_priv instead of the vnode. This allows you to bypass UNIX permissions, even across different mounts of devfs. - Extend devfs_prison_check() to unconditionally expose the device node of the controlling TTY, even if normal prison nesting rules normally don't allow this. This actually allows you to interact with this device node. To be honest, I'm not really happy with this solution. We now have to store three pointers to a controlling TTY (s_ttyp, s_ttyvp, s_ttydp). In an ideal world, we should just get rid of the latter two and only use s_ttyp, but this makes certian pieces of code very impractical (e.g. devfs, kern_exit.c). Reported by: Many people
* Reference the correct man page for firmware(9).bcr2009-12-191-1/+1
| | | | | | | | PR: docs/140986 Submitted by: Glen Barber (glen dot j dot barber at gmail dot com) MFC after: 4 days Reviewed by: sam Approved by: sam, jkois (mentor)
* Apply fix for Solaris bug 6462803: zfs snapshot -r failed becausedelphij2009-12-191-7/+9
| | | | | | | | | | filesystem was busy (onnv revision 8989) Submitted by: mm Approved by: pjd Obtained from: OpenSolaris MFC after: 2 weeks
* Apply fix for Solaris bug 6801979: zfs recv can fail with E2BIGdelphij2009-12-194-64/+64
| | | | | | | | | (onnv revision 8986) Requested by: mm Submitted by: pjd Obtained from: OpenSolaris MFC after: 2 weeks
* Apply fix Solaris bug 6462803 zfs snapshot -r failed becausedelphij2009-12-193-28/+49
| | | | | | | | filesystem was busy. Submitted by: mm Approved by: pjd MFC after: 2 weeks
* Interpret VAPPEND correctly in vaccess_acl_nfs4(9).trasz2009-12-191-0/+7
|
* Fix a problem with how mergemaster handles the hard links for /.cshrcdougb2009-12-191-13/+20
| | | | | | | | | | | | | | | | | | | | and /.profile. The problem is that install(1) will unlink the old file before it installs the new one, which means that in the best case we have to compare the changes for the old file twice. So, change the logic to first test to see if the link exists, then install the file. Then if the link was there and we're using -i, just create the link in /root and be done with it. Otherwise display the message to the user and give them the option. Because we are now sorting things before doing the comparison we can know conclusively that the files in / should be the sources, and the files in /root will be the targets, so adjust the paths accordingly. While I'm here, split a too-long error message into two lines and just return at the end of handling these files instead of setting the variable that says "do nothing" and then returning at the end of the function anyway.
* Fix an indentation issue, no functional changesdougb2009-12-191-22/+22
|
* In the places where find is used that the user may see the results,dougb2009-12-191-3/+3
| | | | | first pipe it to sort so that order of processing will be deterministic and like things will be grouped together.
* Add rudimentary WOL support. While I'm here remove enablingyongari2009-12-183-17/+227
| | | | | busmastering/memory address in resume path. Bus driver will handle that.
* Make sure to enable Next Page bit for IP1001. Otherwise the PHYyongari2009-12-181-1/+3
| | | | | fails to re-establishe 1000baseT link after downgrading to 10/100Mbps link.
* Fix ub_env_enum(): syscall() returns 0 when properly invoked.marcel2009-12-181-4/+3
|
* Make the wchan names of pts(4) fit in top(1).ed2009-12-181-4/+4
| | | | | | | Just like a similar change we made to the TTY code about half a year ago, make these strings look similar. Suggested by: Jille Timmermans <jille@quis.cx>
* Document more VIA Velocity family controllers to vge(4). Previouslyyongari2009-12-181-9/+10
| | | | | | | | it mentioned only VT6122. While I'm here remove the mention of VT3119 which seems to be VIA's internal model name and VT3119 wouldn't be available to end users. Reviewed by: brueffer
* Add new "hw.psm.tap_enabled" tunable and sysctl.dumbbell2009-12-182-0/+47
| | | | | | | | | | | | | This tunable allows one to enable (1) or disable (0) gestures like tap and tap-hold on Synaptics TouchPad when the Extended mode isn't enabled (ie. "hw.psm.synaptics_support" not set). By default, the value is -1 in order to keep the current behaviour of not enabling/disabling gestures explicitly. PR: kern/139272 Submitted by: David Horn <dhorn2000 AT gmail DOT com> Reviewed by: David Horn <dhorn2000 AT gmail DOT com>
* Added proper attribution.ru2009-12-181-1/+1
| | | | Requested by: luigi
OpenPOWER on IntegriCloud