summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove debug output on disk change.sos1998-10-083-6/+6
|
* Add auth.conf. JKH Added the code to understand this to libutil, andmarkm1998-10-082-2/+12
| | | | I will be following up with commits to use it in KerberosIV userland.
* Add the quirk entry framework to handle disabling the synchronize cacheken1998-10-081-25/+168
| | | | | | | | | | | | | | | | | | | | command on drives that don't like it. Right now, there's just a bogus quirk entry in the table that doesn't do anything, but that should be changed once we get actual inquiry data for drives that don't like the synchronize cache command. Also, add a shutdown hook that runs through all direct access peripherals and runs a synchronize cache on them if they're still open, and if synchronize cache isn't disabled via a quirk entry. Add a synchronize cache call at the end of dadump() (again, conditionalized on the quirk entry), so we can insure that the disk cache contents get flushed to physical media after a dump. Check the new quirk entry in daclose() to decide whether or not to synchronize the cache for a disk at final close. Reviewed by: gibbs
* Correct a build error that got past my build test somehow.jkh1998-10-082-0/+3
|
* Check the timeval passed to BIOCSRTIMEOUT with itimerfix. Use tvtohz()alex1998-10-081-8/+9
| | | | | | | | | | | | | to convert the timeval into a tick count. Suggested by: bde Reviewed by: bde Handle hz > 1000 in BIOCGRTIMEOUT. Pointed out by: bde Reviewed by: bde Obtained from: OpenBSD
* Unreverse a conditional and gzip the mfs image by default.jkh1998-10-071-3/+3
|
* Support 3 floppy images as standard now: boot kernel, mfs image andjkh1998-10-071-6/+11
| | | | kernel+mfs image.
* Fix typo.jkh1998-10-071-2/+2
|
* Fix typos.jkh1998-10-071-3/+3
|
* Add MFSKERN flag to enable the combining of kernel and MFS fs.jkh1998-10-071-7/+8
| | | | | | At some point, it will always be off from the user's POV and used only internally to build (optionall) both mfskern floppies and ones where mfs root and kernel go in separate places.
* By popular request, mention that mailq responds to the same options asdes1998-10-071-4/+8
| | | | | | sendmail(8). PR: i386/8149
* Read in all the nlist entries properly.jkh1998-10-071-2/+2
|
* Add isa_devtab_camjkh1998-10-071-0/+1
|
* Add a simple mechanism for reading property lists from files (whichjkh1998-10-074-2/+300
| | | | | | | I'll convert sysinstall to use shortly) and a simple call which uses this mechanism to implement an /etc/auth.conf file. I'll let Mark Murray handle the format and checkin of the sample auth.conf file. Reviewed by: markm
* Add missing newline in probe message.des1998-10-071-2/+2
| | | | | PR: kern/8168 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
* Use vm_page_xxx() inline functions to manipulate vm_page::flags, vm_page::busy.luoqi1998-10-071-6/+6
| | | | | | | As a side effect, a few wakeup() calls are added, which might fix some of the missing vm_page wakeups people have been seeing. Reviewed by: Doug Rabson <dfr@nlsystems.com>
* Fix syntax errors I introduced.obrien1998-10-075-15/+15
|
* Add strcasecmp source file required for dosfs operation.msmith1998-10-071-0/+74
|
* Use MACHINE_ARCH instead of MACHINE to detect x86 arch.kato1998-10-071-1/+1
| | | | Pointed out by: Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp>
* Fix that pesky boot aguments parsing bug. (I think :-)peter1998-10-073-6/+3
|
* Request the flags back when checking for keyboard status.msmith1998-10-071-2/+2
| | | | Submitted by: rnordier
* Add entries for the adw device driver.gibbs1998-10-075-8/+16
|
* ahc_pci.c:gibbs1998-10-076-16/+34
| | | | | | | | | | | | | Disable DPARCKEN in the DSCOMMAND0 register on the aic7890/91/96/97. Parity checking is broken for some chip/MB combinations and this is the work around recommended by Adaptec. dpt_pci.c: Remove a superflous '{' that prevented DPT_ALLOW_MEMIO from working. pcireg.h: Add a definition for Parity Error Reponse bit in the PCI Space command register.
* Fix a parent tag reference count bug during tag teardown.gibbs1998-10-072-14/+36
| | | | | | | | | | | Enable optimization for nobounce_dmamap clients by setting the map held by the client to NULL. This allows the macros in bus.h to check against a constant to avoid function calls. Don't attempt to 'free()' contigmalloced pages in bus_dmamem_free(). We currently leak these pages, which is not ideal, but is better than a panic. The leak will be fixed when contigmalloc is merged into the bus dma framework after 3.0R.
* Add a missing newline.gibbs1998-10-071-1/+2
|
* Don't set the active flag on a transaction resource until it has beengibbs1998-10-072-37/+37
| | | | | | | | | | | queued. Perform dma segment setup outside of splcam protection as this can take some time and the protection is not necessary. Inline a function. Clean up some whitespace.
* Add ADW_ALLOW_MEMIO and DPT_ALLOW_MEMIO. Until our configurationgibbs1998-10-071-2/+7
| | | | | framework properly detects broken PCI-PCI bridges, users will have to manually enable memory mapped I/O for these drivers. <sigh>
* Add a quirk entry for the CFP2107, another drive with brokengibbs1998-10-071-2/+9
| | | | | | | | | | | | tagged queuing support. Ensure that we report that a device supports tagged queuing even if the system is waiting a "command count delay" before starting to use them. If a user disables disconnects on a device ensure that tagged queuing is also turned off. We did the right thing during initial configuration, but could be confused by manual changes.
* Add support for the ASC3550 AdvanSys SCSI Host Controller (aka 940UW).gibbs1998-10-079-0/+3533
|
* Don't use boot2 on alpha.jkh1998-10-073-3/+15
|
* Remove hard-coded constants being passed to doFS.sh and add in a 386/alphajkh1998-10-071-15/+31
| | | | configuration section.
* Up the read capacity timeout from 20 seconds to 60 seconds to keep myimp1998-10-071-2/+2
| | | | | | | | JAZ drive happy. This shouldn't impact fast drives, and will keep cam from failing on very slow ones (that are spinning up, say). 20 seconds was almost long enough, but not in all cases. Suggested by: gibbs
* Some fixes for the CD and DA drivers from bde. (and some of my own asken1998-10-072-199/+147
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | well) Among them: [ cd driver ] 1. Old labeling code was still there. 2. Error handling for dsopen() was broken (no test for the `error' returned by dsopen(); bogus test of an `error' that is known to be 0). 3. cdopen() closed the physical device after certain errors although there may still be open partitions on it. 4. cdclose() closed the physical device although there may still be open partitions on it. 5. Some printf format fixes was incomplete or missing. 6. cdioctl() truncated unit numbers mod 256. 7. cdioctl() was missing locking. [ da driver ] 1. daclose() closed the physical device although there may still be open partitions on it. This was fixed many years ago in sd.c rev.1.57. 2. A minor optimization (the dk_slices != NULL test) in sdopen() became uglier in daopen(). It is not worth doing. da only regressed compared with od and my version of sd, since I never committed the change to sd. daopen() should probably do less if some partition is already open. This is not addressed by the diffs. [ ... ] 5. "opt_hw_wdog.h" was not included, so the HW_WDOG code was unreachable. - Added a getdev CCB call in the cdopen() and daopen() calls so that the vendor name and device name are available for the disklabel. (suggested by bde) - Removed vestigal devfs support in both drivers, since we can't properly work with devfs yet. (ask bde for details on this) - Cleaned up the probe code in both drivers in the failure cases. There were a number of things wrong here. The peripheral driver instances weren't getting properly cleaned up. Sometimes the wrong probe message would get printed out (with the failure message appended), so it wasn't very clear that we failed to attach. SCSI sense information was printed, even when the error in question wasn't a SCSI error. I put similar fixes into the changer driver in revision 1.2 of scsi_ch.c. Reviewed by: gibbs Submitted by: bde (partially)
* Turn ALLLANG back on.jkh1998-10-071-2/+2
|
* Add spanish doc dirs.jkh1998-10-071-1/+5
| | | | Submitted by: Motoyuki Konno <motoyuki@snipe.rim.or.jp>
* Enable the DOS filesystem. NOTE: you will have to rebuild libstand inmsmith1998-10-072-7/+2
| | | | order to be able to build again.
* - Drain the keyboard buffer when initialising.msmith1998-10-074-8/+12
| | | | - Be pedantic about the return from int 16 fn 01.
* - VERBOSE_LS is obsolete, as the heap is much better behaved now.msmith1998-10-075-54/+197
| | | | | | | | | | | | | | | - Don't whine about nodes we can't stat(); these are usually symlinks that lead out of the filesystem. - Autoboot is now controlled by $autoboot_delay, which is a value in seconds or NO to disable autoboot. - Don't autoboot at the end of boot.conf if we have already tried. - Add a 'read' command to complement 'echo'. Both are still hidden. - Improve the 'source' command/function so that it is possible to source scripts off removable media. The entire script is read and saved before beginning execution. Script lines beginning with '@' will not be echoed when being executed. Script execution will normally terminate at the first error, however if the script line begins with '-' this behaviour is overriden for that command.
* VERBOSE_LS is obsoletemsmith1998-10-071-2/+0
|
* Fix a memory leakjulian1998-10-071-15/+25
| | | | | | | | | | | PR: 7923 Submitted by: Archie Cobbs <archie@whistle.com> The scandir() function returns -1 if it fails. In many cases when this happens, it does not free the memory that it allocated, resulting in a memory leak, or close the directory opened with opendir(). BAD DOG, BAD!
* Cast the return value of tvtohz() from a long to an int to satisfy thealex1998-10-062-4/+4
| | | | | | | compiler that we know what we're doing (the value returned has already been restricted to int ranges). Reviewed by: bde
* Minor cleanup: kill a couple of unused variables, and a couple ofjoerg1998-10-061-3/+7
| | | | | | uninitialized variables. Obtained from: The isdn4bsd project (partially)
* (1) Add new variable ${PERL} which is equal to ${PERL5} but without theasami1998-10-061-4/+11
| | | | | | | | | | | | | | | | | | version number part (i.e., "<directory>/perl"). Use this to substitute #! lines in your perl5 scripts. Requested and reviewed by: ache (2) Add new variable WRKDIRPREFIX (defaults to ""). The "work" directories are now in ${WRKDIRPREFIX}${.CURDIR}/work by default. You can have a read-only ports tree (modulo any broken ports that write something to places other than ${WRKDIR}) by setting this to a writable location. Ports that set WRKDIR explicitly should append this to front so they will work when the user has WRKDIRPREFIX set. Reviewed by: Toshihiko Kodama <kodama@ayame.mfd.cs.fujitsu.co.jp>
* In an attempt to reduce the huge number of differences between thejoerg1998-10-061-225/+337
| | | | | | | | | | | | | | | | | | | | | | | | | | FreeBSD repository version of this file and the isdn4bsd version, adopt those changes from the i4b version that make this file BSD-version independent. I attempted to avoid uglifying this file too much, thus deviated a little from the i4b version (and hope they will adopt the changes, too). The diffs mostly concentrate on: . #include differences between the systems . different callout handling between FreeBSD vs. Net/OpenBSD . interface naming (Net/OpenBSD store the ASCII name including the unit # in struct ifnet, FreeBSD only the name) . use of random() in FreeBSD vs. time-based pseudo-randomization in Net/OpenBSD (for loopback detection ad CHAP challenges -- i assume at least OpenBSD could also benefit from random(), but that's the way i've got this file) . interface address list elements are named a little differently between FreeBSD and Net/OpenBSD I attempted to segregate those compat fixes from other code fixes and enhancements. Obtained from: The isdn4bsd project
* Disable multi-lun probing and serial number inquiries for the Exabyte 8200.ken1998-10-061-1/+12
|
* Here are some scripts and man pages for configuring HARP ATMphk1998-10-0617-12/+1286
| | | | | | | interfaces. Reviewed by: phk Submitted by: Mike Spengler <mks@networkcs.com>
* Enable the DOS filesystem. This allows reading from various DOS filesystemsmsmith1998-10-063-10/+9
| | | | | | | (FAT12/16/32, VFAT). Make a private copy of strcasecmp, as the "real" one uses the system ctype header, which introduces locale poisoning.
* Add functions for accessing dense and bwx memory for pci devices. Thesedfr1998-10-068-10/+134
| | | | | | | routines are necessary to allow the use of certain types of hardware on the alpha, particularly a Myrinet card. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* - Implement enabling write allocate on AMD K5/K6/K6-2 cpus.kato1998-10-0613-31/+331
| | | | | | | | | | | | The code was originaly contributed by Kelly Yancey <kbyanc@freedomnet.com> in PR i386/6269 and revised by Akio Morita <amorita@meadow.scphys.kyoto-u.ac.jp> and me. Test was performed by Akio Morita and Toshiomi Moriki <moriki@db.is.kyushu-u.ac.jp>. - Fix stylistic bug in identcpu.c. - Update copyright in initcpu.c - Fix typo in LINT. PR: 6269 and 6270
* Doh! Change the correct version of disktab and backout the change todfr1998-10-063-13/+8
| | | | the i386 disktab.
OpenPOWER on IntegriCloud