Age | Commit message (Collapse) | Author |
|
|
|
connect to any SSID found.
|
|
Replace last ADV/ASC/Adv, etc. uses with ADW/Adw as appropriate.
Delete comments about non-existant structure members,
correct references to existing structure members to use
correct structure names or typedefs.
|
|
|
|
it. They might not turn you down. Spotted by drahn@.
|
|
negotiation results on one line, during boot polling only, in same
format as now used in siop.
Move one check for probe INQUIRY commands to poll loop rather than
checking every good I/O twice.
|
|
negotiation results on one line, during boot polling only, in same
format as now used in siop.
Move checking for probe INQUIRY commands to poll loop rather than
checking every good I/O.
Remove an unwanted debug statement and unneeded (resolved) XXX
comment.
|
|
results on one line, during boot polling only.
Force wide/sync negotiations for all targets during boot.
Delete extraneous name field and associated strings that duplicate
info provided in INQUIRY data.
Actually timeout during polling rather than wait forever for
ITSDONE.
Remove unneeded check for SCSI_POLL before calling scsi_done(). Makes
logic conform to other drivers.
|
|
|
|
|
|
|
|
Written for NetBSD by Manuel Bouyer.
Tested with various cards on i386 and alpha.
Outstanding issue: doesn't work with PowerPC yet.
|
|
isp_iid_set/isp_iid for fibre channel- this is because we now
fake a port database entry for ourselves. Add the additional loop
states between LOOP_PDB_RCVD and LOOP_READY.
Change and comment on a wad of Fibre Channel isp_control functions.
Change and comment on some of the ISPASYNC Fibre Channel events.
Add was_fabric_dev/fabric_dev tags to our local FC database structure
(so we can see rapidly whether something was a fabric device but is
now gone).
Add a tag which says what role this adapter should take. It can take
on the value of None, Target, Initiator or Both. None is useful for
warm failover purposes. Remove the ISP_CFG_NOINIT silliness since
a role of "None" does this.
Add a isp_lastmbxcmd tag to store the opcode for the last mailbox
command used.
|
|
bits defined so we can reset them.
|
|
that really uses this is luxadm(8) under Solaris.
|
|
anymore). Fix mailbox timeouts to correctly print out timing out
command.
|
|
Make sure we note if something is a fabric device.
Use isp_fc_runstate instead of isp_control calls
with ISPCTL_FCLINK_TEST and ISPCTL_PDB_SYNC.
|
|
and depending on role, make sure link is up, scan the fabric (if we're
connected to a fabric), scan the local loop (if appropriate), merge
the results into the local port database then, check once again
to make sure we have f/w at FW_READY state and the the loopstate
is LOOP_READY.
|
|
isp_getmap helper function (for getting Loop Position map). Make
sure we (for our own benefit) mark req_state_flags with RQSF_GOT_SENSE
for Fibre Channel if we got sense data- the !*$)!*$)~*$)*$ Qlogic
f/w doesn't do so. Add ISPCTL_SCAN_FABRIC, ISPCTL_SCAN_LOOP, ISPCTL_SEND_LIP,
and ISPCTL_GET_POSMAP isp_control functions. Correctly send async notifications
upstream for changes in the name server, changes in the port database, and
f/w crashes. Correctly set topology when we get a ASYNC_PTPMODE event.
Quite massively redo how we handle Loop events- we've now added several
intermediate states between LOOP_PDB_RCVD and LOOP_READY. This allows us
a lot finer control about how we scan fabric, whether we go further
than scanning fabric, how we look at the local loop, and whether we
merge entries at the level or not. This is the next to last step for
moving managing loop state out of the core module entirely (whereupon
loop && fabric events will simply freeze the command queue and a thread
will run to figure out what's changed and *it* will re-enable the queu).
This fine amount of control also gets us closer to having an external
policy engine decide which fabric devices we really want to log into.
When resetting the Qlogic 2X00 units, reset the FPM (Fibre Protocol
Module) and FBM (Fibre Buffer Modules). Also remember to clear the
semaphore registers. Tell the RISC processor to not halt on FPM
parity errors.
Throw out the ISP_CFG_NOINIT silliness and instead go to the use of
adapter 'roles' to see whether one completes initialization or not
(mostly for Fibre Channel). The ultimate intent, btw, of all of this
is to have a warm standby adapter for failover reasons. Because
we do roles now, setting of Target Capable Class 3 service parameters
in the ICB for the 2x00 cards reflects from role. Also, in isp_start,
if we're not supporting an initiator role, we bounce outgoing commands
with a Selection Timeout error. Also clean out the TOGGLE_TMODE
goop for FC- there is no toggling of target mode like there is
for parallel SCSI cards.
Do more cleanup with respect to using target ids 0..125 in F-port
topologies. Also keep track of things which *were* fabric devices
so that when you rescan the fabric you can notify the outer layers
when fabric devices go away.
Only force a LOGOUT for fabric devices if they're still logged in
(i.e., you cat their Port Database entry. Clean up the Get All Next
scanning.
Finally, use a new tag in the softc to store the opcode for the
last mailbox command used so we can report which opcode timed
out.
|
|
|
|
- Bugfix: 'reg' variable in dc_apply_fixup() needs to be u_int32_t.
- Bugfix: bzero() mediainfo structures after allocation.
- Call dc_apply_fixup() in dc_setcfg() for the MII case.
- Conditionalize some code in miibus_{read,write}reg to make non-mx98713
cards happy.
|
|
These changes should make the driver work with the built-in Ethernet on the
Alpha Miata machines. From FreeBSD.
To make sure I didn't break anything (and as a general test), I tested the
modified driver with the following dc(4) variants: Macronix PMAC 98715,
Lite-On PNIC, Lite-On PNIC-II, ADMtek AL981, and ADMtek AN983.
|
|
|
|
the screen was only restored if a new character was actually displayed on the
screen); jcs@rt.fm. This brings us closer to the behavior of PCVT. Also, while
I'm here, add some #ifdef so wskbd does not depend on wsdisplay (pointed out
to me by fgsch@).
|
|
a little bit sooner than in a few months; 10x brad@
|
|
|
|
|
|
|
|
driver adjusts itself to compensate anyway; jason@ ok.
|
|
|
|
|
|
Removed hardcoded WDCDEBUG definitions.
|
|
devices. Print after attach in wdc_isa, wdc_isapnp, wdc_pcmcia.
pciide_print_modes rewritten to use wdc_print_current_modes.
Disable wdc_print_caps since it's not as useful.
Inspired by NetBSD. Thanks to Dale and Theo for pointing out this improvement.
|
|
|
|
Tested by various, vetted by mickey & theo.
|
|
the interrupt. Fixes hangs seen with CompactFlash cards in CardBus slots.
Thanks to csapuntz@ for some pointers. Note: this was NetBSD PR/8639.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the async code event changes. Note (for __GNUC__) that isp_prt has
__attributes__'s of __format__/__printf__....
|
|
entries). Add some defines for the SNS "Register FC4 Type" subcommand.
|
|
|
|
|
|
wwn handling. Do a Register FC4 Type (so that we can work with McData
switches). Allow F-port topologies to use the target range 0..125 for
logging in fabric devices. We changed ISPASYNC_PDB_CHANGED to
ISPASYNC_LOGGED_INOUT and now use ISPASYNC_CHANGE_NOTIFY for both
loop && fabric events.
|