summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-11-06add a logitec RT3020 found by mtu@Theo de Raadt
2010-11-05s/urtw_devs/urtwn_devs/Damien Bergamini
no binary change
2010-11-05double \n\n in dmesgDamien Bergamini
2010-11-05urtwn(4), a driver for Realtek RTL8188CU/RTL8192CU 802.11n USB devices.Damien Bergamini
these devices are different from the RTL8191SU/RTL8192SU ones that are not supported by this driver. requires a firmware (urtwn-firmware-1.0) committed over a Hercules HWNUp-150 (RTL8188CU). ok deraadt@
2010-11-05Minor code cleanups. No functional change. From Alexandr Shadchin.Kenneth R Westerback
ok nicm@
2010-11-03only let vmt match and therefore attach if mainbus is specifically askingDavid Gwynne
for vmt to attach after vmt_probe succeeds. this prevents vmt from appearing at other attach points hanging off mainbus. found by phessler@ and debugged gently by claudio@
2010-11-02Make error message specify if a REQUEST SENSE has timed out, not theKenneth R Westerback
original command. Return xs->error = XS_SENSE, when REQUEST SENSE times out, rather that XS_TIMEOUT. Reduces many useless retries of commands getting sense errors.
2010-11-02Add DEBUG0 printf() for unexpected reselects. No functional change.Kenneth R Westerback
2010-11-02Consolidate duplicated code removing things from the 'going' queue.Kenneth R Westerback
No functional change.
2010-11-02Clean up some printf's, most but not all in DEBUG0 blocks, by usingKenneth R Westerback
sc_print_link() properly and consistently. No functional change.
2010-10-31Revert last commit: it breaks resume on ThinkpadsPhilip Guenthe
"then please back it out" deraadt@
2010-10-30tweak gpio pins of julia cards to select the correct multiplier forAlexandre Ratchov
the ADC frequency. Fixes high frequencies being removed (probably ADC running at half the frequency and samples being duplicated).
2010-10-30in otus, tx() can return on error without releasing the nodeDamien Bergamini
so release the node in the caller (if_start) instead and do the same in run(4) for consistency.
2010-10-30no need to compute hdrlen in (), it is not used.Damien Bergamini
2010-10-30always decrement the number of xfers queued in txeof() evenDamien Bergamini
if transfer failed.
2010-10-30don't release the node twice if tx() failsDamien Bergamini
2010-10-30use (ifp->if_softc != NULL) instead of (ifp->if_flags != 0) to checkDamien Bergamini
if interface was attached. both are correct but this is for consistency with other drivers.
2010-10-30use hw sequence numbering for non-QoS framesDamien Bergamini
2010-10-28cleanup ;;Theo de Raadt
2010-10-28improve look of ;; in a for loopTheo de Raadt
2010-10-27fix double ;;Theo de Raadt
2010-10-27don't free network related resources if they were not allocatedJacob Meuser
2010-10-26Add task queue for ACPI gpe and notify handlersJordan Hargrave
This fixes eject on Dell Latitude dock and an issue on the Dell Mini battery update. ok deraadt
2010-10-26log suspends and resumes. resend hostname and address info from the guestDavid Gwynne
to the host on resume. from jonathan matthew reviewed and ok matthew@
2010-10-26big update to vmware tools functionality from jonathan matthew.David Gwynne
vmt(4) will now: - initiate shutdown by signalling init with SIGUSR2 when requested by the host. - initiate a reboot by signalling init with SIGINT when requested by the host. - report the guests hostname to the host - report the guests first non-loopback IP address to the host - report the guests uptime to the host - update the guests timedelta sensor using the 64bit rpc vmt(4) now does the majority of what people actually need. this has been tested on vmware server 2.0.2 with linux as the host, vmware esx 4.0, and vmware esx 4.1 testing by jonathan matthew and myself. previous versions of the changes were also tested by johan allard and srebrenko sehic. code reviewed by and ok matthew@ thanks moch and johan :)
2010-10-25Iopoolification. Tested by mcbride@, dlg@, and Gabriel Kihlman on tech@.Kenneth R Westerback
ok dlg@
2010-10-23regenDamien Bergamini
2010-10-23add a bunch of Realtek RTL8188CU/RTL8188CE/RTL8192CU usb ids.Damien Bergamini
2010-10-23Missed this in the last commit. No cookie for me.Paul Irofti
2010-10-23check that a timeout(9) has been initialized before deleting itJacob Meuser
ok phessler
2010-10-23create another kthread to run xfer abort tasks. xfer abort tasks cannotJacob Meuser
be run from the generic task kthread, because xfers that need to be aborted block newly queued tasks from running (i.e. the xfer to be aborted blocks the abort of that task). as there are now three types of usb tasks, add an argument to usb_init_task() and another member to struct usb_task to specify the task type. fixes boot hangs that are showing up because we now use usb tasks to attach/detach usb devices.
2010-10-23fix the two extremely retarded bugs that prevented the RT30XXDamien Bergamini
devices to work. shame on me. committed over an RT3071.
2010-10-23Unbreak SMALL_KERNEL. Reported by Mikolaj Kucharski, thanks!Paul Irofti
2010-10-22Attach the two run(4) usb ids that krw@ added to usbdevs.Damien Bergamini
"Feel free to commit!" krw@
2010-10-20Disestablish interrupts if attachment fails.Michael Knudsen
ok jakemsr
2010-10-19update initialization values for the Osprey 2.2.Damien Bergamini
see http://marc.info/?l=linux-wireless&m=128746728412954&w=2 for a list of changes.
2010-10-19Unify some error messages to simplify reset code. No functionalKenneth R Westerback
change. ok nicm@ From shadchin.
2010-10-18bFrameIntervalType affects frame rates, not frame sizesJacob Meuser
2010-10-18when configuring the streaming interface with the video probe andJacob Meuser
commit controls, use the hardware frame idenfitier instead of the software identifier since they can differ, and the hardware only knows about it's own identifiers
2010-10-18use setting with closest matching bandwidth for the current configurationJacob Meuser
instead of the first one that has enough bandwidth as it may be too much
2010-10-18Stop compiling with ATHN_DEBUG defined by default.Damien Bergamini
2010-10-18Add __attribute__((aligned(4))) to __packed Tx/Rx descriptors.Damien Bergamini
This makes gcc generate much more efficient code on architectures with strong alignment constraints (like sparc64). We use __packed to tell the compiler to not insert padding between fields but the start of the descriptors is always 32-bit aligned. When __packed is used, gcc assumes worst case scenario and generates complicated code to prevent unaligned accesses. Inspired by a similar change to ath9k. Tested on sparc64. For the record, example to set a field to 1 on a sparc64: without __attribute__((aligned(4))): ldub [%g2], %g1 and %g1, 0, %g1 stb %g1, [%g2] ldub [%g2+1], %g1 and %g1, 0, %g1 stb %g1, [%g2+1] ldub [%g2+2], %g1 and %g1, 0, %g1 stb %g1, [%g2+2] ldub [%g2+3], %g1 and %g1, 0, %g1 or %g1, 1, %g1 stb %g1, [%g2+3] with __attribute__((aligned(4))): mov 1, %g1 st %g1, [%g2]
2010-10-18remove v2.0 initialization values for the Osprey.Damien Bergamini
this is a pre-production chip.
2010-10-17Ansify non-ansified function definitions. No functional change.Kenneth R Westerback
ok nicm@ From shadchin.
2010-10-16SyncKenneth R Westerback
2010-10-16Two run(4)'s picked up in Akihabara after j2k10. Melco WLI-UC-GNM andKenneth R Westerback
Planex GW-USMicro300.
2010-10-16Remove some duplicated code. No need to flush/reset at attach and thenKenneth R Westerback
again at PMS_STATE_CHANGE events. Tested my myself, ian@ and nicm@ without regressions on usual problematic machines. From shadchin.
2010-10-16SUNWEIT DVI can be just about any chipset. Use the revision to select which.Mats O Jansson
Some other products use more than one generation of chipset. e.g. both DL160 and DL165. Change to a later chipset if the family is newer than expected. ok mglocker@ -moj
2010-10-15Remove redundant definitionJordan Hargrave
2010-10-14Move glxpcib(4) to MI land unifying the two MD drivers.Paul Irofti
Specific features of the companion chip will be handled in MD land. Okay deraadt@.