summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Reinstate the ptrace patch to restore the 'gp' register after callingneel2010-02-041-0/+3
| | | | | | | | | | a function. I made a mistake in assuming that the .cprestore directive will cause the assembler to automatically restore 'gp' after the 'jalr'. The .cprestore directive does its magic only after 'jal' and 'bal' instructions - not the 'jalr'. Pointed out by: c.jayachandran@gmail.com
* Clean up all places in exception.S that fiddle with 'pcpup' directly. We nowneel2010-02-041-20/+0
| | | | | | | | use the GET_CPU_PCPU() macro exclusively. This isolates the users of pcpu data from its implementation details. Reviewed by: imp
* Fix target mode compilation problem with previous deltamjacob2010-02-041-2/+2
|
* static'ify function prototypes and convert K&R to ANSI.delphij2010-02-031-24/+23
| | | | MFC after: 1 month
* pukeText is an internal function so define it as static rather thandelphij2010-02-032-2/+3
| | | | | | exporting it. MFC after: 1 month
* Plug two memory leaks in error case.delphij2010-02-032-2/+5
| | | | MFC after: 1 month
* Remove dead code and fix style(9) bugs.jkim2010-02-031-66/+77
|
* Use bytes per scan line from mode table. The previous implementation didjkim2010-02-032-38/+16
| | | | not reflect actual number of bytes when it was not exactly width * bpp * 8.
* Correct virtual address of frame buffer for non-linear mode.jkim2010-02-031-1/+1
| | | | Reported by: Marc UBM Bocklet (ubm dot freebsd at googlemail dot com)
* Implement poll method for atapicam.mav2010-02-031-2/+6
| | | | It is not perfect, but better then nothing.
* Report to CAM unit number of underlying ataX bus device, instead of thismav2010-02-031-1/+1
| | | | atapicamX. It is more apropriate and useful together with "ata" name.
* Redo how commands handles are created and managed and implement sequencemjacob2010-02-038-109/+186
| | | | | | | | | | | | numbers and handle types in rational way. This will better protect from (unwittingly) dealing with stale handles/commands. Fix the watchdog timeout code to better protect itself from mistakes. If we run an abort on a putatively timed out command, the command may in fact get completed, so check to make sure the command we're timing it out is still around. If the abort succeeds, btw, the command should get returned via a different path.
* - style(9)gabor2010-02-038-202/+206
| | | | Approved by: delphij (mentor)
* -White space cleanup (missing spaces in new line)rrs2010-02-031-5/+2
| | | | | | -Remove extra tab. -Took out the duplicate code that cprestore does. All suggested by Neel.
* Placate new binutils, by using 16-bit %ax instead of 32-bit %eax as ankib2010-02-034-22/+34
| | | | | | | | | argument for fnstsw. Explicitely specify sizes for the XMM control and status word and X87 control and status words. Reviewed by: das Tested by: avg MFC after: 2 weeks
* Disable kern.cam.power_down ATM. It doesn't work fine on some controllers.mav2010-02-031-1/+1
|
* Also add a cross-reference to NetBSD updlastlogx().ed2010-02-031-1/+3
|
* - Remove dead variable assignmentsgabor2010-02-032-12/+6
| | | | | | | - Fix -x Submitted by: uqs Approved by: delphij (mentor)
* - style.Makefile(5)gabor2010-02-032-6/+7
| | | | | Submitted by: uqs Approved by: delphij (mentor)
* Remove alpha support from here too. FreeBSD 6 was the last branch toimp2010-02-034-58/+0
| | | | support it.
* Remove more traces of the Alpha port.imp2010-02-031-2/+1
|
* Add rc.d script for the rtsold(8) daemon.ume2010-02-034-2/+34
| | | | | | | | | | The rtsol(8) handles just one RA then exit. So, the OtherConfig flag may not be handled well by rtsol(8) in the environment where there are multiple RA servers on the segment. In such case, rtsold(8) will be your friend. Reviewed by: hrs MFC after: 2 weeks
* acpi_cpu: correct capabilities arguments for Processor _OSC evaluationavg2010-02-031-1/+2
| | | | | | | Populate capabilities buffer according to Intel Processor Vendor-Specific ACPI Interface Specification. MFC after: 2 weeks
* This fix makes it so the args are malloc'd beforerrs2010-02-031-1/+1
| | | | | | | | we use them (always a good idea ;-0) This was found and fixed by JC Obtained from: JC (c.jayachandran@gmail.com)
* This fixes a bug found and fixed by JC. Basicallyrrs2010-02-031-1/+13
| | | | | | | no save was being done of the ra and gp pointers before we call the __error function. Obtained from: JC (c.jayachandran@gmail.com)
* Disable PHY of unconnected ports when interface power management enabled.mav2010-02-031-1/+6
| | | | It allows to save a bit more power (about 0.5W on 2 unused ports of ICH8M).
* Avoid a null pointer deref when parsing the meshid.rpaulo2010-02-031-3/+4
| | | | Found with: clang static analyzer
* When taking the AMPDU reorder fastpath, need_tap wasn't beingrpaulo2010-02-035-11/+7
| | | | | | initialized. Initialize on declaration to avoid this. Found with: clang static analyzer
* MFp4:mav2010-02-033-2/+43
| | | | | | Add Power Up In Stand-by feature support. Device with PUIS enabled require explicit command to do initial spin-up. Mark that command with CAM_HIGH_POWER flag, to allow CAM manage staggered spin-up.
* MFp4:mav2010-02-032-3/+95
| | | | | | Make CAM to stop all attached devices on system shutdown. It allows devices to park heads, reducing stress on power loss. Add `kern.cam.power_down` tunable and sysctl to controll it.
* Fix comments in do_sem_wait().davidxu2010-02-031-2/+1
|
* Reduce the size of the array used to store the TLB mappings for the kernelneel2010-02-031-1/+1
| | | | | | | | stack from 3 to 2. We only map in 2 pages for the kernel stack. Approved by: imp (mentor)
* After busied the lock, re-read state word before checking waiters flag,davidxu2010-02-031-0/+12
| | | | | | | otherwise, the waiters bit may not be set and a wakeup is lost. Submitted by: justin.teller at gmail dot com MFC after: 3 days
* Remove another reference to alpha...imp2010-02-031-4/+0
|
* - Give geom_redboot taste of flash/spi. Now there is another providergonzo2010-02-031-1/+2
| | | | | of redboot partitions. This patch was missed during merge from projects/mips.
* Only audit pathnames in namei(9) if copying the directory string completesrwatson2010-02-021-5/+10
| | | | | | | successfully. Continue to do this before the empty path check so that the ENOENT returned in that case gets an empty string token in the BSM record. MFC after: 3 days
* Prevent NULL deference by checking return value ofdelphij2010-02-021-0/+9
| | | | | | gctl_get_asciiparam. MFC after: 2 weeks
* Some of the existing ppp and vpn related scripts create and setqingli2010-02-021-0/+6
| | | | | | | | | the IP addresses of the tunnel end points to the same value. In these cases the loopback route is not installed for the local end. Verified by: avg MFC after: 5 days
* Bump .Dd, forgotten in r203393gavin2010-02-021-1/+1
| | | | | Approved by: ed (mentor, implicit) MFC after: 1 week
* The multiplicand a = 0x5deece66d = 25214903917, not 0xfdeece66d.gavin2010-02-021-1/+1
| | | | | | | | | This bug in the man page has gone unnoticed for over 15 years! PR: docs/143461 Submitted by: Jeremy Huddleston jeremyhu apple.com Approved by: ed (mentor, implicit) MFC after: 1 week
* Implement strndup(3) using strnlen(3).ed2010-02-021-3/+1
| | | | | This makes the implementation a bit more consistent with strdup(3), which uses strlen(3).
* Exclude the interfaces which IPv6 and/or accepting RA is disabledume2010-02-021-1/+31
| | | | | | from the auto probed interface list. MFC after: 1 week
* Change the way in which fake async events generated. Do not usemav2010-02-021-60/+24
| | | | taskqueue for lock decoupling, as it causes unwanted races.
* - Use separate buffer for identify data fetching. We can't use main buffermav2010-02-023-45/+19
| | | | | here if device already running, as data need to be formatted before use. - Remove some saved_ccb variables. They are unused now.
* Some missed parts for r203376.mav2010-02-021-2/+6
|
* Make -a option actually work.ume2010-02-021-1/+0
| | | | MFC after: 1 week
* Respect passwordtime from login.conf if set.des2010-02-021-2/+9
| | | | | | PR: bin/93473 Submitted by: Björn König <bkoenig@cs.tu-berlin.de> MFC after: 1 week
* - Give ATA/SATA SIMs info about ATAPI packet size, supported by device.mav2010-02-029-6/+76
| | | | | - Make ATA XPT to reject longer SCSI CDBs then supported by device, or any SCSI CDBs, if device doesn't support ATAPI.
* - Add myselfgabor2010-02-021-0/+2
| | | | Approved by: delphij (mentor)
* - Add support for CVSup authentication mechanisms to csup.lulf2010-02-0211-57/+749
| | | | | | | | | - Include a cpasswd script performing the same mechanisms as the cvpasswd utility from CVSup. PR: bin/114129 Submitted by: Petar Zhivkov Petrov <pesho.petrov -at- gmail.com> MFC after: 1 month
OpenPOWER on IntegriCloud