summaryrefslogtreecommitdiffstats
path: root/sys/dev
Commit message (Collapse)AuthorAgeFilesLines
* Fix error in busmaster enable logicrnoland2008-10-271-2/+4
| | | | | | | | rs400/rs480 should clear the RADEON_BUS_MASTER_DIS bit. This should get the rs485 IGP chips going again. Approved by: jhb (mentor) Obtained from: drm git master
* Fix some fallout from the busmaster disable cleanuprnoland2008-10-272-10/+9
| | | | | | | rs400 is just like rs480 Approved by: jhb (mentor) Obtained from: drm git
* Don't report GEM capability until we actually have GEM support.rnoland2008-10-271-1/+2
| | | | | | This was causing the newer Intel video drivers to fail and abort X. Approved by: jhb (mentor)
* prepare for a new halsam2008-10-273-9/+36
|
* o With the addition of HT rates the set of h/w codes has a much wider rangesam2008-10-273-59/+47
| | | | | | | | | | | making the use of sc_hwmap to do direct mapping impractical. Switch to indexing by the rate index instead of the rate code and adjust associated state and logic appropriately. This has several benefits including simplification of the led code. o fix radiotap capture of HT rates o fix conditional compilation of HT radiotap support to be based on the hal having 5416 support; not the ABI version as hal builds may or may not include 5416 support
* prefer #define to naked constantsam2008-10-271-1/+1
|
* fix handling of HT rates; these overlap legacy rates and need to besam2008-10-271-2/+7
| | | | marked as MCS in the inverse mapping table
* add hack to deal with Ubiquiti XR9 cards, they have a different mappingsam2008-10-271-9/+24
| | | | | between 900MHz and 2.4GHz frequencies than SR9 cards; they are distinguished by different country codes
* install bssid for ahdemo mode toosam2008-10-271-0/+1
|
* fix commentsam2008-10-271-1/+1
|
* correct callback status parameter; only indicate success when an ACK wassam2008-10-271-1/+2
| | | | received
* Fixup statistics:sam2008-10-272-10/+16
| | | | | | | o update tx rssi data only when an ACK was received o return tx rssi from sampled data instead of the last frame o track noise floor o return rx rssi and noise floor (was broken)
* update the sta inactivity timer only if we actually received an ACKsam2008-10-271-1/+2
|
* Regdomain fixups:sam2008-10-271-18/+55
| | | | | | | | | | | o pass country code, outdoor indication, and ecm mode into the hal when requesting a channel list o add a console msg when regulatory setup fails o add placeholder code to map between Atheros sku's and 802.11 sku's that handles only the debug country code used to unlock the full channel list (to be used only for debugging) o fix multiple instances of mismapping the 802.11 location to the outdoor indication (anywhere may be outdoor also)
* add regdomain debug msgssam2008-10-271-0/+18
|
* add sys.dev.ath.X.intmit knob to enable/disable ANIsam2008-10-272-0/+24
| | | | (the intmit name is historical)
* shuffle debug setup to simplify debugging events during attachsam2008-10-271-5/+8
|
* rename bf_flags to bf_txflags in preparation for the addition of flagssam2008-10-272-5/+5
| | | | separate from the tx descriptor flags currently recorded
* use the ic's opmode instead of our hal equivalent to check for adhoc mode;sam2008-10-271-1/+1
| | | | they are always the same
* intercept IEEE80211_IOC_TXPOWER and service tx power changes immediatelysam2008-10-271-1/+17
|
* move complaints about bad rate codes up a level so we can printsam2008-10-271-16/+24
| | | | the h/w rate code and other useful info
* remove driver-private equivalent of ni_txparms; it's now superfluoussam2008-10-275-28/+6
|
* now that the new association callback is used when joining a bss we cansam2008-10-275-125/+0
| | | | eliminate the ath_rate_newassoc callback and associated code
* o use the new association callback to notify the driver when joining a bsssam2008-10-276-31/+2
| | | | | | | in sta and adhoc modes; this should've been done forever ago as most all drivers use this hook to set per-station transmit parameters such as for tx rate control o adjust drivers to remove explicit calls to the driver newassoc method
* Remove unused consdev structure fields.ed2008-10-273-6/+2
| | | | | | The cn_unit and cn_tp fields don't seem to be used anywhere. Some drivers set them, while others don't. Just remove them, in an attempt to make our consdev code a little easier to understand.
* Only call dma.unload() if initialized.sos2008-10-271-1/+2
| | | | Reported by: Stanislav Sedov
* Add ADB support. This provides support for the external ADB bus on the PowerMacnwhitehorn2008-10-267-0/+1856
| | | | | | | | G3 as well as the internal ADB keyboard and mice in PowerBooks and iBooks. This also brings in Mac GPIO support, for which we should eventually have a better interface. Obtained from: NetBSD (CUDA and PMU drivers)
* drm/i915: fix ioremap of a user address for non-root (CVE-2008-3831)rnoland2008-10-251-1/+1
| | | | | | | | | | | | | | | Olaf Kirch noticed that the i915_set_status_page() function of the i915 kernel driver calls ioremap with an address offset that is supplied by userspace via ioctl. The function zeroes the mapped memory via memset and tells the hardware about the address. Turns out that access to that ioctl is not restricted to root so users could probably exploit that to do nasty things. We haven't tried to write actual exploit code though. It only affects the Intel G33 series and newer. Approved by: bz (secteam) Obtained from: Intel drm repo Security: CVE-2008-3831
* Add an entry for the "SIIG Cyber 4 PCI 16550", which is a four-port carddes2008-10-251-0/+6
| | | | | | based on the OX16PCI954 chip with a non-standard clock. MFC after: 3 days
* Fix spelling in comment.mav2008-10-251-1/+1
|
* Use auto-negotiation for manual media type selection. This fixesyongari2008-10-251-1/+2
| | | | establishment of 10/100Mbps link on Atheros AR8121(L1E).
* Add a driver for flash memory that implements to the Common Flashmarcel2008-10-255-0/+973
| | | | | | | | | | Memory Interface (CFI). The flash memory can be read and written to through /dev/cfi# and an ioctl() exists so processes can read the query information. The driver supports the AMD and Intel command set, though only the AMD command has been tested. Obtained from: Juniper Networks, Inc.
* Make the driver compile on FBSD6 as well.n_hibma2008-10-241-2/+6
| | | | | Up the speed on the E220 ID as it is a part which is used in other devices that are capable of HSPA speeds.
* Add MSI support.mav2008-10-241-1/+6
| | | | | Tested on: Acer TravelMate 6292 with 0x4229 chip. Reviewed by: sam@
* Bump the revision after the latest commits.mav2008-10-241-1/+1
|
* Add some special handeling for AD1981HD codec. It has very unusual designmav2008-10-241-0/+18
| | | | | | | with several points unappropriate for the present parser. This patch disables input-to-output analog monitoring but instead fixes recording. Tested by Tobias Grosser on ThinkPad T61p.
* Add U3G_DEBUG to LINTn_hibma2008-10-241-0/+1
|
* - Bugfix: Only claim interface after having checked all endpoints. Thisn_hibma2008-10-241-42/+40
| | | | | | | | might make Qualcomm and Option cards (which have all endpoints in 1 interface) work. - Change the USB buffer sizes to depend on the transfer speed. With UMTS we use a buffer 384k / 1000 frames/sec * 50msecs =~ 15kB for example. - Add a MODULE_VERSION statement
* Fix a number of style issues in the MALLOC / FREE commit. I've tried todes2008-10-234-17/+15
| | | | | be careful not to fix anything that was already broken; the NFSv4 code is particularly bad in this respect.
* Replace calls to minor() with dev2unit(). Ed already fixed this once,rnoland2008-10-232-2/+2
| | | | | | | | but I inadvertently overwrote the change when I synced to git. Commit the fix in both places, so this doesn't happen again. Approved by: jhb (mentor) MFC after: 2 weeks
* This check is invalid and I disabled it once already. I accidentallyrnoland2008-10-231-6/+4
| | | | | | | | reintroduced it with the sync to git master. Commit the fix in both places this time. Approved by: jhb (mentor) MFC after: 2 weeks
* Update to Myri10GE Firmware 1.4.36.gallatin2008-10-234-32592/+32702
| | | | | | | | | | This update fixes a transmit bug in the multi-queue (MSI-X) firmware which happens when RDMAs complete out of order, and provides improved support for the new Myri10GE NIC models (10G-PCIE-8Bx) Sponsored by: Myricom Inc. MFC after:3 days
* Don't include <sys/clist.h> inside ucom(4) and ufoma(4).ed2008-10-232-2/+0
| | | | | After being ported to the MPSAFE TTY layer, these drivers do not use clists anymore. Don't include their header files.
* Fix detaching of uart(4) devices.ed2008-10-231-0/+13
| | | | | | | | | | | | | | With our new TTY layer we use a two step device destruction procedure. The TTY first gets abandoned by the device driver. When the TTY layer notices all threads have left the TTY layer, it deallocates the TTY. This means that the device unit number should not be reused before a callback from the TTY layer to the device driver has been made. newbus doesn't seem to support this concept (yet), so right now just add a destructor with a big comment in it. It's not ideal, but at least it's better than panicing. Reported by: rnoland
* Add Intel ICH10 and SCH HDA controllers PCI IDs.mav2008-10-231-0/+4
|
* Retire the MALLOC and FREE macros. They are an abomination unto style(9).des2008-10-2313-70/+62
| | | | MFC after: 3 months
* Correct PHY description and OUI of VSC8211. Previously VSC8211 wasyongari2008-10-232-3/+3
| | | | | | | not recognized by ciphy(4) due to the incorrect OUI. Reported by: nork Tested by: nork
* Remove a comment that belonged to a deleted if statement.n_hibma2008-10-221-1/+0
|
* Fix build with PPC_PROBE_CHIPSET enabled.jhb2008-10-221-10/+13
|
* Fix build breakage.jhb2008-10-222-3/+4
| | | | Pointy hat: jhb
OpenPOWER on IntegriCloud