summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2010-11-14Cleanup dmesg a bit, do not print the device name twice when attachingPaul de Weerd
axe(4).
2010-11-12revert MCLGETI for re(4) for now, it is causing hangs (in some casesStuart Henderson
temporary, in others apparently permanent) with high rates of input packets. ok deraadt@
2010-11-11DEC 3000/400 has a 22.5MHz TURBOchannel bus instead of the usual 25MHz;Miod Vallat
correctly report this. Then, in asc@tc, compute synchronous transfer periods (involving the bus clock) with a better accuracy. ok krw@
2010-11-11Pass a few more M_ZERO to malloc() or its wrappers, when useful; ok krw@Miod Vallat
2010-11-10The acpibat(4) notify function should not unconditionally call both _BIFMark Kettenis
and _BST. Some machines (like the Toshiba Satellite Pro U550 18F mentioned in PR 6508) have AML that does a Notify(0x81) from the _BST method, which leads to infinite recursion. Instead call _BIF when the argument is 0x81 and call _BST when the argument is 0x80 or 0x00 (the latter indicates we're polling). Simplify the battery detection logic while there. ok mikeb@, marco@
2010-11-10Several updates for the Osprey (AR9380):Damien Bergamini
- Add the different ROM templates for the different chips - Fix AR_PHY_65NM_CH0_TOP_XPABIASLVL definition - Apply attenuation settings from the ROM
2010-11-10Enable low latency interrupt moderation and set the LL intervalClaudio Jeker
to the maximum value to reduce the number of low latency interrupts hitting the card when the ring is getting full. Tested at least by deraadt@ on 99 and myself on 99 and 98 ix(4). OK mikeb@
2010-11-09correct some bit tests spotted by -Wparentheses in newer gcc.Jonathan Gray
ok oga@
2010-11-07fix a test in ar5008_rx_free()Damien Bergamini
2010-11-07regenMark Kettenis
2010-11-07A few more NVIDIA devices found on the latest 13" MacBook Pro (MacBookPro7,1).Mark Kettenis
2010-11-07regenMark Kettenis
2010-11-07NVIDIA GeForce 320M as found on the latest 13" MacBook Pro (MacBookPro7,1).Mark Kettenis
2010-11-06Move raid1 and crypto io to a workq. This is to avoid a potential VOP_Marco Peereboom
call while in interrupt context. Contains an additional spl dance as found by thib. Tested by many opn various arches. Note that raid 0/4/5/6 have not been moved over yet.
2010-11-06Revision 0xc4 and earlier of the Acer Labs M5229 UDMA IDE controller can't doMark Kettenis
DMA for LBA48 commands. Work around this issue by (silently) falling back to PIO for LBA48 commands. Access to the tail end of large disks will be much slower, but at least it works. From NetBSD (Takeshi Nakayama). ok jsg@, krw@, deraadt@
2010-11-06If the dma_init callback function returns with EINVAL, fall back to PIO.Mark Kettenis
This will be used to work around bugs in certain pciide(4) controllers. From NetBSD. ok jsg@, krw@, deraadt@
2010-11-06syncTheo de Raadt
2010-11-06another planex deviceTheo de Raadt
2010-11-06print the MAC address on the second line like with the other USBDamien Bergamini
802.11 drivers.
2010-11-06syncTheo de Raadt
2010-11-06Planex GW-USNanoTheo de Raadt
2010-11-06support the logic rt3020 that mtu@ foundTheo de Raadt
2010-11-06syncTheo de Raadt
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