History log of /openbsd-current/sys/dev/ic/qlareg.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_2_BASE
# 1.9 05-Jun-2017 dlg

use byte swapping loads and stores.

shrinks the code a bit on sparc64.

ok jmatthew@


Revision tags: OPENBSD_6_0_BASE OPENBSD_6_1_BASE
# 1.8 10-May-2016 dlg

make qla_iocb_seg structs 4 byte aligned and use htolem32 to set it.

shaves ~256 bytes off of qla_put_data_seg on sparc64

ok kettenis@ jmatthew@


Revision tags: OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE
# 1.7 14-Apr-2014 jmatthew

Always copy out all mailbox registers and use msleep in a loop to ensure that
post-attach mailbox operations work reliably.


# 1.6 05-Apr-2014 jmatthew

set adapter buswidth according to the number of loop ids supported by the
firmware (2048 for 2k login firmware, 256 otherwise)

pointed out by deraadt@, ok dlg@


# 1.5 31-Mar-2014 jmatthew

Rather than scanning local loop ids sequentially, just ask the chip which
local devices it has logged in to. This will also be useful for hotplug
later on.


Revision tags: OPENBSD_5_5_BASE
# 1.4 06-Feb-2014 jmatthew

missing define for qla2100 support


# 1.3 21-Jan-2014 jmatthew

Add support for ISP2200 based adapters.

This involves a bit of a hack in the interrupt processing path, where we
ignore the interrupt status if we're expecting a mailbox command to complete,
but we don't have the mailbox semaphore and the response ring hasn't moved.
Typically next time through, the interrupt status is the same and we have the
semaphore so we can read the results.


# 1.2 21-Jan-2014 jmatthew

Stop using 23xx-specific interrupt status codes everywhere. Instead, classify
into one of 4 types in qla_read_isr.


# 1.1 19-Jan-2014 jmatthew

Introduce qla(4), a new driver for Qlogic fibre channel HBAs (only ISP23xx
so far). Works reasonably well now, so it's going in the tree so others can
try it out.

with some help and fixes from dlg@, general encouragement from basically
everyone