summaryrefslogtreecommitdiffstats
path: root/sys/dev/microcode/siop (follow)
Commit message (Collapse)AuthorAgeFilesLines
* acknowlege -> acknowledgemartynas2013-01-061-2/+2
| | | | | | compatability -> compatibility OK jmc@.
* Manuel Bouyer rescinded clauses 3 and 4 of his license text.jsg2010-07-231-6/+1
|
* scsi_generic is now 16 bytes. Adjust offsets into structure beingkrw2007-04-132-25/+25
| | | | | passed to controller so they point where expected. Fixes martin@'s alpha and sparc machines.
* Allow usb microcode to be built in a cross environment. System endian has beendrahn2007-04-051-1/+2
| | | | | factored out of the result binaries already. Still need to address non usb. ok deraadt.
* Un-revert backout to 20051009 and add patches from Martin Bouyer tokrw2005-11-201-88/+91
| | | | | | | | | close NetBSD PR#31990. Fixes interaction with some problematic drives found by miod@, martin@, otto@. Tested martin@ otto@ miod@ ok miod@ mickey@
* Add patch from Martin Bouyer to fix NetBSD PR #31990. Will generatekrw2005-11-201-4/+8
| | | | | microcode that (in concert with fixes to ic/siop*) fixes problems found by miod@, martin@, otto@, on some drives.
* Add handling for IGNORE WIDE RESIDUE messages. Actually calculatekrw2005-10-101-89/+87
| | | | | | | | | resid instead of assuming it is always 0. From bouyer via NetBSD. Note we are now sync'd with the latest (1.78 siop.c, 1.37 siop_common.c) NetBSD code. Tested by various people over the last year+. Didn't solve any of their problems but didn't cause any regression either.
* Script fix for resid calculation/save data pointer function.krw2005-10-101-5/+3
| | | | | | Preparation for larger diff for IGNORE WIDE RESIDUE messages and real resid calculation. From bouyer via NetBSD. Note we are now sync'd to latest (r1.19) code from NetBSD.
* More trailing whitespace removal (perry via NetBSD).krw2005-10-081-6/+6
|
* Sync with r1.7 of ncr53cxxx.c. Changes to comments only.krw2005-10-083-6/+6
|
* Some whitespace/syntax tweaks from bouyer & simonb via NetBSD. Alsokrw2005-10-081-20/+17
| | | | | | | 'Tweak siop scripts assembler for new oosiop.' from tsutsui via NetBSD. Syncs up to latest (r1.14) in NetBSD. No changes to generated .out files.
* add some missing $, ok djm@ 'That looks fine to me' millert@jsg2004-10-011-0/+1
|
* Regenmiod2004-03-123-4/+83
|
* Preliminary port of NetBSD oosiop driver, for NCR53C700 chips, as commonlymiod2004-03-123-6/+165
| | | | | | | | | | encountered on the oldest hppa machines. Currently compiled in, but disabled, in the kernel, until it is stable enough - right now read access are fine, but writes eventually time out and do not complete. ok deraadt@
* Don't dma map the xs->cmd. Copy it to a safe buffer that is alreadykrw2003-07-012-105/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mapped and sync'ed appropriately, and is guaranteed to be in one memory page. Eliminate now unused dmamap_cmd and rs_cmd fields. Fix another error message (adding active command to reset list) so that it includes the adapter name. Add missing letoh32() calls to debug code. The evils of directly mapping *xs->cmd were pointed out by Mickey during osiop development. In particular, *xs->cmd may start on one memory page and run into the next. Since the dma logic in most cards/drivers (including siop) only allocates one address/size pair to map *xs->cmd, parts of a command could be lost or corrupted. The large number of 6 byte dma mappings noted long ago by someone (Henric?). This change reduces the dma mapping activity per i/o by 1/3 to 1/2 and may give a performance boost of some kind. Successfully tested on i386, sparc64 (ultra30 - thanks Jolan, blade100), macppc and alpha. Unfortunately these changes don't fix the Blade1000 siop problems. **NOTE** If scsi_generic is ever upped to 16 bytes the offsets in siop.ss must be updated!
* Take strlen() of an existing variable. Syntax error introduced in str*krw2003-06-271-2/+2
| | | | | cleanup. Can once again compile ncr53cxxx.c and use it to generate microcode.
* strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.ho2003-04-061-13/+22
|
* Merry Christmas Mickey!krw2003-01-083-5/+444
| | | | | | | | | | | | | | | | | | | | | | | | First cut at osiop driver (LSI Logic/Symbios/NCR 53C710). For hppa only at the moment. Functional for the most part, but there are known problems: 1) SCSI_CHECK/REQUEST_SENSE not handled at all - simply returns a zero'ed scsi_sense_data buffer. As a result all osiop sc_link's are created with the ADEV_NODOORLOCK quirk to suppress PREVENT_ALLOW commands from being issued (and failing) during probe. 2) Sync negotiation (wide is not supported on this chip) needs to be validated due to some ominous comments in the source about being valid only for the 33Mhz Zeus board. 3) Probe message needs fixing/completion to issue useful info. See 2). 4) Timeout/hangs occur under heavy load, e.g. make builds. From NetBSD. ok mickey@
* Resync siop with NetBSD. Make strong effort to minimizekrw2002-09-163-333/+542
| | | | | | | | | | | | | | | | | | | | | | | | | differences, undoing whitespace, spelling, etc. changes and adopting the NetBSD code instead of equivalent home grown code for PPR negotiation, etc. siop.c 1.21 -> 1.64 siop_common.c 1.12 -> 1.30 siopreg.h 1.7 -> 1.13 siopvar.h 1.13 -> 1.18 siopvar_common.h 1.10 -> 1.21 ncr53cxxx.c 1.5 -> 1.10 siop.ss 1.12 -> 1.17 siop_pci.c 1.8 -> 1.11 siop_pci_common.c 1.6 -> 1.17 siop_pci_common.h 1.2 -> 1.4 Many fixes, add 1010-66 support, restructure things to prepare for addition of esiop, osiop and oosiop drivers. tested on various archs by art@, millert@, wilfried@, jason@, Dan Weeks. ok deraadt@.
* Support U160 on 53c1010 chips.krw2001-04-152-37/+38
| | | | | | | | | | | | | | Add support for PPR negotiations and DT transfers, and the preservation and restoration of the SCNTL4 register which controls Ultra3 transfers. Redo sync lookup, since the same period factor can mean two things depending on whether you are using DT or ST. Keep a minimum allowed ST period factor, and a minimum allowd DT period factor for each adapter. Currently NO support for QAS or IUS or AIP.
* Typo police: various misspelling, capitalizations, etc.krw2001-03-012-5/+5
|
* Import siop, a replacement for the ncr SCSI driver, from NetBSD.krw2001-02-154-0/+2228
Written for NetBSD by Manuel Bouyer. Tested with various cards on i386 and alpha. Outstanding issue: doesn't work with PowerPC yet.