summaryrefslogtreecommitdiff
path: root/sys/dev/ic
AgeCommit message (Collapse)Author
2001-02-26Allow configuration of WEP. From FreeBSD; ok aaron@Thorsten Lockert
2001-02-26Change default SSID from "ANY" to blank -- this will actually make itThorsten Lockert
connect to any SSID found.
2001-02-22Typo police:Kenneth R Westerback
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.
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2001-02-20If you can't do wide xfers, don't tempt the targets by offeringKenneth R Westerback
it. They might not turn you down. Spotted by drahn@.
2001-02-20Tone down the verbosity level slightly on the adw driver, printKenneth R Westerback
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.
2001-02-20Tone down the verbosity level slightly on the iha driver, printKenneth R Westerback
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.
2001-02-20Tone down the verbosity level on the siop driver, print negotiationKenneth R Westerback
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.
2001-02-19proper dmaable memory allocations; oopsMichael Shalayeff
2001-02-19propoer dmaable memory allocationsMichael Shalayeff
2001-02-16sti_mmap() proper return typeMichael Shalayeff
2001-02-15Import siop, a replacement for the ncr SCSI driver, from NetBSD.Kenneth R Westerback
Written for NetBSD by Manuel Bouyer. Tested with various cards on i386 and alpha. Outstanding issue: doesn't work with PowerPC yet.
2001-02-12Eliminate ISP2100_FABRIC- we always allow for fabric now. Add anmjacob
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.
2001-02-12Put in offset definitions for FPM and FBM registers, plus just enoughmjacob
bits defined so we can reset them.
2001-02-12Add structure defining FC-AL position maps. The only tool that I know ofmjacob
that really uses this is luxadm(8) under Solaris.
2001-02-12Roll platform minor. Remove ISP2100_FABRIC defines (we don't caremjacob
anymore). Fix mailbox timeouts to correctly print out timing out command.
2001-02-12Change ISPASYNC_LOGGED_INOUT to ISPASYNC_PROMENADE.mjacob
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.
2001-02-12Add isp_fc_runstate function- this function's purpose is to, in stages,mjacob
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.
2001-02-12Remove ISP2100_FABRIC defines- we always handle fabric now. Insertmjacob
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.
2001-02-09Bad aaron. Broke alpha.Artur Grabowski
2001-02-09Sync with FreeBSD:Aaron Campbell
- 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.
2001-02-09Add support for parsing the media blocks from the SROM on the 21143 adapters.Aaron Campbell
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.
2001-02-08Use <scsi/scsi_message.h> defines rather than homegrown ones.Kenneth R Westerback
2001-02-08Cause keypresses to reset the screen in case we are in scrollback (previouslyAaron Campbell
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@).
2001-02-07ok, commit this since it most likely to work; i guess now it will get tested ↵Michael Shalayeff
a little bit sooner than in a few months; 10x brad@
2001-02-03new timeoutsMichael Shalayeff
2001-02-03new timeoutsMichael Shalayeff
2001-02-02$OpenBSD$Aaron Campbell
2001-02-02No need for xl(4) to report tx underruns, they are much too common, and theAaron Campbell
driver adjusts itself to compensate anyway; jason@ ok.
2001-01-31OpenBSD does have paddr_t, I can't explain why I thought it didn't; art@Aaron Campbell
2001-01-31Some int -> u_long (I incorrectly converted paddr_t to int when porting this).Aaron Campbell
2001-01-29Fix bug where timeouts triggered too early, caused panic on ATAPI tapes.Niklas Hallqvist
Removed hardcoded WDCDEBUG definitions.
2001-01-29Add wdc_print_current_modes to print current transfer modes set on theConstantine Sapuntzakis
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.
2001-01-25spellingTodd T. Fries
2001-01-24KGDB for i386 from NetBSD via niklas, with tweaks and accommodations.Hugh Graham
Tested by various, vetted by mickey & theo.
2001-01-23Restore the WDCF_IRQ_WAIT flag if the lower-level interrupt handler rejectsAaron Campbell
the interrupt. Fixes hangs seen with CompactFlash cards in CardBus slots. Thanks to csapuntz@ for some pointers. Note: this was NetBSD PR/8639.
2001-01-23Add support for Initio INI-91xx SCSI CardsKenneth R Westerback
2001-01-22Initialize xs->stimeout, even when pollingKenneth R Westerback
2001-01-16limit the scsi_link.openings to 128 to be safeMichael Shalayeff
2001-01-15Use xs->stimeout instead of adding a struct timeout to ccbKenneth R Westerback
2001-01-12this is an ugly quick hack, but it works; theo helped (;Michael Shalayeff
2001-01-12add SIOCSIFMTU; angelos@ coachedTodd T. Fries
2001-01-11no stidebugMichael Shalayeff
2001-01-11fix a few types and alignment problemsMichael Shalayeff
2001-01-10BSS mode by default.Angelos D. Keromytis
2001-01-09Add in a ISP_CFG_NOINIT flag (other platform stuff). Define some ofmjacob
the async code event changes. Note (for __GNUC__) that isp_prt has __attributes__'s of __format__/__printf__....
2001-01-09Add some FC specific state flag defines (for status completionmjacob
entries). Add some defines for the SNS "Register FC4 Type" subcommand.
2001-01-09Add offsets for WWPN && OXID that FC f/w stuffs into an ATIO2.mjacob
2001-01-09Follow changes to some async event codes.mjacob
2001-01-09Make some strings constant (from Bill Sommerfeld @ NetBSD). Clean up somemjacob
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.