summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Correctly spell janice and jimmy as janis and jimi (assumingschweikh2010-08-141-14/+14
| | | | the famous rock stars meant were Miss Joplin and Mr Hendrix.)
* use uintmax_t instead of uint64_t.takawata2010-08-131-1/+1
| | | | Pointed out by: des.
* Fix build on amd64 and ia64.takawata2010-08-131-4/+3
|
* Fix crunchide to work on sparc64 and perhaps other 64 bit platforms.adrian2010-08-121-1/+6
| | | | | | | | | I used the wrong type when setting st_name in the symbol table entry struct. It's an Elf64_Word which is defined as an unsigned 32 bit int on both 32 and 64 bit platforms. To make things sensible, define some new macros to use as "word" macros and use those, rather than simply using the explicit 32 bit macros.
* Fix breakage on 64bit architecture by using inttypes.h macro.takawata2010-08-121-1/+2
|
* Fix tindebox breakage about format warning.takawata2010-08-121-1/+1
|
* Add TCG ACPI spec table (TCPA) support.takawata2010-08-112-0/+274
| | | | Submitted by: Hans-Joerg_Hoexer@genua.de
* - Improve the wait4data() routine so it behaves better when checkinggad2010-08-111-7/+23
| | | | | | | | | | | print-jobs which have last-modification times that are in the future. This shouldn't happen, of course, but it can. And when it did happen, the previous check could cause completely-spooled jobs to sit in the queue for 20 minutes per job. The new code waits until the last-modify time is not changing, instead of making decisions based on the specific value of last-modify. MFC after: 2 weeks
* Fix some typos: flush vs. flash, and some others.olli2010-08-111-3/+3
| | | | | Approved by: des (mentor, implicit) MFC after: 1 week
* Port over changes to the crunch symbol hiding method from NetBSD.adrian2010-08-101-134/+88
| | | | | | | | | | | | The older symbol hiding method breaks for MIPS. This implements symbol hiding through renaming to a symbol name which is highly unlikely to clash. The NetBSD code didn't use byte-swapping macros for endian-awareness; so it didn't work when cross-compiling a MIPS world on i386/amd64. This patch includes those (as best as I could figure what they should be) and has been tested to generate valid MIPS crunch binaries both cross- and native- compiled.
* Back out r210975, which changed documentation to match the now backed-outjamie2010-08-081-5/+5
| | | | r210974.
* This isn't WARNS=6 safe. It fails to build on mips. Retore oldimp2010-08-081-0/+2
| | | | WARNS?=3 until that's resolved.
OpenPOWER on IntegriCloud