Commit Graph

223 Commits

Author SHA1 Message Date
christos
9d61fcf10f replace \xa0 with space from Andy Shevchenko 2008-09-10 19:20:06 +00:00
mjacob
49ad2f42b2 Update 2400 f/w to something more akin to what is current. 2008-05-11 02:04:33 +00:00
ad
b68bfe3ffa A couple of dumb utilities:
array2bin: take array[] from array.h and spit it out as a binary.
bin2blob: take a binary file and output a compressed image as a C array.
2008-05-04 23:50:32 +00:00
martin
ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
mjacob
0e65dd74d1 Checkpoint of some fairly major isp(4) rototilling.
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-11 05:33:30 +00:00
mjacob
9f901b85c3 Remove files that have no apparent immediate use. 2008-03-09 20:08:32 +00:00
kiyohara
bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
mjacob
8e237f7550 Major update to isp(4) driver to bring it in line with external sources.
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.
2007-05-24 22:12:02 +00:00
cube
0786b7cfa3 Add a NetBSD RCS tag. 2006-12-17 23:08:12 +00:00
bouyer
ea4f35dcd0 Add bnx(4), a driver for Broadcom NetXtreme II 10/100/1000 Ethernet device.
Ported from OpenBSD by cube@, with some bus_dma fixes by me.
Tested on i386 and amd64.
2006-12-17 23:02:06 +00:00
christos
c0179c282a spell precede; from Zafer 2006-11-25 16:48:31 +00:00
christos
168cd830d2 __unused removal on arguments; approved by core. 2006-11-16 01:32:37 +00:00
joerg
fc0bc19fc7 Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.
Special thanks to Sepherosa Ziehau for helping debugging USB issues.
Hook up rum(4) for i386 config files.
2006-10-31 22:21:16 +00:00
christos
4d595fd7b1 - sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386
2006-10-12 01:30:41 +00:00
rpaulo
41eefa78ba Add cleandir and clean fake targets. I should find a better way to do this. 2006-06-08 15:22:03 +00:00
rpaulo
e84fae1d86 Add a fake includes target. 2006-06-08 00:21:54 +00:00
rpaulo
943d263332 Descend into ral. 2006-06-07 23:30:17 +00:00
rpaulo
95b0a57069 Definitions needed by subsequent Makefiles to install the firmware. 2006-06-07 19:54:04 +00:00
rpaulo
a484b73c46 Refactor this and use bsd.files.mk instead. 2006-06-07 19:52:49 +00:00
rpaulo
6fe7f65c21 Define proginstall (empty) and afterinstall (to install the firmware). 2006-06-07 19:14:37 +00:00
rpaulo
9a7119856d License from Ralink. 2006-06-07 18:58:27 +00:00
rpaulo
a49baeafe7 Generated firmware files for Ralink chipsets 2561, 2561s, 2661. 2006-06-04 20:32:53 +00:00
rpaulo
e2c5d8e671 Framework to build Ralink wireless cards binary firmwares based on
Ralink distributed microcode.h.

From OpenBSD.
2006-06-04 20:30:17 +00:00
wiz
1ad8067cb3 Fix typos, reported by Alexey Dobriyan ("Gathered from Linux"),
forwarded by jmc@openbsd.
2006-02-25 00:58:34 +00:00
jonathan
ba2e141969 TCP Segmentation Offload (TSO) add-on firmware for the
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-15 17:37:03 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
bouyer
44453e12b8 Regen: save offset at disconnect after a data phase without save data pointer. 2005-11-18 23:11:38 +00:00
bouyer
98fae666e4 Some drives disconnect after the last data phase without a save data pointer
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-11-18 23:10:32 +00:00
thorpej
6ab17a336e u_int8_t -> uint8_t 2005-06-27 03:36:25 +00:00
christos
3e8958bef3 remove bogus cast. 2005-05-31 00:49:12 +00:00
perry
5153a936fe revert the whitespace kill -- these are binaries. 2005-03-01 01:10:43 +00:00
perry
f31bd063e9 nuke trailing whitespace 2005-02-27 00:26:58 +00:00
simonb
3cebd9325e White space nit- don't put a space before/after increment/decrement
operators.
2005-02-11 06:21:21 +00:00
joff
f046ac8874 Atmel AT76C50XX firmware files (required by atu(4) USB-wifi adapter) 2005-01-24 01:00:19 +00:00
mycroft
b4ae48a794 Add binary versions of firmware images, which will be used Soon. 2004-08-01 19:31:46 +00:00
bouyer
1c16a590ec Regen from esiop.ss 1.18 2004-05-17 18:38:22 +00:00
bouyer
e842696ec7 Regen from siop.ss 1.18 2004-05-17 18:38:02 +00:00
bouyer
83478e12f3 when an unexpected disconnect occurs only compute the resid; do the
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-17 18:37:02 +00:00
bouyer
a8b77ccfc4 Regen from esiop.ss 1.17. 2004-05-17 11:11:20 +00:00
bouyer
76fa396c1d Properly compute xs->resid, instead of assuming it'll always be 0 when
a command is done.
2004-05-17 11:10:24 +00:00
bouyer
7ec21dba35 Make it compile with recent compilers. 2004-05-16 22:45:51 +00:00
tls
cd2ebe9f3f Revert ISP2100 firmware to Qlogic revision 1.19.16 (the version that shipped
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-05-02 19:07:04 +00:00
wiz
85746c6759 Spell interrupt with two rs. From Peter Postma. 2004-02-24 15:16:04 +00:00
briggs
e718f8d0be Updated firmware from QLogic via Matt Jacob (from his Jan 14 distribution).
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.
2004-01-21 16:59:45 +00:00
keihan
b8702f530b netbsd.org -> NetBSD.org
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-12-04 13:57:30 +00:00
lukem
f85d2d1c14 Use ${HOST_SH} instead of `sh'.
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-26 07:25:33 +00:00
bouyer
7b066791c8 Remove references to University of California from my copyright notices. 2003-10-05 17:48:49 +00:00
thorpej
ecffeb2eeb Apply the following change from 06/28/2003 04:44:10 by gibbs to the
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-29 03:54:06 +00:00
thorpej
e5d09ce27d Apply the following change from 06/28/2003 04:40:46 made by gibbs to the
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-29 03:51:50 +00:00
thorpej
93cbf1d88e Sync perforce IDs. (From FreeBSD) 2003-08-29 03:45:59 +00:00