summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2001-02-14Add pcscp(4) and change -width to 10n per aaron@ suggest.Federico G. Schwindt
2001-02-14Support for AMD Am53c974 PCscsi-PCI SCSI controllers.Federico G. Schwindt
2001-02-14Add pcscp support.Federico G. Schwindt
2001-02-14sigh. add $OpenBSD$.Federico G. Schwindt
2001-02-14Support for AMD Am53c974 SCSI controllers; from NetBSD.Federico G. Schwindt
Thanks to Quentin Barnes <qbarnes@urbana.css.mot.com> for his help.
2001-02-14fat utmp; ianm@cit.uws.edu.auTheo de Raadt
2001-02-13Don't even look at af_family if accept() returns sa->sa_len == 0brian
2001-02-13setproctitle(user) only if getpwnam succeedsMarkus Friedl
2001-02-13clear select masks on EINTR, noticed by itojun@Markus Friedl
2001-02-13grr, pcvt ioctl support still requiredTheo de Raadt
2001-02-13More sane spl handling. Don't just assume that we're called at spl0.Artur Grabowski
2001-02-13No need to cast splx to (void).Artur Grabowski
2001-02-13Fix authorizer removal problem.Angelos D. Keromytis
2001-02-13Use MIN, not min when counting the pages we steal.Artur Grabowski
min is a function taking u_int arguments and we are counting signed longs here.
2001-02-13When detaching an interface set the if_start, if_ioctl and if_watchdogArtur Grabowski
functions to 'nops'. Some protocols might want to output some packets while detaching and that could be a bad idea when the interface has gone away. Do we need to change more functions?
2001-02-13rtc stops if we miss interrupts. Inspired by code from FreeBSD.Hakan Olsson
Some KNF. (niklas@ ok)
2001-02-13Bump maxusers to 32.Artur Grabowski
2001-02-13Cleanup.Artur Grabowski
2001-02-13Avoid theoretical potential buffer overflowPaul Janzen
2001-02-13default more wscons optionsTheo de Raadt
2001-02-13_PW_NAME_LEN doesn't include the NUL, MAXLOGNAME does.Paul Janzen
2001-02-13KNFTheo de Raadt
2001-02-13make the wscons device nodes, wscons0 did not exist.Dale Rahn
2001-02-13Try to keep formatting pretty for long usernamesPaul Janzen
2001-02-13Quiet alpha warnings, principally with correct includesPaul Janzen
2001-02-13No need to know anything about ospeed.Paul Janzen
2001-02-13rely on constants; ianm@cit.uws.edu.auTheo de Raadt
2001-02-13fat utmp fix; ianm@cit.uws.edu.auTheo de Raadt
2001-02-13chare -> charge; Matt Bing <matt@anzen.com>Marco S Hyman
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