summaryrefslogtreecommitdiff
path: root/sys/dev
AgeCommit message (Collapse)Author
2006-06-14Allow changes to a Name initialized with a 'static' value.Can Erkin Acar
Problem report (PR5149), and debugging by jj.roh at thurnherr dot ch ok marco@
2006-06-14remove redundant commented debug defineFelix Kronlage
2006-06-14oops, i forgot that you need to return a high number from match to win.David Gwynne
remove a useless define while there.
2006-06-14no more infinite loops; tested by dlgTheo de Raadt
2006-06-14allow mpi to attach to parallel scsi controllers instead of mpt.David Gwynne
requested by deraadt@
2006-06-14support the iic busses on the ultrasparc III machines (something is stillTheo de Raadt
wrong, likely clocking); tested to not break older machines by dlg & djm
2006-06-13we sometimes bundle chunks that the ioc will write to in the request spaceDavid Gwynne
as well as the request itself, so we need to sync the memory in both directions for dma.
2006-06-13rev 1.13 fixed the MTU ioctl handler to allow adjusting the MTUBrad Smith
but it seems Jumbo support is broken, so disable Jumbos for now. issue reported by jolan@
2006-06-12i stashed the dva and kva of each request space in its ccb, so why am iDavid Gwynne
recalculating them whenever i want to use them? shorten code a bit by using the stored values.
2006-06-12fix sgl loading. there were a few issues, the main ones being:David Gwynne
- when the sgl grew too large it became bigger than the maximum frame size that the ioc would deal with, and then it would just stop doing io. i was using the wrong field from iocfacts to figure out how large an sgl should be. - chained sgls were broken cos i was including the current chain element in the calculation of the offset to the next chain element. big ok from marco@
2006-06-12reset the reply pointer to NULL every time we get a context reply inDavid Gwynne
mpi_interrupt and mpi_completion. if we got an address reply followed by a context reply we used to pass that same reply to both completion routines.
2006-06-12Typos in comments.Marc Balmer
2006-06-12white space fixesDavid Gwynne
2006-06-12Initial version of dv for scsi. Work based on dlg's code.Marco Peereboom
ok dlg
2006-06-11My spec says that bit 28 is reserved and that 29 is width parameter. Not theMarco Peereboom
other way around.
2006-06-11Get rid of the wdt(4) char device. We have watchdog(4) andMichael Knudsen
watchdogd(4), so there's no point in supporting old, unused, non-generic interfaces. Tested by < jg , rilk - com>. The sensors available on the WDT501 model will be supported later using the sensors framework. ok mickey markus
2006-06-11show the number of DMA segments that were in the packet that just failedBrad Smith
to be mapped in stge_start().
2006-06-11the link state detection code should be checking for revision B2 insteadBrad Smith
of B1 to account for the differences with the revision defines used in OpenBSD's if_bgereg.h vs FreeBSD's.
2006-06-10endiannessDamien Bergamini
2006-06-10- simplify allocation/free/reset of QoS Tx ringsDamien Bergamini
- move default MAC/BBP/RF settings from rt2661.c to rt2661reg.h
2006-06-10- fix checking of WEP flagsDamien Bergamini
- encrypt mgmt frames when they need to (shared authmode) - move default MAC/BBP/RF settings from rt2560.c to rt2560reg.h
2006-06-10- fix checking of WEP flagDamien Bergamini
- move default MAC/BBP/RF settings from if_ral.c to if_ralreg.h
2006-06-10shorten a name for bioctlTheo de Raadt
2006-06-10Make id in mpi_complete an unused value instead of random stack garbage.Marco Peereboom
This was causing the "empty portfacts" issue since the IOC wasn't complete yet with the request however since the id would match the requested id the timeout was a terminal condition.
2006-06-10if we're not reading a page then we're writing a page. stupid braino fromDavid Gwynne
me pointed out by marco.
2006-06-10Redo debug prints to make it less loud and more granular.Marco Peereboom
ok dlg
2006-06-10the rest of the spi-device configuration pagesDavid Gwynne
2006-06-10the rest of the spi-port configuration pages.David Gwynne
2006-06-09fix up the comment.Brad Smith
2006-06-09Simplify ami_disk by chaging some ifs around.Marco Peereboom
2006-06-09Add percentages for BGI and Rebuild. Example:Marco Peereboom
# bioctl -h ami0 Volume Status Size Device ami0 0 Rebuild 1000M sd1 RAID5 8% done
2006-06-09some more fxp revisions.Brad Smith
2006-06-09identify 8139's in C+ mode with RL_8139CPLUS instead of RL_8139; no ↵Brad Smith
functional change.
2006-06-08attempt at correcting the comments to somewhat more proper englishFelix Kronlage
prodded by uwe@
2006-06-08unsigned long long -> u_int64_tDavid Gwynne
2006-06-08Keep track of the average RSSI using an Exponential Moving Average (EMA).Damien Bergamini
Use it to dynamically tune radio receive sensitivity. The idea is simple: - increase sensitivity when the RSSI is bad to optimize throughput on long distance to the AP, and - decrease sensitivity when the RSSI is good to reduce noise level and optimize throughput on short distance to the AP The EMA allows to smooth RSSI variations so we don't end up changing the sensitivity too frequently. We check if it would be worth updating the sensitivity every one second. RSSI thresholds were taken from the Ralink Tech. Linux driver. Also, clean a few things while I'm here: - account for FCS when determining if RTS protection must be used - fix check for whether WEP encryption is needed or not - encrypt mgmt frames if we need to (shared authmode) - cosmetic tweaks
2006-06-08dont panic on empty portfacts or portenable replies. we should probablyDavid Gwynne
retry the init sequence if this happens.
2006-06-08substitute the Cardbus_conf_read/Cardbus_conf_write macros withFelix Kronlage
cardbus_conf_read/cardbus_conf_write. This makes fxp* at cardbus? work (again?) on macppc. tested by various users.
2006-06-08actually enable/disable the Tx BMU descriptor polling, missed in rev 1.107.Brad Smith
ok krw@
2006-06-08do not set the mii_ticks field to zero in the asynchronous autonegotiationBrad Smith
function as this is already done in the MII tick handler just before calling the autonegotiation function. ok krw@
2006-06-07shut up and play the music.Jason Wright
2006-06-07regenBrad Smith
2006-06-07rename the Realtek RT8111B entry to RT8168.Brad Smith
2006-06-06- general cleaning, removing unneeded vars, spelling, etcJason Wright
- set traffic class (in PCI config space) to 0 - clean up the interrupt handler - always read/write the INTCTL register with 4 bytes - before resetting, ensure RUN bit is zero - zero the BDP regs during reset - still has a bunch of hacks in it to get it working, but at least it interrupts correctly on my workstation now.
2006-06-06fix a bad strlcpy, from ben lovettJolan Luff
2006-06-06set the ccb state when it comes off the free list. this isnt used anywhereDavid Gwynne
yet, but i like to be ready when the time comes.
2006-06-06fix a panic string to mention the corrent place its freaking out in.David Gwynne
2006-06-06System build pieces for armish arch.Dale Rahn
2006-06-05Write the words of the mac address in reverse order to fix a MAC problem onDale Rahn
a Realtek 8169 found in a Thecus N2100, tested jsg, ok pval
2006-06-05- discard Rx frames with a bad CRC earlyDamien Bergamini
- don't start AMRR if we have set a fixed rate - fix TSF synchronization - remove a x2 prototype + ;; (pointed out by Jean-Baptiste Campesato)