summaryrefslogtreecommitdiff
path: root/sys/dev/pci/qlereg.h
AgeCommit message (Collapse)Author
2014-04-20Update hotplug. Add qle_get_port_name_list, use it to discover localJonathan Matthew
loop ports and other fabric ports that have logged in to us, and check that we're still logged in to other fabric ports. Rearrange the update processing loop so we attach and detach targets last, since we need to get all the way through before we've identified what's gone missing. Handle fabric port login errors a bit more usefully too.
2014-04-18Implement qle_fabric_plogo and let qle_fabric_plogi look at the response thatJonathan Matthew
comes back, so later on we can work out what to do when logins fail
2014-04-17Copy out all mbox registers after a mailbox operation completes.Jonathan Matthew
Simplifies things a bit and makes pre- and post- attach operations work the same.
2014-03-31qle dvas straddle 4 byte boundaries, so best to treat them as twoDavid Gwynne
u_int32_ts rather than u_int64_ts. ok jmatthew@
2014-03-28specify at least the alignment the hardware requires, and in some casesDavid Gwynne
the alignment the driver guarantees. with and ok jmatthew@
2014-03-25rework qle_put_cmd to use hto[lb]emXX as best it can.David Gwynne
ok jmatthew@
2014-03-25use htolem32 to write out qle sg elements, and annotate the structure asDavid Gwynne
being 4 byte aligned. rewrite qle_put_data_seg so it takes an address and length rather than a dma descriptor so it can be used to write sges for arbitrary things rather than just dmamaps. use it to write out all sges. ok jmatthew@
2014-02-23rework firmware handling a bit. when built without firmware, check thatJonathan Matthew
the chip already has firmware before trying to boot it, so we can explain why it's not working rather than printing cryptic errors.
2014-02-12Introduce qle(4), a new driver for QLogic ISP24xx fibre channel HBAs.Jonathan Matthew
While this looks a lot like qla(4), there were a lot of minor changes between the 23xx and 24xx generations that mean that there isn't really all that much shared code.