summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-02-13remove a file that should have been gone long ago.Eric Jackson
moved to dev/pci/tgareg.h
2001-02-13Compile state top in, thus allowing -t; kjell@ ok.Federico G. Schwindt
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-12Sync up with other platforms - use a common string to complain aboutmjacob
lack of parameter memory. Set logging defaults sanely. Set default node && port WWNs separate from other platforms. Make sure we set up HBA role correctly.
2001-02-12missing memset; from solar@openwall.comMarkus Friedl
2001-02-12set default adapter role, propage config flagsmjacob
2001-02-12update to latest firmware levelsmjacob
2001-02-12deal with EAGAIN/EINTR selects which were skippedTheo de Raadt
2001-02-12goto-line 0 should go to the beginning of the file, not the end;Todd C. Miller
smart@monkey.org
2001-02-12Temporarily disable dlopen() support, some issues with latest OpenSSL update.Hakan Olsson
2001-02-12lumask now works with 1 numeric arg; ok markus@, djm@Kevin Steves
2001-02-12Define MAX_UNAME in terms of _PW_NAME_LEN. Potential problem found byTodd C. Miller
achter05@IE.HVA.NL
2001-02-12PermitRootLogin={yes,without-password,forced-commands-only,no}Markus Friedl
(before this change, root could login even if PermitRootLogin==no)
2001-02-12capitalizationAaron Campbell
2001-02-12skip empty lines in rulefile. ok jason@Jakob Schlyter
2001-02-12don't use long usernames by default; ok deraadt@Dan Harnett
2001-02-12Remove debuging printf left by accident.Artur Grabowski
2001-02-12fix xmalloc(0), ok dugsong@Markus Friedl
2001-02-12Remove duplicate definition of badaddr.Artur Grabowski
2001-02-12fix http handling; reported as busted by don@research-cistw.saic.comTheo de Raadt
2001-02-12correct listener side example. from deraadtJun-ichiro itojun Hagino
2001-02-12correct buginstat(), statclock now working for '188, systat vmstat now works,Steve Murphree
serial driver for '188 working better.
2001-02-12er... ffs, not ufs; canacar@eee.metu.edu.trTheo de Raadt
2001-02-12Check if softdep is enabled for this fs before calling softdep'sFederico G. Schwindt
fsync; art@ ok.
2001-02-12putting #error into an include file is totally wrongTheo de Raadt
2001-02-12One more step to UVM. It is necessary to map the I/O buffers, using uvm or vm.Dale Rahn
These changes taken from alpha/i386 combination.
2001-02-12s/ttyE/ttyC/g; OK'd by arron@Todd C. Miller
2001-02-12delete pcvt stuffTheo de Raadt
2001-02-12at minimum this should be indented right, although I still think it is ↵Theo de Raadt
utterly wrong
2001-02-11$OpenBSD$Federico G. Schwindt
2001-02-11Define _FFR_WORKAROUND_BROKEN_NAMESERVERS to work around brokenTodd C. Miller
name servers that return SERV_FAIL for AAAA records; fgsch@openbsd.org
2001-02-11Some cleanup.Aaron Campbell
2001-02-11Allow up to 12 virtual terminals (CTRL-ALT-F1 through CTRL-ALT-F12). OnlyAaron Campbell
6 are enabled by default. After these changes, to enable more you must change the "option WSDISPLAY_DEFAULTSCREENS" in the kernel config file and edit /etc/ttys to switch the new ones from 'off' to 'on'.
2001-02-11Change MAXSCREEN to 12 so ttyC8-b can be used. Previous behaviorFederico G. Schwindt
only allowed 8 ttys as maximun, despite the WSDISPLAY_DEFAULTSCREENS value. ttyCa-b can't be accessed now but a fix is on the way; aaron@ ok.
2001-02-11If IPSEC is defined but not CRYPTO, spit an error; angelos@ okFederico G. Schwindt
2001-02-11typos and small cleanup; ok deraadt@Kevin Steves
2001-02-11Previously, when sendsig() set up the current process's context to runBrandon Creighton
sigcode to call a handler, SP was set in the middle of the struct trapframe/struct sigcontext pair placed on the stack. This was adequate when only one signal is being delivered at a time, but when two signals are delivered in one syscall, the second invocation of sendsig() overwrote some of the first sendsig() invocation's stack data. The result was that under certain circumstances, (e.g., sending signals to backgrounded processes from ksh) the argument passed to signal handlers when the second signal (the one corresponding to the first sendsig() invocation) was delivered was bogus data from the stack. Therefore, programs that depended on the "sigraised" argument to be accurate blew up. This fix ensures that sendsig() always leaves a process's SP out of the way of structures that will be used. AP is not moved, though, so sigreturn can find the args correctly. Also, sigcode is changed to compensate for the SP change.
2001-02-111) clean up the MAC support for SSH-2Markus Friedl
2) allow you to specify the MAC with 'ssh -m' 3) or the 'MACs' keyword in ssh(d)_config 4) add hmac-{md5,sha1}-96 ok stevesk@, provos@
2001-02-11Pick up a NetBSD hack to attach Cheetah to vsbus as well as ibus.Hugh Graham
High kludge factor, but the payoff is vsbus scsi for free. Most of the work is by Michael Kukat and ragge, with a few other synchronisations thrown in.
2001-02-11Disable bogus check for whether a file in the current directory (only!)Thorsten Lockert
were checked out of a different CVSROOT -- makes it very hard to have replicated repositories.
2001-02-11Document the fact that the wrong thing is likely to happen in many casesThorsten Lockert
here, if something is checked out from a (read-only?) replica of a repos, and then checked in to the master, files will be skipped. This needs to be resolved, somehow.
2001-02-10Add missing line continuation character. Fixes sparc and powerpc builds.Todd C. Miller
2001-02-10Make sure $RSH is not the empty string.Todd C. Miller
2001-02-10Don't make the string table pointers into absolute addresses sinceTodd C. Miller
ddb will do that for us on the fly. Also check some return values to catch short reads. OK'd by niklas@