summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add PCIE power control api:sam2009-02-2415-42/+162
| | | | | | | | | | | | o add ah_configPCIE and ah_disablePCIE for drivers to configure PCIE power save operation (modeled after ath9k, may need changes) o add private state flag to indicate if device is PCIE (replaces private hack in 5212 code) o add serdes programming ini bits for 5416 and later parts and setup for each part (5416 and 9160 logic hand-crafted from existing routines); 5212 remains open-coded but is now hooked in via ah_configPCIE o add PCIE workaround gunk o add ar5416AttachPCIE for iodomatic code used by 5416 and later parts
* Install the old usb headers under /usr/include/legacy/dev/usb as they arethompsa2009-02-243-2/+11
| | | | | | | | needed by the hal port. This will be removed before 8.0. Add an exclusion to kdump as some structs will be redefined. Requested by: marcus
* Exclude ndis from the LINT build as it currently breaks the build, patches tothompsa2009-02-242-4/+4
| | | | move to the new usb stack are in progress.
* Fill in gpio support for 5416 and later parts:sam2009-02-245-49/+208
| | | | | | | | o add output mux support o gpio pin count is chip-dependent o 9280 and 9285 do input handling different o hookup gpio interrupts o no need to save/restore soft led state around reset
* misc fixups, mostly for code not compiled yetsam2009-02-241-10/+11
|
* 5416 and later parts mux the gpio outputs; extend the api to includesam2009-02-2415-25/+52
| | | | a signal type that's used to select the appropriate mux
* move eeprom attach above first reset as the reset code checks thesam2009-02-242-8/+8
| | | | eeprom contents for 9280 and later parts
* attach methods don't need to be public, make 'em staticsam2009-02-235-9/+3
|
* 5416 and later parts get the radio rev differently; add ar5416GetRadioRevsam2009-02-233-2/+18
| | | | to do it the right way
* remove private copies of gpio methods that were needed when the halsam2009-02-235-32/+6
| | | | was an independent entity
* Make sure at least two tx slots are free before sending the mbuf since anthompsa2009-02-234-20/+22
| | | | additional frame may be sent for 80211 protection.
* print mac+rf part names; drop the printing 2ghz rf stuff (might come back)sam2009-02-234-28/+90
|
* Put debug.vm_lowmem sysctl under DIAGNOSTIC.rwatson2009-02-231-0/+2
| | | | | Submitted by: sam MFC after: 3 days
* Use the correct config names for the netgraph bluetooth modules.thompsa2009-02-231-4/+4
|
* Include audit.h so that the system call path protected by NFS_LEGACYRPCrwatson2009-02-231-0/+2
| | | | | | | | can audit its arguments. Submitted by: Jaakko Heinonen <jh at saunalahti.fi> MFC after: 1 week X-MFC-note: MFC with r188311
OpenPOWER on IntegriCloud