summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: fixed broken references.ru2001-01-167-9/+4
|
* Change NSWAPDEV to something else than the default value.des2001-01-162-2/+2
|
* Correct spelling of millennium.dwmalone2001-01-161-1/+1
| | | | | PR: 24369 Submitted by: Tony Finch <dot@dotat.at>
* These files have been on deathrow for a couple of months, no appeal.phk2001-01-166-25/+0
|
* Prepare for mdoc(7)NG.ru2001-01-1624-33/+34
|
* Prepare for mdoc(7)NG.ru2001-01-1613-22/+22
|
* Prepare for mdoc(7)NG.ru2001-01-162-3/+3
|
* Prepare for mdoc(7)NG.ru2001-01-1614-23/+23
|
* Stop doing runtime checking on i386 cpus for cpu class. The cpu ispeter2001-01-1614-164/+99
| | | | | | | | | | | | slow enough as it is, without having to constantly check that it really is an i386 still. It was possible to compile out the conditionals for faster cpus by leaving out 'I386_CPU', but it was not possible to unconditionally compile for the i386. You got the runtime checking whether you wanted it or not. This makes I386_CPU mutually exclusive with the other cpu types, and tidies things up a little in the process. Reviewed by: alfred, markm, phk, benno, jlemon, jhb, jake, grog, msmith, jasone, dcs, des (and a bunch more people who encouraged it)
* Prepare for mdoc(7)NG.ru2001-01-1613-16/+16
|
* mdoc(7) police: use .Fa for function arguments, use .Vt for variable type.ru2001-01-161-11/+11
|
* - Fix a nasty bug where pkg_create doesn't gzip package if lengh of packagesobomax2001-01-162-8/+5
| | | | | | | | | | | name is less than 5 and doesn't contain recognizeable suffix (one of .tar or .tgz), while gzip's it if lengh of the name greater than 4. For example `pkg_create [options] pkg1' will create pkg1.tar, while `pkg_create [options] pkg11' will create pkg11.tgz; - use TRUE/FALSE as a values for boolean variables instead of explicit 1/0 and erroneous YES in one case. MFC candidate.
* Guard against overflow of the calculated timeout value.mjacob2001-01-161-4/+9
|
* Argh, disable the micro-ops again. I didn't test these adequately andjhb2001-01-162-2/+4
| | | | | | managed to lock up one of my machines in world again. Pointy-hat to: me
* - Use "+a" instead of "=&a" for several constraints. This should fixjhb2001-01-162-50/+38
| | | | | | | | | | compiling errors where gcc would run out of registers. - Add "cc" to the list of clobbers for micro-ops where we perform instructions that alter %eflags. - Use xchgl instead of cmpxchgl to release a spin lock. This could allow for more efficient register allocation as we no longer mandate that %eax be used. - Reenable the optimized mutex micro-ops in the non-i386 case.
* Free the intrhand name when free'ing a intrhand.jhb2001-01-164-0/+4
| | | | Submitted by: bde
* Add some KASSERTs valid if WITNESS is defined to verify that the mbufbmilekic2001-01-161-4/+39
| | | | | | | | | | | | | | allocation routines are being called safely. Since we drop our relevant mbuf mutex and acquire Giant before we call kmem_malloc(), we have to make sure that this does not pave the way for a fatal lock order reversal. Check that either Giant is already held (in which case it's safe to grab it again and recurse on it) or, if Giant is not held, that no other locks are held before we try to acquire Giant. Similarily, add a KASSERT valid in the WITNESS case in m_reclaim() to nail callers who end up in m_reclaim() and hold a lock. Pointed out by: jhb
* Implement condition variables.jasone2001-01-169-9/+851
|
* Use the residual from a spacing operation to try and figure out wheremjacob2001-01-161-10/+38
| | | | | | | | | | | | | | | | we *really* are. It should be noted that there is a degenerate case where soft tape location will be lost (not causing a frozen state- but causing the loss of reporting fileno/blockno)- that's where you backspace over a filemark- you stop backspacing as soon as you cross the filemark, but you have no idea what the record number now is because you have no idea how many records you are into the file you just backed into. Such is life. While I'm at it, also pick up residuals from writing filemarks. PR: 24222
* Get rid of those pesky "driver mistake" messages... destroy the create_d dev_tmjacob2001-01-161-1/+5
| | | | | | when you take down the device. Reviewed by: audit@freebsd.org (Warner, Justin)
* - Fix atomic_load_* and atomic_store_* to generate functions for atomic.cjhb2001-01-162-336/+246
| | | | | | | | | that modules can call. - Remove the old gcc <= 2.8 versions of the atomic ops. - Resort the order of some things in the file so that there is only one #ifdef for KLD_MODULE, and so that all WANT_FUNCTIONS stuff is moved to the bottom of the file. - Remove ATOMIC_ACQ_REL() and just use explicit macros instead.
* Fix PR 24220 by using the periph private field0 for a CCB for notmjacob2001-01-151-40/+50
| | | | | | | | | | | | | | only CCB type but also extra flags- one of which can be "position updated". In other changes: Add in a SA_QUIRK_NO_CPAGE quirk so that it's possible to avoid using a (broken) device's implementation of he DEVICE COMPRESSION page. Also do a couple of printout cleanups. As per some discussion on FreeBSD-scsi, skip doing tape flushing if we're reading tape logical block location (MTIOCRDSPOS).
* Fix typo.grog2001-01-151-4/+6
| | | | | | | | | Submitted by: Jimmy Olgeni <olgeni@uli.it> PR: 24233 Fix typos. Submitted by: "Jeroen C. van Gelderen" <jeroen@vangelderen.org>
* Clean up Makefile, and remove the last vestiges of NOBLOCKRANDOM.markm2001-01-151-14/+2
|
* Add was_fabric_dev/fabric_dev tags to our local FC database structuremjacob2001-01-151-9/+45
| | | | | | | | | | | | | (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.
* Put in offset definitions for FPM and FBM registers, plus just enoughmjacob2001-01-151-0/+17
| | | | bits defined so we can reset them.
* Set default adapter role.mjacob2001-01-151-0/+1
|
* Use the isp_lastmbxcmd tag to report timed out mailbox commands.mjacob2001-01-151-2/+3
| | | | | Arrrggghhhh! Very likely fix 22650 by remembering to, ahem, set CAM_AUTOSNS_VALID when one has sense data.
* Do more cleanup of the usage of 0..125 for F-port topologies.mjacob2001-01-151-11/+29
|
* When resetting the Qlogic 2X00 units, reset the FPM (Fibre Protocolmjacob2001-01-151-75/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* The ffs superblock includes a 128-byte region for use by temporaryiedowse2001-01-159-44/+53
| | | | | | | | | | | | | | | | | | | | in-core pointers to summary information. An array in this region (fs_csp) could overflow on filesystems with a very large number of cylinder groups (~16000 on i386 with 8k blocks). When this happens, other fields in the superblock get corrupted, and fsck refuses to check the filesystem. Solve this problem by replacing the fs_csp array in 'struct fs' with a single pointer, and add padding to keep the length of the 128-byte region fixed. Update the kernel and userland utilities to use just this single pointer. With this change, the kernel no longer makes use of the superblock fields 'fs_csshift' and 'fs_csmask'. Add a comment to newfs/mkfs.c to indicate that these fields must be calculated for compatibility with older kernels. Reviewed by: mckusick
* man(7) -> mdoc(7).ru2001-01-151-26/+52
|
* Simplify some mdoc(7) constructs.ru2001-01-151-12/+5
|
* mdoc(7) police: fix the unbalanced Bk/Ek.ru2001-01-151-31/+0
|
* mdoc(7) police: fix the weird construct.ru2001-01-151-2/+8
|
* it seems that a commit to i4b/drivers/i4b_ispppsubr.c on 2000-01-12 hashm2001-01-151-2/+2
| | | | | | | broken the handling of uncompressed VJ packets. The attached diff should hopefully fix that. Submitted by: Thomas Moestl <tmoestl@gmx.net> Reviewed by: Sergio de Souza Prallon <prallon@tmp.com.br>
* Reenable support for FreeBSD 4.x and possibly the other supported BSD'shm2001-01-1515-218/+381
|
* Version bump, because of ABI incompatibility.nsouch2001-01-151-1/+1
| | | | Suggested by: Maxim Sobolev <sobomax@FreeBSD.org>
* Add a couple of newlines in the output from route monitorphk2001-01-151-2/+4
|
* Add support for SMC91C100FD chip of MELCO LPC-TX.toshi2001-01-152-1/+3
| | | | | | | sn1 at port 0x240-0x24f irq 10 slot 0 on pccard0 sn1: SMC91C100FD UTP MAC address 00:a0:dc:22:26:8c Submitted by: "KOMURO" <komujun@nifty.com>
* The patch for the new calendar contained spaces instead of tabs.dwmalone2001-01-151-184/+184
| | | | I only noticed when I went to check that it worked OK in RELENG_3.
* Fix a bug arised from the ')' in the wrong place when calling printf()-likesobomax2001-01-151-1/+1
| | | | | | | varargs function, which lead to one of the arguments was left out. This resulted in failure when inwoking mtree, warning message "mtree returned a non-zero status - continuing" and probably is the reason for zillion mtree errors on bento.
* Backtrack a bit.. Put the dangerously dedicated option under apeter2001-01-153-3/+33
| | | | | | non-advertised option (F = "FreeBSD only"), and leave the A key with standard partitioning. It seems people still want a runtime backdoo to get to dangerously dedicated mode.
* Make NSWAPDEV reasonable so people do not mistakenly use unreasonabledillon2001-01-152-2/+12
| | | | | | values when creating custom kernels from LINT. Suggested-by: "Louis A. Mamakos" <louie@TransSys.COM>
* Don't invite trouble by waving the 'Dangerously Dedicated' (DD) optionpeter2001-01-153-27/+6
| | | | | | | | | | at people. This has been sitting in my tree for a few months now. I have spoken with quite a few folks about this and the support for doing this was pretty strong. I dont remember names though, so I cannot share the blame :-(. Note that this does not *remove* DD mode, it just stops waving it at new users. You can still set it via config files etc, and the bootblocks and kernel still support it. You can still use disklabel to make true DD disks.
* Implement an optimization for INTREN/INTRDIS that bde pointed out lastpeter2001-01-153-0/+42
| | | | | | | | | | | time I tinkered around here. Since INTREN is called from the interrupt critical path now, it should not be too expensive. In this case, we look at the bits being changed to decide which 8 bit IO port to write to rather than unconditionally writing to both. I could probably have gone further and only done the write if the bits actually changed, but that seemed overkill for the usual case in interrupt threads. [an outb is rather expensive when it has to cross the ISA bus]
* Replace reference to replacing mkfs(8) with a paragraph actuallyeivind2001-01-151-3/+1
| | | | describing what newfs *does*.
* Instead of hard coding the major numbers for IDE and SCSI disksjoe2001-01-141-10/+17
| | | | look in the device's cdevsw for the D_DISK flag.
* Add a generic "queued function callin" mechanismjulian2001-01-143-197/+430
| | | | | | Use it to implement (hopefully) SMP safe node/hook addition and removal. Fix some debug stuff.
* Make tcpwrappers use the magic in syslog.h for getting syslog facilitydwmalone2001-01-141-100/+10
| | | | | | | | | and level names. Add FreeBSD tag. PR: 24218 Approved by: markm
OpenPOWER on IntegriCloud