summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant assignment of `s'.ed2009-02-261-1/+0
| | | | | | The variable is already initialized to `nptr'. Found by: LLVM's scan-build
* Remove unneeded variable assignment.ed2009-02-261-1/+1
| | | | | | The ts variable is always initialized a few lines below. Found by: LLVM scan-build
* Add static tracing for privilege checking:rwatson2009-02-261-9/+40
| | | | | | | | | | | | priv:kernel:priv_check:priv_ok fires for granted privileges priv:kernel:priv_check:priv_errr fires for denied privileges The first argument is the requested privilege number. The naming convention is a little different from the OpenSolaris equivilent because we can't have '-' in probefunc names, and our privilege namespace is different. MFC after: 1 week
* Silence compiler warning inside our ^T handler.ed2009-02-261-1/+1
| | | | | | It turns out we're casting fixpt_t* to int*. Spotted by: clang
* Use unsigned longs for the TTY's sysctl stats.ed2009-02-263-12/+12
| | | | Spotted by: clang
* Don't use PTY name as format string, even though it isn't insecure here.ed2009-02-261-1/+1
| | | | | It's guaranteed that the `name' variable always contains a string of the form pty[l‐sL‐S][0‐9a‐v], but I'd rather keep the compiler happy (LLVM).
* add more gpio registerssam2009-02-261-2/+9
|
* Fix typo in comments in r189023.sobomax2009-02-252-2/+2
|
* Enable support for PAT_WRITE_PROTECTED and PAT_UNCACHED cache modesjkim2009-02-252-103/+77
| | | | | | | unconditionally on amd64. On i386, we assume PAT is usable if the CPU vendor is not Intel or CPU model is newer than Pentium IV. Reviewed by: alc, jhb
* The GM45 handles vblank differently. Pull the changes from Intel in.rnoland2009-02-255-1/+25
| | | | MFC after: 2 Weeks
* Remove D_NEEDGIANT.rnoland2009-02-251-1/+1
| | | | MFC after: 2 weeks
* Turn on MSI if the card supports it. There is a blacklist for chipsrnoland2009-02-253-35/+78
| | | | | | which report that they are capable of MSI, but don't work correctly. MFC after: 2 weeks
* Prepare the radeon driver for MSI support.rnoland2009-02-251-0/+28
| | | | MFC after: 2 weeks
* Add some vblank related debugging and replace the DRM_WAIT_ON macrornoland2009-02-251-9/+23
| | | | | | with a localized version. MFC after: 2 weeks
* This was part of a sync to the code that Intel is shipping in linux.rnoland2009-02-256-2272/+1909
| | | | | | | | - Remove the old TTM interface - Move register definitions to i915_reg.h - Overhaul the irq handler MFC after: 2 weeks
* The i915 driver was the only consumer of locked task support.rnoland2009-02-254-64/+0
| | | | | | | Now that it doesn't use it anymore, get right of the taskqueue and locked task support. MFC after: 2 weeks
* The vblank_swap ioctl was fundamentally race prone. Get rid of it.rnoland2009-02-253-433/+14
| | | | MFC after: 2 weeks
* There is no reason to hold the lock here.rnoland2009-02-251-2/+0
| | | | | | | When I was LOCK_PROFILING this was pretty high up and there is no reason for it. MFC after: 2 weeks
* Remove the PZERO priority from mtx_sleep.rnoland2009-02-251-2/+2
| | | | MFC after: 2 weeks
* Prior to r188331 a map entry's last read offset was only updated by a hardalc2009-02-251-3/+7
| | | | | | fault. In r188331 this update was relocated because of synchronization changes to a place where it would occur on both hard and soft faults. This change again restricts the update to hard faults.
* Make machdep.hyperthreading_enabled tunable working with the SCHED_ULE.sobomax2009-02-252-18/+86
| | | | | | | | Unlike with SCHED_BSD, however, it can only be set to 0 at boot time, it's not possible to change it at runtime. Reviewed by: jhb MFC after: 1 month
* Update to latest 3Com firmware image. The latest fimware isyongari2009-02-253-4578/+3802
| | | | | | | | | | | | required to make 3CR990 familiy controllers run on NV flash firmware version 03.001.008. The latest firmware added HMAC digest information so teach txp(4) to pass them to sleep image before downloading is started. While I'm here restore previous IMR/IER register if firmware downloading have failed. PR: kern/89876, kern/132047
* Update paths for ehci_ixp4xx.c in the old and new stacks.thompsa2009-02-241-1/+2
|
* Fix path and config name for ehci_mbus.cthompsa2009-02-241-2/+1
|
* These are no longer needed.thompsa2009-02-242-224/+0
|
* Fix some more issues with the real mode BTX.jhb2009-02-241-35/+60
| | | | | | | | | | | | | | | | | | | | | | | | | The old BTX passed the general purpose registers from the 32-bit client to the routines called via virtual 86 mode. The new BTX did the same thing. However, it turns out that some instructions behave differently in virtual 86 mode and real mode (even though this is under-documented). For example, the LEAVE instruction will cause an exception in real mode if any of the upper 16-bits of %ebp are non-zero after it executes. In virtual 8086 mode the upper 16-bits are simply ignored. This could cause faults in hardware interrupt handlers that inherited an %ebp larger than 0xffff from the 32-bit client (loader, boot2, etc.) while running in real mode. To fix, when executing hardware interrupt handlers provide an explicit clean state where all the general purpose and segment registers are zero upon entry to the interrupt handler. While here, I attempted to simplify the control flow in the 'intusr' code that sets up the various stack frames and exits protected mode to invoke the requested routine via real mode. A huge thanks to Tor Egge (tegge@) for debugging this issue. Submitted by: tegge Reviewed by: tegge Tested by: bz MFC after: 1 week
* Revert the addition of the freelist argument for the vm_map_delete()kib2009-02-245-50/+31
| | | | | | | | | function, done in r188334. Instead, collect the entries that shall be freed, in the deferred_freelist member of the map. Automatically purge the deferred freelist when map is unlocked. Tested by: pho Reviewed by: alc
* Add the assertion macros for the map locks. Use them in several mapkib2009-02-241-0/+44
| | | | | | | manipulation functions. Tested by: pho Reviewed by: alc
* Use vm_map_entry_t instead of explicit struct vm_map_entry *.kib2009-02-241-1/+1
| | | | Reviewed by: alc
* Update the comment after the r188334.kib2009-02-241-4/+4
| | | | Reviewed by: alc
* Change the functions to ANSI in those cases where it breaks promotionrdivacky2009-02-2415-356/+121
| | | | | | | | to int rule. See ISO C Standard: SS6.7.5.3:15. Approved by: kib (mentor) Reviewed by: warner Tested by: silence on -current
* This copy of usbdevs is unused.thompsa2009-02-241-2527/+0
|
* Also use proper capitalisation of FreeBSD in other source files.ed2009-02-2417-19/+19
| | | | Approved by: thompsa
* Use my address of the FreeBSD project in the copyright statement in USB2.ed2009-02-241-2/+2
| | | | | | If I remember correctly, our policy was to use FreeBSD with proper capitalisation in our email addresses. Fix this in Nick Hibma's address as well.
* delete-old does not recursively delete dirs so list all its contents too.thompsa2009-02-241-0/+14
| | | | Spotted by: naddy
* With only one threading library, simplify the logic of setting SHLIBDIR.ru2009-02-241-4/+2
|
* Restore the install location of libssp.so.0.ru2009-02-241-1/+2
| | | | Noticed by: tegge
* Bring back the code to prime the ACCESS cache when fetching attributes forjhb2009-02-241-0/+11
| | | | | | | | an NFS file. Now the priming is conditional on a new vfs.nfs.prime_access_cache sysctl. For now I've left the default setting to disabling the priming. Requested by: scottl
* fix typo'ssam2009-02-241-2/+2
|
* In tcp_usr_shutdown() and tcp_usr_send(), I missed converting NULLrwatson2009-02-241-2/+3
| | | | | | | | | | | checks for the tcpcb, previously used to detect complete disconnection, with INP_DROPPED checks. Correct that, preventing shutdown() from improperly generating a TCP segment with destination IP and port of 0.0.0.0:0. PR: kern/132050 Reported by: david gueluy <david.gueluy at netasq.com> MFC after: 3 weeks
* MFp4 //depot/projects/usb@158015thompsa2009-02-242-90/+147
| | | | | | Add support for the Sael M460 3G modem. Submitted by: Hans Petter Selasky
* Fix compiler warning.thompsa2009-02-241-0/+1
|
* MFp4 //depot/projects/usb@157974thompsa2009-02-248-0/+107
| | | | | | | Add support for setting and getting the USB template value through libusb20 and usbconfig. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157958thompsa2009-02-244-41/+55
| | | | | | | | | | - We don't need to exit the Giant mutex when sleeping. This is done automatically. Replace Giant by NULL mutex for all control requests in the enumeration path. - Optimise away duplicate alternate interface selection requests in USB Host mode. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157909thompsa2009-02-244-17/+66
| | | | | | Changes to make implementing USB NDIS easier. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157855thompsa2009-02-241-1/+6
| | | | | | Document short_frames_ok. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157853thompsa2009-02-2412-246/+33
| | | | | | | Clean up old way of polling the USB hardware. The existing polling support was a bit hackish. Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb@157847thompsa2009-02-241-70/+68
| | | | | | | | Improvements to "usb2_transfer_setup()" and "usb2_transfer_unsetup()". Set "ppxfer[n]" when the transfer setup is complete to prevent races. Remove redundant NULL-checks from "usb2_transfer_unsetup()". Submitted by: Hans Petter Selasky
* MFp4 //depot/projects/usb; 157814, 157863, 157868thompsa2009-02-244-148/+149
| | | | | | | | | | | | | - The software computed HID size is not always correct, because the algoritm does not handle unsorted HID descriptors. - Change the way we obtain the report ID. - Use the X/Y/Z+button locations instead for report ID source for ums. - Add more range checks. - Remove Microsoft Mouse quirks. If the positions are moduloed the report length multiplied by 8, the values seem correct. - Some minor style changes. Submitted by: Hans Petter Selasky
* move attach debug msg to the rf backendsam2009-02-243-4/+2
|
OpenPOWER on IntegriCloud