summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add smc37c935 chipset support and clean up the code which tries todfr2000-07-185-65/+280
| | | | | | | allocate a short port range in some alpha configurations. Submitted by: "Andrew M. Miklic" <miklic@udlkern.fc.hp.com>, Mark Abene <phiber@radicalmedia.com>
* Allow logger to send messages directly to a remote syslog. (Thisdwmalone2000-07-182-8/+72
| | | | | | | | | only does IPv4 as our syslogd only does IPv4. I dunno if the KAME people have any plans for syslogd). PR: 19821 Submitted by: Nick Hilliard <nick@iol.ie> Reviewed by: sheldonh
* Fix an unmatched opening quote.ume2000-07-182-2/+2
| | | | | PR: conf/20000 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Drop the references to index(3) and rindex(3), which are non-standardalex2000-07-189-18/+0
| | | | | | and people shouldn't be encouraged to use them. Asked by: sheldonh
* Clean up this new manual page. This delta includes content andsheldonh2000-07-181-173/+234
| | | | | | | | whitespace changes, which should not be a problem because this is only the second revision of the file and translators are unlikely to have gotten started yet. Reviewed by: abial
* Don't take a failure to stat a file to mean that it doesn't exist, as it maydes2000-07-181-1/+5
| | | | | be a dynamically created file, e.g. a tarball on servers that support sending tarballs of directories.
* Add in some new IN_XXX and CT_XXXX flags in preparationmjacob2000-07-181-0/+6
| | | | | for the rototilling that !*$)~@!$_@*_(~@$*_(~@$*~@$* Qlogic F/W changes will need.
* If debugging set, zero out an incoming response entrymjacob2000-07-181-1/+5
| | | | | | | when we're done reading it (makes checking things easier). Before calling isp_notify_ack make sure we're at RUNSTATE- elsewise we can be responding to LIPs or SCSI bus resets before we've finished some of the wiring.
* The SERVICING_INTERRUPT isn't quite safe yet.mjacob2000-07-181-0/+4
|
* Add a isp_target_putback_atio- we aren't using CCINCR at this time, somjacob2000-07-181-40/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | we need a function that tells the Qlogic f/w that a target mode command is done, so increase the resource count for that lun. Add in a timeout function to kick the putback again if we fail to do it the first time (we may not have the request queue space for ATIO push). Split the function isp_handle_platform_ctio into two parts so that the timeout function for the ATIO push or isp_handle_platform_ctio can inform CAM that the requested CTIO(s) are now done. Clean up (cough) residual handling. What we need for Fibre Channel is to preserve the at_datalen field from the original incoming ATIO so we can calculate a 'true' residual. Unfortunately, we're not guaranteed to get that back from CAM. We'll *try* to find it hiding in the periph_priv field (layering violation)- but if an ATIO was passed in from user land- forget it. This means that we'll probably get residuals wrong for Fibre Channel commands we're completing with an error. It's too late to 4.1 release to fix this- too bad. Luckily the only device we'd really care about this occurring on is a tape device and they're still so rare as FC attached devices that this can be considered an untested combination anyway. Remove all CCINCR usage (resource autoreplenish). When we've proved to ourself that things are working properly, we can add it back in. Make sure we propage 'suggested' sense data from the incoming ATIO into the created system ATIO- and set sense_len appropriately. Correctly propagate tag values. Fall back to the model of generating (well, the functions in isp_pci.c do the work) multiple CTIOs based upon what we get from XPT. Instead of being able to pair Qlogic generated ATIOs with CAM ATIOs, and then to pair CAM CTIOs with Qlogic CTIOs, we have to take the CTIO passed to us from XPT, and if it implies that we have to generate extra Qlogic CTIOs, so be it. This means that we have to wait until the last CTIO in a sequence we generated completes before calling xpt_done. Executive summary- target mode actually now pretty much works well enough to tell folks about.
* Raise debug level for some messages. Fix botched inversionmjacob2000-07-181-11/+9
| | | | about MBOX_COMMAND_ERROR vs. MBOX_COMMAND_PARAM_ERROR.
* Keep interrupts blocked for all of isp_pci_attach. Redo DMA routinesmjacob2000-07-182-156/+322
| | | | for target mode for cleanliness and accuracy.
* Properly detect ISA cards in EISA mode and skip them in the ISA identifymdodd2000-07-182-2/+12
| | | | | | routine so that they will be picked up by the EISA front end. PR: i386/2598
* Patch up some bogons in the resource_find() vs resource_find_hard()peter2000-07-181-3/+9
| | | | | | | | | interfaces. The original resource_find() returned a pointer to an internal resource table entry. resource_find_hard() dereferences the actual passed in value (oops!) - effectively trashing random memory due to the pointer being passed in with a random initial value. Submitted by: bde
* Don't get stuck in a loop calling exit from an atexit routine. Cleanmjacob2000-07-181-8/+9
| | | | | | up cam_fill_ctio usage to passed atio flags. Clear periph_priv area of new ctio so if the kernel is dumb enough to look at them (this is a SECURITY hole) the panic will be obvious instead of subtle.
* Declare our DEC Alpha cdboot to be a fully released version 1.0.obrien2000-07-181-0/+1
|
* Move mtree to bootstrap-tools and add PATH=${TMPPATH} to IMAKEENV to pick itache2000-07-181-4/+4
|
* Change my email address in the copyright notices for the sake of consistencyjasone2000-07-1871-71/+71
| | | | (jasone@canonware.com --> jasone@freebsd.org).
* Add mtree to cross-tools to make it updated for new -L optionache2000-07-181-1/+2
| | | | It must solve make world breakage
* Document the builtin echo commandmarko2000-07-171-4/+60
| | | | Reviewed by: Matthew Hunt <mph@astro.caltech.edu>
* Initialise ifnet::if_typebrian2000-07-171-0/+2
| | | | | PR: 17873 Submitted by: Kensaku Masuda <greg@greg.rim.or.jp>
* Deal correctly with statically initialized condition variables injasone2000-07-173-54/+51
| | | | | | | | | pthread_cond_signal(), pthread_cond_broadcast(), and pthread_cond_timedwait(). Do not dump core in pthread_cond_timedwait() (due to a NULL pointer dereference) if attempting to wait on an uninitialized condition variable. PR: bin/18099
* The description of the semantics of -v and -q has long since been OBE.des2000-07-171-10/+1
|
* While I'm at it, break a line that was too long, remove a pointless diagnosticdes2000-07-171-3/+3
| | | | and adjust the verbosity level of another.
* Reshuffle the SEE ALSO section.jasone2000-07-179-21/+21
| | | | Prompted by: sheldonh
* Don't reply "not a plain file" when the requested file doesn't exist.des2000-07-171-2/+8
|
* Document the fact that -r and -m are mutually exclusive.des2000-07-171-0/+10
|
* Rearrange / rewrite large portions of fetch() to take advantage of newdes2000-07-171-35/+84
| | | | | | | | | | | | | | | | | | | | | | libfetch features (fetchRestartCalls, fetchXGet()). Since it doesn't make much sense to have m_flag and r_flag set at the same time, and it can actually cause trouble in some cases, die if they're both set. Set the SA_RESETHAND flag for SIGINT so that when we've caught one, we can kill ourselves with a second SIGINT (thus notifying our parent of our tragic fate) instead of just exiting. These changes fix several problems that would show up when fetching ports, as well as speeding up HTTP transfers quite a bit (at least for relatively small files). Most of these changes were prompted by an interaction problem with an HTTP server called SWS-1.0, which exhibited two bugs, the first of which prevented fetch from working around the second (the first was not sending content-type in reply to HEAD requests, the second was sending garbage after the end of the requested file).
* Introduce fetchXGet*(), which combine the functionalities of fetchGet*() anddes2000-07-176-113/+236
| | | | | | fetchStat*(). In most cases, either fetchGet*() or fetchXGet*() is a wrapper around the other; in all cases, calling fetchGet*() is identical to calling fetchXGet*() with the second argument set to NULL.
* Don't forget to set file descriptor to -1 after closing it, since the codedes2000-07-171-1/+1
| | | | | | | outside the loop inspects it to determine whether or not we succeeded in retrieving the requested document. This fixes a bug where fetchGetHTTP() would return a FILE with an invalid file descriptor if it hit the redirect limit without locating the requested document.
* Use a symbolic constant instead of hardcoding 999des2000-07-171-10/+11
|
* Don't forget to declare fetchRestartCalls.des2000-07-171-0/+1
|
* Introduce the (undocumented) variable fetchRestartCalls, which controls whetherdes2000-07-172-2/+3
| | | | | | | or not interrupted system calls will be restarted. This fixes a bug where fetch(1) would hang (potentially forever) if a server stopped responding, because the signal handler would absorb the user's efforts to interrupt the transfer.
* Remove fetchContentType(), which disappeared in the HTTP rewrite.des2000-07-171-1/+0
|
* close PR 19544 - ipfw pipe delete causes panic when no pipes definedluigi2000-07-171-2/+2
| | | | PR: 19544
* - Don't try to free mboot.bootinst before it has been allocated. If, forjhb2000-07-172-4/+4
| | | | | | | | | | some reason, mboot.bootinst is not initialized to NULL at the beginning of the program, then the last commit to this would try to free whatever bogus address is in it. - Restore the behavior of free()'ing the mboot.bootinst buffer after we abuse it to determine the sector size of the disk (as clearly noted in the comments). Properly fix the double free() bug by setting the pointer to NULL after we free it.
* Oops. Remove some debugging code used to display a hexdump of the sectorjhb2000-07-171-66/+3
| | | | | | we just loaded from the disk. The code to call it was commented out, and it easily fit into the extra sector, but remove it anyway as it is unneeded.
* The modem driver for Communication Device Class, ACM compliant devices.n_hibma2000-07-171-25/+1114
| | | | | | | | | | There is a number of devices that are compliant, of which the 3Com 5605 is has been verified to work. The driver is not perfect yet, but should be able to get you somewhere. The driver was originally written by Lennart Augustsson, but Mike Smith and Mike Meyer <mwm@mired.org> did the porting.
* Add the PCI IDs for the Macronix 98727 and 98732 parts. These arewpaul2000-07-175-4/+24
| | | | | | 3.3volt PCI/cardbus chipsets similar to the 98715 (and they have 512-bit hash tables). Also update the man page to mention the 98727/98732 and the SOHOware SFA110A Rev B4 card with the 98715AEC-C chip.
* Remove some whitespace so the line with "brackets" changed to "angleben2000-07-171-1/+1
| | | | brackets" no longer touches the right edge of an 80 column display.
* kue(4) and cue(4) do not need miibus.wpaul2000-07-172-2/+0
|
* Unbreak the build -- no manual page for this yet.jlemon2000-07-171-1/+1
|
* Add SEE ALSO section, as with the other string functions.alex2000-07-171-0/+11
| | | | Submitted by: dcs
* Remove __P prototypes to reduce diffs between the NetBSD and FreeBSDn_hibma2000-07-1722-475/+475
| | | | versions.
* Use pwd instead of cwd in backticks. cwd in backticks doesn't dosheldonh2000-07-171-2/+2
| | | | | | | anything useful in a Bourne shell. PR: 19980 Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
* Fix a bug which could cause programs with user threads packages tojdp2000-07-173-5/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | lock against themselves, causing infinite spinning. Brian Feldman found this problem when testing with Mozilla and supplied the fix, which I have revised slightly. Here is the failure scenario. A thread calls dlopen() and acquires the writer lock. While the thread still holds the lock, a signal is delivered and caught. The signal handler tries to call a function which hasn't been bound yet. It thus enters the dynamic linker and tries to acquire the reader lock. Since the writer lock is already held, it will spin forever in the signal handler. The thread holding the lock won't be able to progress and release the lock. The solution is to block almost all signals while holding the exclusive lock. A similar problem could conceivably occur in the opposite order. Namely, a thread is holding the reader lock and then a signal handler calls dlopen() or dlclose() and spins waiting for the writer lock. We deal with this administratively by proclaiming that signal handlers aren't allowed to call dlopen() or dlclose(). Actually we don't have to proclaim a thing, since signal handlers aren't allowed to call any system functions except those which are explicitly permitted. Submitted by: Brian Fundakowski Feldman <green>
* Hook up liloldrjlemon2000-07-171-0/+1
|
* This is `liloboot', which creates a file which can be treated like ajlemon2000-07-173-0/+372
| | | | | | | Linux kernel image, and is designed to be dropped into a Linux system and booted via LILO. Once booted, the user is greeted by the FreeBSD loader. This still isn't quite complete, as the the root= specification from LILO isn't currently passed to the loader yet.
* Improve on previous commit:sheldonh2000-07-172-8/+7
| | | | | | | Don't inhibit the trailing newline for entropy-related messages. Try harder to save the seed file on shutdown. Reviewed by: markm
* Rename MDNSECT to MD_NSECT and declare it as something that isn'tsheldonh2000-07-175-10/+10
| | | | | | | default in NOTES. Requested by: bde Approved by: phk
OpenPOWER on IntegriCloud