summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
AgeCommit message (Collapse)Author
2008-03-11Checkpoint of some fairly major isp(4) rototilling.mjacob
Reintroduce more of a 'channel' concept in preparation for NP-IV support. This gets rid of the chanA/chanB concept as the 2400 can have up to 128 virtual channels. Actually, with MID firmware you can also have the 2200 and 2300 support 'channels, but they do it with an FL-Port topology. Because FC cards can now have 'channels', just about every support function for fibre channel had to be redone to have a channel index as well. Rototill isp_ioctl.h for channel stuff as well. Pick up a lot of work about fabric management (hopefully better) and keep work in place that will allow for dynamic attachment/detachment of devices (if I can figure out how to make the midlayer support it). Merge the target code with external trees. Eventually it might even be sorted out on NetBSD. Update some firmware stuff.
2008-03-09Remove files that have no apparent immediate use.mjacob
2007-06-09Added OpenBSD's zyd(4) driver.kiyohara
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-05-24Major update to isp(4) driver to bring it in line with external sources.mjacob
The major changes are: + 4Gb (24XX) card support + Rewritten fabric and loop evaluation code + New f/w sets The 4Gb changes required major rototilling, which caused a rewrite of fabric and loop eval code. The latter can now be set up to tune for dynamic device arrival/departure if the framework is set up for it, or to be firm about waiting for devices. Testing has been principally on amd64, i386 and sparc64 and seems to not have broken things for me.
2006-12-17Add a NetBSD RCS tag.cube
2006-12-17Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.bouyer
Ported from OpenBSD by cube@, with some bus_dma fixes by me. Tested on i386 and amd64.
2006-11-25spell precede; from Zaferchristos
2006-11-16__unused removal on arguments; approved by core.christos
2006-10-31Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.joerg
Special thanks to Sepherosa Ziehau for helping debugging USB issues. Hook up rum(4) for i386 config files.
2006-10-12- sprinkle __unused on function decls.christos
- fix a couple of unused bugs - no more -Wno-unused for i386
2006-06-08Add cleandir and clean fake targets. I should find a better way to do this.rpaulo
2006-06-08Add a fake includes target.rpaulo
2006-06-07Descend into ral.rpaulo
2006-06-07Definitions needed by subsequent Makefiles to install the firmware.rpaulo
2006-06-07Refactor this and use bsd.files.mk instead.rpaulo
2006-06-07Define proginstall (empty) and afterinstall (to install the firmware).rpaulo
2006-06-07License from Ralink.rpaulo
2006-06-04Generated firmware files for Ralink chipsets 2561, 2561s, 2661.rpaulo
2006-06-04Framework to build Ralink wireless cards binary firmwares based onrpaulo
Ralink distributed microcode.h. From OpenBSD.
2006-02-25Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),wiz
forwarded by jmc@openbsd.
2005-12-15TCP Segmentation Offload (TSO) add-on firmware for thejonathan
Broadcom bcm5703/bcm5704, and bcm5705, respectively. Taken verbatim from the Linux-2.6.12.3 tg3 driver, where the firmware is explictly marked as non-GPLed (hex-encoded binary blobs are not in source form, and therefore violate the terms of the GPL), along with the Boradcom non-GPL copyright allowing distribution of this hex-encoded firmware.
2005-12-11merge ktrace-lwp.christos
2005-11-18Regen: save offset at disconnect after a data phase without save data pointer.bouyer
2005-11-18Some drives disconnect after the last data phase without a save data pointerbouyer
message. In such case we would not update resid with the proper value (eventually resid would not be updated at all if there was only one data phase). To fix this, have the script save the offset in the data tables at disconnect time if there was a transfer, and use this to compute the resid if the current offset is 0. Problem reported and patch tested by edwin, Roy Bixler and YAMAMOTO Takashi. Fix kern/31990 by YAMAMOTO Takashi.
2005-06-27u_int8_t -> uint8_tthorpej
2005-05-31remove bogus cast.christos
2005-03-01revert the whitespace kill -- these are binaries.perry
2005-02-27nuke trailing whitespaceperry
2005-02-11White space nit- don't put a space before/after increment/decrementsimonb
operators.
2005-01-24Atmel AT76C50XX firmware files (required by atu(4) USB-wifi adapter)joff
2004-08-01Add binary versions of firmware images, which will be used Soon.mycroft
2004-05-17Regen from esiop.ss 1.18bouyer
2004-05-17Regen from siop.ss 1.18bouyer
2004-05-17when an unexpected disconnect occurs only compute the resid; do thebouyer
real save data pointers when we get the message (or rather, at disconnect time following the message). Factor out code to do this, and to deal with xs->resid, in siop_common.c.
2004-05-17Regen from esiop.ss 1.17.bouyer
2004-05-17Properly compute xs->resid, instead of assuming it'll always be 0 whenbouyer
a command is done.
2004-05-16Make it compile with recent compilers.bouyer
2004-05-02Revert ISP2100 firmware to Qlogic revision 1.19.16 (the version that shippedtls
with NetBSD 1.5). With all newer versions available to us, we have seen some adapters crash -- and fail to respond to reset -- under certain heavy load conditions. This version appears stable under heavy load with the current driver on multiple systems on which we can reproduce the failure with newer versions.
2004-02-24Spell interrupt with two rs. From Peter Postma.wiz
2004-01-21Updated firmware from QLogic via Matt Jacob (from his Jan 14 distribution).briggs
12160 Firmware Version 10.04.41 (10:30 Mar 21, 2003) 2200 Firmware Version 2.02.06 (08:39 Jun 26, 2003) 2300 Firmware Version 3.02.15 (08:26 Jul 21, 2003) Matt's done some testing with it, and I've also tested on a very basic setup with a QLA 2310 and a tower of 4 FC drives. Unfortunately, there doesn't seem to be any change log for the firmware.
2003-12-04netbsd.org -> NetBSD.orgkeihan
This was the last commit of this kind to src/sys, which is now totally "NetBSD.org clean". Thanks for the patiance, and sorry for all the commits.
2003-10-26Use ${HOST_SH} instead of `sh'.lukem
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH; Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-05Remove references to University of California from my copyright notices.bouyer
2003-08-29Apply the following change from 06/28/2003 04:44:10 by gibbs to thethorpej
FreeBSD ahd driver: Use clr instead of an explicit mov from ALLZEROS to clear SCB_FIFO_USE_COUNT. This is just a syntactic change.
2003-08-29Apply the following change from 06/28/2003 04:40:46 made by gibbs to thethorpej
FreeBSD ahd driver: aic79xx.seq: Remove an old comment that no longer applies. Fix a jump in our unexpected non-packetized phase handler to use an explicit lable. The old code had a hardcoded jump offset that was off by one instruction.
2003-08-29Sync perforce IDs. (From FreeBSD)thorpej
2003-08-29Apply the following change from 05/30/2003 02:14:22 made by scottl to thethorpej
FreeBSD ahd driver: Fix a reported case of severe data corruption: aic79xx.h: aic79xx.reg: Return the SCB_TAG field to 16byte alignment. It seems that on some PCI systems, SCBs are not transferred correctly to the controller with the previous placement of the SCB_TAG field. Approved by: re (rwatson)
2003-08-29Add some missing definitions for the LUNLEN register.thorpej
2003-08-29Apply the following change made on 5/26/2003 21:26:51 by gibbs to thethorpej
FreeBSD ahd driver: Correct/Simplify ignore wide residue message handling aic79xx.c: In ahd_handle_ign_wide_residue(): o Use SCB_XFERLEN_ODD SCB field to determine transfer "oddness" rather than the DATA_COUNT_ODD logic. SCB_XFERLEN_ODD is toggled on every ignore wide residue message so that multiple ignore wide residue messages for the same transaction are properly supported. o If the sg list has been exausted, the sequencer doesn't bother to update the residual data count since it is known to be zero. Perform the zeroing manually before calculating the remaining data count. o Use multibyte in/out macros instead of shifting/masking by hand. aic79xx_inline.h: In ahd_setup_scb_common(), setup the SCB_XFERLEN_ODD field. aic79xx.reg: Use the SCB_TASK_ATTRIBUTE field as a bit field in the non-packetized case. We currently only define one bit, SCB_XFERLEN_ODD. Remove the ODD_SEG bit field that was used to carry the odd transfer length information through the SG cache. This is obviated by SCB_XFERLEN_ODD field. Remove the DATA_COUNT_ODD scratch ram byte that was used dynamicaly compute data transfer oddness. This is obviated by SCB_XFERLEN_ODD field. aic79xx.seq: Remove all updates to the DATA_COUNT_ODD scratch ram field. Remove all uses of ODD_SEG. These two save quite a few sequencer instructions. Use SCB_XFERLEN_ODD to validate the end of transfer ignore wide residue message case.
2003-08-29Apply the following change made 5/26/2003 21:18:48 by gibbs to thethorpej
FreeBSD ahd driver: Change hadling of the Rev. A packetized lun output bug to be more efficient by having the sequencer copy the single byte of valid lun data into the long lun field. aic79xx.c: Memset our hardware SCB to 0 so that untouched fields don't confuse diagnostic output. With the old method for handling the Rev A bug, if the long lun field was not 0, this could result in bogus lun information being sent to drives. Use the same SCB transfer size for all chip types now that the long lun is not DMA'ed to the chip. aic79xx.seq: Add code to copy lun information for Rev.A hardware. aic79xx_inline.h: Remove host update of the long_lun field on every packetized command.