summaryrefslogtreecommitdiff
path: root/sys/dev/microcode
AgeCommit message (Collapse)Author
2004-06-12Sync with FreeBSD aicasm. No changes to the generated reg.h or seq.hKenneth R Westerback
files used by ahc or ahd result from these changes, so they are not being sync'ed at this time. ok deraadt@
2004-05-19Add missing aic79xx_reg.h file. Update aic79xx* files to latestKenneth R Westerback
FreeBSD versions in preparation for ahd. Update Makefile to generate aic79xx* files. ok marco@, tested by Milos Urbanek.
2004-04-27irregardless -> irrespective;Jason McIntyre
ok millert@ krw@ derision from the rest of the world stolen from a rejected freebsd pr;
2004-03-12RegenMiod Vallat
2004-03-12Preliminary port of NetBSD oosiop driver, for NCR53C700 chips, as commonlyMiod Vallat
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@
2004-02-13Not used in updated ahc.Kenneth R Westerback
2004-02-08Pull in a few recent changes from FreeBSD, plus a couple of localKenneth R Westerback
tweaks. ok deraadt@.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-12-24Sync ahc with NetBSD, which was in turn updated from FreeBSD by PascalKenneth R Westerback
Renauld of Network Storage Solutions, Inc. Many fixes, wider device support. In particular, the notorious 'Target 0' problem seems to be fixed. Does *not* include any updates to isa or eisa code beyond what was necessary to compile. Known issues: 1) Tagged Queuing is probably not optimal. 2) PPR negotiation may not be fully functional. 3) No support yet for freezing devices or channels. 4) The mechanism for preventing 'A' and 'B' channel confusion during probe can fail if scsibus > 254 found. 5) Requeuing I/O's not working. A workaround will be committed almost immediately. At the moment timeouts, SCSI message rejects, aborting SCB's and trying to freeze a device may cause incomplete i/o's to be reported as complete. 6) Verbosity and probe messages need work. 7) Last disk on bus seems to go through an extra re-negotiation. 8) >16 devices on an adapter will trigger the usual problems of total openings exceeding available SCB's under heavy load. Tested by deraadt@, beck@, miod@, naddy@, drahn@, marc@ amoung others. ok deraadt@.
2003-10-20check strdup failure; nimadeus@pandora.beTheo de Raadt
2003-08-28Sync ('make microcode') with change to aicasm_symbol.c:Kenneth R Westerback
Fix use of uninitialized variable by porting NetBSD patch to correctly initialize it. Said variable is used as the value of the define DOWNLOAD_CONST_COUNT in the generated file aic7xxxreg.h. This define is currently not used anywhere. Spotted and ok mickey@.
2003-08-28Fix use of uninitialized variable by porting NetBSD patch to correctlyKenneth R Westerback
initialize it. Said variable is used as the value of the define DOWNLOAD_CONST_COUNT in the generated file aic7xxxreg.h. This define is currently not used anywhere. Spotted and ok mickey@.
2003-08-12regenMichael Shalayeff
2003-08-12constify sequencer script; krw@ okMichael Shalayeff
2003-07-01Don't dma map the xs->cmd. Copy it to a safe buffer that is alreadyKenneth R Westerback
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!
2003-06-27Take strlen() of an existing variable. Syntax error introduced in str*Kenneth R Westerback
cleanup. Can once again compile ncr53cxxx.c and use it to generate microcode.
2003-06-26constify readonly dataMichael Shalayeff
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-02-28Update firmware to latest levels- fixes several nasty bugs on the 2300 at least.mjacob
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-01-08Merry Christmas Mickey!Kenneth R Westerback
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@
2002-11-19Use queue.h macros instead of using the structure names directly.Jason Wright
2002-09-16Resync siop with NetBSD. Make strong effort to minimizeKenneth R Westerback
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@.
2002-07-11add rcsid to firmware, and remove defn for tc990_IMAGE_SIZE, its ugly.Jason Wright
(shoulda caught this before like I caught const'fying it, oh well)
2002-07-11New version of the firmware from 3Com. Many, many thanks to David DillowJason Wright
for fighting with 3com to make this happen!
2002-07-05attempt to make ahc smaller. change PCI interrupt handler.Steve Murphree
2002-06-30New aicasm synced with FreeBSD.Steve Murphree
2002-06-28actually, new new ahc uses these after allTodd C. Miller
2002-06-28not used by new ahc driverTodd C. Miller
2002-06-28Return of new ahcSteve Murphree
2002-05-17Update to latest released 2300/2312 f/w.mjacob
2002-05-01make fw images const and fix ti for unneeded type casts; jason@ testing ans okMichael Shalayeff
2002-04-08Allegro-1 and Maestro 3 driver ported from netbsdMike Frantzen
ok deraadt@
2002-03-19remove __PTodd C. Miller
2002-03-19revert to older ahc driver until the new one's bugs are fixedTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-16change to reflect the removal of sequencer.hSteve Murphree
2002-02-16New port of FreeBSD's ahc driverSteve Murphree
2002-01-23we dont have getprogname()Eric Jackson
2001-12-17move more microcode, so that it does not end up in /usr/includeTheo de Raadt
2001-12-14Roll f/w to latest && greatest for 2100 and 2200 cards.mjacob
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-10-24update firmwaremjacob
2001-09-01Catch up with mainline of code development.mjacob
Add support for 2 Gigabit cards (2300/2312). This necessitated a change in how interrupts are down- the 23XX has not only a different place to check for an interrupt, but unlike all other QLogic cards, you have to read the status as a 32 bit word- not 16 bit words. Rather than have device specific functions as called from the core module (in isp_intr), it makes more sense to have the platform/bus modules do the gruntwork of splitting out the isr, semaphore register and the first outgoing mailbox register (if needed) *prior* to calling isp_intr (if calling isp_intr is necessary at all). Rearchitect how regular SCSI parameters are stored or used.
2001-07-02Put the ISES firmware under dev/microcode/.Hakan Olsson
2001-06-21Add support for the Cyclades-Z multiport serial cards.Nathan Binkert
This has not been thoroughly tested yet, so it's not going into GENERIC now. From NetBSD.
2001-06-18more more microcode (so it does not end up installed in includes, for one)Theo de Raadt
2001-06-18move microcodeTheo de Raadt