summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* - Introduce WITH_GPIO knob and disable building gpioctlgonzo2010-10-051-1/+4
| | | | by default. Most systems do not need it.
* Revert the unrelated patch crept in the previous commit.jkim2010-10-051-5/+5
|
* Prefer pmap_unmapbios() over pmap_unmapdev(). The binary does not changejkim2010-10-051-5/+5
| | | | after this because pmap_unmapbios() is a macro for pmap_unmapdev() on amd64.
* Revise markup, mainly.ru2010-10-051-8/+10
|
* Reconnect uathload to the build.antoine2010-10-031-0/+1
|
* Extend sysinstall to handle powerpc64 by teaching it that powerpc64 hasnwhitehorn2010-10-035-6/+12
| | | | | | | | | a lib32 distribution, and that the GENERIC kernel is named GENERIC64. More modifications will be required later for installations from ftp due to the shared platform name with 32-bit powerpc, but this is enough for snapshot CDs to work. Reviewed by: brucec
* Add gpioctl(8). Utility for configuring/accessing GPIO pinsgonzo2010-09-284-0/+454
|
* Protect the watchdog daemon against swap OOM killer. This is similar toemaste2010-09-261-0/+3
| | | | SVN r199804 which added protection to sshd, cron, syslogd, and inetd.
* Eliminate the --disable-ipv6 string which while technically correct indougb2010-09-221-1/+1
| | | | | terms of the arguments that configure was called with is misleading because if IPv6 support is present on the system it will be present in BIND.
* Bugfix: Reset the packet counters at the same time as the byte counts.n_hibma2010-09-181-2/+2
| | | | | Reviewed by: brian MFC after: 3 weeks
* Merge ACPICA 20100915.jkim2010-09-162-3/+4
|
* Only attempt to list extended capabilities for devices that have ajhb2010-09-161-1/+5
| | | | | | | | | PCI-express capabilities. Non-PCI-express PCI devices may simply ignore the upper bits in a config register address effectively aliasing the device ID register to 0x100 rather than returning 0xFFFFFFFF. Previously the code relied on these reads returning 0xFFFFFFFF. MFC after: 3 days
* Allow a kernel config to specify a set but empty value viaemaste2010-09-131-0/+1
| | | | | | | | 'makeoptions OPTION=' for consistency with the make commandline. Previously 'makeoptions WERROR=' would result in a syntax error; now it produces the same effect as 'makeoptions WERROR'. Both forms now result in 'WERROR=' in the generated Makefile.
* It turns out that TARGET_CPUARCH doesn't buy us much here, if anything, butimp2010-09-131-11/+2
| | | | | | | | | costs us another copy of the transform. Revert it. # Maybe makefile.inc1 should set TARGET_CPUARCH for the cross-tools, but # it doesn't now. That would solve problems in other places too. Submitted by: jmallet@
* Ooops! Shouldn't have committed thisimp2010-09-131-528/+0
|
* Merge from tbemd: use Makefile.arch to control building.imp2010-09-139-319/+728
| | | | Reviewed by: arch@ (many times, no objection)
* Use TARGET_CPUARCH instead of TARGET_ARCH here. Define TARGET_CPUARCHimp2010-09-131-2/+11
| | | | | based on TARGET_ARCH. Use TARGET_ARCH still for a powerpc64 test. Futureproof for coming mipsel/mipseb and arm/armeb rename.
* In backup_kernel(), support backing up subdirectories and handle filesjh2010-09-121-5/+6
| | | | | | | with spaces correctly. Approved by: cperciva MFC after: 1 month
* "freebsd-update fetch -r NEWRELEASE" is meaningless and probably a typocperciva2010-09-101-2/+14
| | | | | | | | for "freebsd-update upgrade -r NEWRELEASE". Error out and suggest what the user probably meant. Submitted by: James Seward MFC after: 1 month
* Add warning about freebsd-update upgrade needing lots of disk space.cperciva2010-09-101-0/+5
| | | | | Submitted by: jpaetzel MFC after: 1 month
* Remind the user that he needs to run 'freebsd-update install' to installcperciva2010-09-101-0/+4
| | | | | | | new bits after downloading them using 'freebsd-update upgrade'. Submitted by: bapt MFC after: 1 month
* Document the format of extended capabilities in the '-c' output.jhb2010-09-091-1/+13
|
* - Use 'sta' to hold the PCIR_STATUS register value instead of 'cmd' whenjhb2010-09-091-6/+6
| | | | | | | walking the capability list. - Use constants for PCI header types instead of magic numbers. MFC after: 1 week
* Add file missed in r212337, my bad...imp2010-09-091-0/+34
|
* pc-sysinstall(8) patch that allows images to be written to disksimp2010-09-0813-239/+523
| | | | | | | | | This patch creates the "image" directive for the pc-sysinstall config file. This allows disks to be configured with an image instead of partitioning. PR: 150137 Submitted by: John Hixson
* Make sure to only pickup hid_input items when parsing input reports.emax2010-09-081-1/+2
| | | | | | | | As it turns out, libusbhid(3) also picks up hic_collection items even though we explicitly requested hid_input items only. Tested by: Buganini < buganini at gmail dot com > MFC after: 1 week
* Simplify chkattached(). The PCIOCATTACHED ioctl only needs the pi_seljhb2010-09-081-7/+3
| | | | | | field populated, it ignores the rest of the 'pci_sel' structure. MFC after: 1 week
* - Add register definitions related to extended capability IDs injhb2010-09-081-0/+95
| | | | | | | | | | | PCI-express. I used PCIZ_* for ID constants (plain capability IDs use PCIY_*). - Add register definitions for the Advanced Error Reporting, Virtual Channels, and Device Serial Number extended capabilities. - Teach pciconf -c to list extended as well as plain capabilities. Adds more detailed parsing for AER, VC, and device serial numbers. MFC after: 2 weeks
* Do not request SDP attributes using ranges.emax2010-09-071-2/+4
| | | | | | | Apparently some devices do not like it. MFC after: 1 week Tested by: Buganini < buganini at gmail dot com >
* When an asm location cannot be resolved to a function the costfabient2010-09-034-0/+6
| | | | | | | | will be spread as small value and then filtered by the threshold. As a first step solution display the number of event that cannot be resolved as a valid function location. MFC after: 1week
* For consistency, cast result of getpid() to longkevlo2010-08-311-1/+1
|
* Use MACHINE_ARCH instead of MACHINE as the directory to fetch packagesnwhitehorn2010-08-301-4/+8
| | | | from. Packages are architecture dependent, not machine dependent.
* Fix incorrect usage of 'assure' and 'insure'.brucec2010-08-282-2/+2
| | | | Approved by: rrs (mentor)
* Repair some build breakage introduced in r211725 and garbage collect somenwhitehorn2010-08-281-1/+1
| | | | code made obsolete in the same commit.
* Make sure TARGET_ABI is defined. TARGET_ABI will die a horrible deathimp2010-08-261-1/+1
| | | | | | after we get all of TBEMD merged back into head, and make mips64 imply n64, so don't bother to make this 100% pretty. You'll have to settle for only 64% pretty.
* Ugly kludge to paper over some kind of ld bug and/or misuse: don'timp2010-08-261-1/+2
| | | | build uathload on mips n64 either.
* When ACPI reports current battery consumption rate in mAmps, print it alsomav2010-08-241-16/+21
| | | | | in mWatts. Values in mAmps are not always suitable, because they depend on battery voltage, which depends on battery type and charge level.
* Indent things consistentlyimp2010-08-2432-1506/+1620
| | | | | PR: 149926 Submitted by: John Hixson
* MFtbemd:imp2010-08-237-8/+8
| | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
* This patch to pc-sysinstall allows the setting of a new configimp2010-08-192-7/+97
| | | | | | | | | variable for installation, which lets the user/front-end select between MBR or GPT partitioning schemes when doing a dedicated disk installation. PR: 149772 Submitted by: Kris Moore
* Added "-m" option to "disk-list" to list memory disks along withimp2010-08-193-5/+22
| | | | | | | standard disks. PR: 149749 Submitted by: John Hixson
* Simple patch to add support zpool virtual devices that are notimp2010-08-191-13/+6
| | | | | | | currently supported. PR: 149599 Submitted by: John Hixson
* Some cleanup, changed some echo's to echo_log, check for PROGDIR soimp2010-08-193-7/+26
| | | | | | | that different PROGDIR's can be set. PR: 148806 Submitted by: John Hixson
* Updates to pc-sysinstall that allow FTP installation of FreeBSD.imp2010-08-194-39/+224
| | | | | PR: 148661 Submitted by: John Hixson
* Various updates to support new pc-sysinstall directiveimp2010-08-1912-35/+358
| | | | | | | | "installPackages" that will install packages and all package dependencies. PR: 148606 Submitted by: John Hixon
* To restart, sysinstall calls execl. Since it will create a new process, webrucec2010-08-176-28/+51
| | | | | | | | | | | can't check to see if sysinstall is running as init just by checking if the PID is 0. Introduce a new option that sets the RunningAsInit flag, and update the code to check RunningAsInit intstead of getpid(). PR: bin/38854 Submitted by: Peter Sedeffow <peter at trumanbrewery.com> Approved by: rrs (mentor) MFC after: 1 month
* Add -m and -M options to control the minimum and maximum frequency.brucec2010-08-172-8/+88
| | | | | | | | PR: bin/145063 Submitted by: Boris Kochergin <spawk at acm.poly.edu> Reviewed by: cperciva Approved by: rrs (mentor) MFC after: 2 weeks
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-1610-14/+14
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Given the lag between introducing the options-compat and fixing theimp2010-08-151-1/+1
| | | | | | | | bug in the config file was long, and merged to stable, we have to bump the version here so that stable/8 kernels can have their required version number bumped to make sure the right config is used. MFC after: 3 days
* Turns out that it is a bad idea to have a missing compat option be aimp2010-08-151-3/+5
| | | | | | | | | | | | | fatal condition. While it works out really well for diagnosing the case where you want it, but don't have it, it works really badly for the case where you don't have it and don't want it. Remove the printf and exit pair. Replate it with simple return to silently ignore this condition. This is needed to fix the COMPAT_IA32 being required in options.* in stable, but we need to run this change through -current first... MFC after: 3 days
OpenPOWER on IntegriCloud