summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2006-06-14no more infinite loops; tested by dlgTheo de Raadt
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-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-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-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-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-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-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-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-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-05start to sync some changes and fixes from various "openhal" ports ofReyk Floeter
this driver. thanks for contribution (even if i didn't get much feedback from these projects...). tested by many during c2k6, like aanriot@ and ian@
2006-06-03make detachable, inspired by netbsdMartin Reindl
2006-06-02ditch unused struct isadev and in turn the isavar.h includeMartin Reindl
2006-06-02add powerhooks for ral(4) cards with the RT2560 chipset;Robert Nagy
ok damien@
2006-06-01leave the reply_dva address alone so we can post it back to the ioc ratherDavid Gwynne
than posting back the offset of the reply frame to the start of the reply space. nobody likes panics, even if theyre free.
2006-06-01fix some macrosDavid Gwynne
2006-06-01Make the debug printfs work if RAL_DEBUG is defined.Robert Nagy
2006-06-01Add powerhooks for ral(4) cards with RT2561 chipset, and also fixRobert Nagy
builds with RAL_DEBUG, so we have debug information now. ok damien@
2006-06-01oops, i dont know how to count bits. fix the OFFSET bitmasks in the deviceDavid Gwynne
config pages.
2006-06-01add spi device configuration pages 0 and 1David Gwynne
2006-06-01fix the reply handling on crazy machines that give me bits in the high partDavid Gwynne
of the address.
2006-06-0164 bit dva addresses so we can >> 32 later; ok dlgTheo de Raadt
2006-05-31Capture the port_wwn and node_wwn corresponding to a target id everyKenneth R Westerback
time a scsi_request is processed. Crude but effective until a more elegant solution is found. This allows the boot drive to be found on fibre channel booting machines. ok jason@ deraadt@
2006-05-31byteswap the ioc_status field so we can respond to scsi things properly onDavid Gwynne
bigendian archs. this lets ses attach now.
2006-05-31remove the fetching of the manufacturing page. it was just there to see ifDavid Gwynne
i got the page fetching right, its not really useful for anything in the real world.
2006-05-31mpi hardware uses an 8 bit field to describe the number of devices it hasDavid Gwynne
on a port. since 256 wont fit into 8 bits they say 0 means 256. this diff does the appropriate interpretation. it also avoids a divide by zero when we figure the openings out by dividing the number of commands the controller can support by the number of devices it supports. panic found while testing the fc controller at home.
2006-05-31dont display the first manufacturing pageDavid Gwynne
2006-05-31c++ style comments shouldnt be in the treeDavid Gwynne
2006-05-31int32 i >> 32 is undefined, so cast to unsigned long long first, ok dlgTheo de Raadt
2006-05-31implement chained scatter gather lists.David Gwynne
2006-05-30removes the isavar.h include and the ifdef bsdi cruftFelix Kronlage
ok miod
2006-05-30remove dev/isa/isavar.h include, not needed anymoreFelix Kronlage
ok miod
2006-05-30raise the timeout on the init commands (especially port enable) to giveDavid Gwynne
the sas controller currently being used in jasons blade 2000 a chance to respond.
2006-05-30hush; ok dlgJason Wright
2006-05-29increase the timeout on the enabling commands during attach so that sasDavid Gwynne
controllers have a chance to respond.