summaryrefslogtreecommitdiff
path: root/sys/dev/ic/qla.c
AgeCommit message (Expand)Author
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
2014-01-21Add support for ISP2200 based adapters.Jonathan Matthew
2014-01-21The semaphore register does need to be cleared when clearing interrupts,Jonathan Matthew
2014-01-21Stop using 23xx-specific interrupt status codes everywhere. Instead, classifyJonathan Matthew
2014-01-20With 2K login firmware, the login option bits are in mbox register 10.Jonathan Matthew
2014-01-19Better interrupt handler return values. 1 if the chip said it wanted anJonathan Matthew
2014-01-19Introduce qla(4), a new driver for Qlogic fibre channel HBAs (only ISP23xxJonathan Matthew