summaryrefslogtreecommitdiff
path: root/sys/dev/ic/qla.c
AgeCommit message (Expand)Author
2017-06-05use byte swapping loads and stores.David Gwynne
2017-01-24Use header <sys/atomic.h> rather than <machine/atomic.h> in MI code.Visa Hankala
2016-05-10make qla_iocb_seg structs 4 byte aligned and use htolem32 to set it.David Gwynne
2015-09-07sizes for free(); ok jmatthewTheo de Raadt
2015-08-28fairly simple sizes for free(); ok teduTheo de Raadt
2015-06-19remove isp(4) now that the ql* family have replaced itJonathan Matthew
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-09turn off QLA_DEBUG noise, requested by deraadt@Jonathan Matthew
2015-02-09we want to defer work traditionally (in openbsd) handled in anDavid Gwynne
2015-01-27remove the second void * argument on tasks.David Gwynne
2014-12-19another handful of bcopy -> memcpy because there is no overlapTheo de Raadt
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-09-13Replace all queue *_END macro calls except CIRCLEQ_END with NULL.Doug Hogan
2014-07-13Some reallocarray() use; review Jean-Philippe Ouellet, patrick keshishianTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-21We only have one possible location to use for a logged in port, so only setJonathan Matthew
2014-05-17When the firmware tells us a loop id is already in use, add the deviceJonathan Matthew
2014-04-27transplant hotplug code over from qle(4)Jonathan Matthew
2014-04-21In qla_get_port_name_list, handle malloc failure, skip special fabric ports,Jonathan Matthew
2014-04-14Always copy out all mailbox registers and use msleep in a loop to ensure thatJonathan Matthew
2014-04-13In debug output, print loop ids as decimals and port ids as 24bit hex.Jonathan Matthew
2014-04-07When iterating through fabric ports, start at our own port ID. It doesn'tJonathan Matthew
2014-04-07ISP2322 chips need a different firmware image to other 2300s, so until weJonathan Matthew
2014-04-05set adapter buswidth according to the number of loop ids supported by theJonathan Matthew
2014-04-04Rework the command polling loop so it can handle multiple responses in a singleJonathan Matthew
2014-03-31Rather than scanning local loop ids sequentially, just ask the chip whichJonathan Matthew
2014-02-23when built without firmware, check that the chip already has firmwareJonathan Matthew
2014-02-22refactor firmware loading with a function pointerTheo de Raadt
2014-02-20More turd shining; cleanup the message that prints the firmware revision andMark Kettenis
2014-02-20Avoid printing the "nvram corrupt" message for onboard 2200s found on SunMark Kettenis
2014-02-20jsg@ pointed out i am bad at loops.David Gwynne
2014-02-20knfDavid Gwynne
2014-02-20pull the isr reads out into per chip variants we get to via pointersDavid Gwynne
2014-02-19tweak the response queue handling so it looks like qle. the importantDavid Gwynne
2014-02-19remove some dead code - all the chips we handle can do type 4 commands,Jonathan Matthew
2014-02-18convert printfs into a few different debug categories, leaving portJonathan Matthew
2014-02-11fix endianness of fc4 type registration (again), and don't bother printingJonathan Matthew
2014-02-10Build isp2xxx firmware into separate object files so we only includeJonathan Matthew
2014-02-06Almost-working QLA2100 support. This appears to be the best I can do forJonathan Matthew
2014-02-05Avoid calling delay(9) between checking and clearing the interrupt status bits.Mark Kettenis
2014-02-05Punt on handling responses if we haven't allocated the response queue yet.Mark Kettenis
2014-02-03use the same option as isp(4) to build without firmware.Jonathan Matthew
2014-02-02carve up qla_attach() into bits we can use to process loop and fabric changesJonathan Matthew
2014-02-02Rearrange interrupt register processing for 2200s. The mailbox semaphoreJonathan Matthew
2014-02-01On sparc64, use the WWNs from Open Firmware, as the onboard ISP2200 that canMark Kettenis
2014-01-30the option bit for controlling fast posting is in icb_fw_options, notJonathan Matthew
2014-01-30don't do a register test mailbox command before resetting the chip.Jonathan Matthew
2014-01-30Set port and node WWN in scsi_link structure when we successfully probe aMark Kettenis
2014-01-22fix endianness for FC4 type registrationJonathan Matthew
2014-01-21add a missing printf argumentJonathan Gray