]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoRemove acpi throttling support from the acpi_cpu(4) driver now that this
njl [Sun, 6 Feb 2005 21:10:19 +0000 (21:10 +0000)]
Remove acpi throttling support from the acpi_cpu(4) driver now that this
is supported by acpi_throttle(4).

19 years agoBreak out acpi throttling support into a new relative cpufreq driver,
njl [Sun, 6 Feb 2005 21:09:51 +0000 (21:09 +0000)]
Break out acpi throttling support into a new relative cpufreq driver,
acpi_throttle(4).

19 years agoAdd support for relative cpufreq drivers. Such drivers modulate clock
njl [Sun, 6 Feb 2005 21:08:35 +0000 (21:08 +0000)]
Add support for relative cpufreq drivers.  Such drivers modulate clock
frequency as a percentage of the base rate and do not change the base
rate directly.  The cpufreq framework combines these with absolute drivers
to produce synthesized levels made of one or more settings.

19 years agoMove resource allocation routines from cardbus_cis.c to cardbus.c.
imp [Sun, 6 Feb 2005 21:03:13 +0000 (21:03 +0000)]
Move resource allocation routines from cardbus_cis.c to cardbus.c.
They have nothing at all to do with CIS parsing.

Remove some unused funce parsing: nothing used the results.

Use more of pccard_cis.h's deifnitions for the cardbus specific cis
parsing we do.  More work is needed in this area.

This reduces the size of the cardbus module by 380 bytes or so...

19 years agoNotify the OS that we're taking over Px states in acpi_perf(4) instead of
njl [Sun, 6 Feb 2005 20:12:28 +0000 (20:12 +0000)]
Notify the OS that we're taking over Px states in acpi_perf(4) instead of
doing it in the cpu driver.  The previous code was incorrect anyway since
this value controls Px states, not throttling as the comment said.  Since
we didn't support Px states before, there was no impact.  Also, note that
we delay the write to SMI_CMD until after booting is complete since it
sometimes triggers a change in the frequency and we want to have all
drivers ready to detect/handle this.

19 years agoWhitespace.
glebius [Sun, 6 Feb 2005 19:24:59 +0000 (19:24 +0000)]
Whitespace.

19 years agoRemove comment which left after removal of ng_rcvdataq_t.
glebius [Sun, 6 Feb 2005 19:20:16 +0000 (19:20 +0000)]
Remove comment which left after removal of ng_rcvdataq_t.

MFC after: 1 week

19 years agoWhen running Linux binaries, set up the initial FPU state as Linux
das [Sun, 6 Feb 2005 17:29:20 +0000 (17:29 +0000)]
When running Linux binaries, set up the initial FPU state as Linux
would.

PR: 28966

19 years agoCheck that we have at least a 586-class CPU before calling do_cpuid().
iedowse [Sun, 6 Feb 2005 16:55:52 +0000 (16:55 +0000)]
Check that we have at least a 586-class CPU before calling do_cpuid().
This fixes booting on a number of 486 processors.

PR: i386/75686
Reviewed by: markm
MFC after: 1 week

19 years agoDocument NO_GPIB
phk [Sun, 6 Feb 2005 16:46:49 +0000 (16:46 +0000)]
Document NO_GPIB

19 years agoTie libgpib into the build (unless NO_GPIB)
phk [Sun, 6 Feb 2005 16:45:57 +0000 (16:45 +0000)]
Tie libgpib into the build (unless NO_GPIB)

19 years agoAdd libgpib containing the glue to get ibfoo() calls into the kernel.
phk [Sun, 6 Feb 2005 16:45:20 +0000 (16:45 +0000)]
Add libgpib containing the glue to get ibfoo() calls into the kernel.

19 years agoSince it is not un-common for a process's resident set size (rss)
csjp [Sun, 6 Feb 2005 16:34:49 +0000 (16:34 +0000)]
Since it is not un-common for a process's resident set size (rss)
to exceed 10 megabytes in size (especially in X), bump the max
column width from 4 bytes to 5. This will make the ps auxw output
uniform again when a process's rss exceeds 10 megs.

It should be noted that when 5 digits becomes to small, other
solutions should be explored such as displaying them in megabytes
or having ps automatically re-size column widths.

Discussed with: gad
MFC after: 1 week

19 years agoAdd instructions about upgrading netcat(1).
delphij [Sun, 6 Feb 2005 15:26:44 +0000 (15:26 +0000)]
Add instructions about upgrading netcat(1).

19 years agoFurther elaborate the GPIB driver. We now support a minimal subset of
phk [Sun, 6 Feb 2005 15:22:23 +0000 (15:22 +0000)]
Further elaborate the GPIB driver.  We now support a minimal subset of
the ibfoo() API.

19 years agoInstall GPIB related includefiles (unless NO_GPIB)
phk [Sun, 6 Feb 2005 15:18:24 +0000 (15:18 +0000)]
Install GPIB related includefiles (unless NO_GPIB)

19 years agoAdd directories for GPIB support
phk [Sun, 6 Feb 2005 15:17:21 +0000 (15:17 +0000)]
Add directories for GPIB support

19 years agoDocument NO_NETCAT.
delphij [Sun, 6 Feb 2005 14:59:03 +0000 (14:59 +0000)]
Document NO_NETCAT.

19 years agoFinish the import of nc(1) from OpenBSD. This includes:
delphij [Sun, 6 Feb 2005 14:44:27 +0000 (14:44 +0000)]
Finish the import of nc(1) from OpenBSD.  This includes:
- Bring IPsec support from the ports collection [1].
- Bring -o ("once only") option from the ports
  collection [2].
- Adopt the Makefile framework into
  usr.bin/nc/Makefile.
- Add a knob to control whether to build nc(1),
  NO_NETCAT.
- Bump __FreeBSD_version so ports collection can
  detect this change.

Original patchset are contributed to the ports collection by:
[1] nectar, [2] joerg.

Note: WARNS?=6 patchset spined off in this commit, in order not
to take too many files off the vendor branch.

19 years agoRemove code, inherited from ipacctctl, which sets socket to non-blocking
glebius [Sun, 6 Feb 2005 14:00:57 +0000 (14:00 +0000)]
Remove code, inherited from ipacctctl, which sets socket to non-blocking
mode, since this introduces problems on SMP.

19 years agoReplace RELENG_4_9 (no longer supported) with RELENG_4_11.
des [Sun, 6 Feb 2005 13:56:12 +0000 (13:56 +0000)]
Replace RELENG_4_9 (no longer supported) with RELENG_4_11.

19 years agoSince we are quite unlikely to ever face another platform which
phk [Sun, 6 Feb 2005 13:46:39 +0000 (13:46 +0000)]
Since we are quite unlikely to ever face another platform which
uses the i8237 without trying to emulate the PC architecture move
the register definitions for the i8237 chip into the central include
file for the chip, except for the PC98 case which is magic.

Add new isa_dmatc() function which tells us as cheaply as possible
if the terminal count has been reached for a given channel.

19 years agoSort includes and remove duplicate include.
nyan [Sun, 6 Feb 2005 13:31:22 +0000 (13:31 +0000)]
Sort includes and remove duplicate include.

19 years agoMFi386: revision 1.606.
nyan [Sun, 6 Feb 2005 13:23:20 +0000 (13:23 +0000)]
MFi386: revision 1.606.

19 years agoRemove the useless "version" number output.
obrien [Sun, 6 Feb 2005 12:54:54 +0000 (12:54 +0000)]
Remove the useless "version" number output.
We don't give a version number each userland binary.

19 years agoFix problem with some logitec usb wireless mice.
obrien [Sun, 6 Feb 2005 12:41:00 +0000 (12:41 +0000)]
Fix problem with some logitec usb wireless mice.

Submitted by: Markus <mw@kpnqwest.ch>
Tested by: Randy Bush <randy@psg.com>

19 years agoJump to common action checks after doing specific once. This fixes adding
glebius [Sun, 6 Feb 2005 11:13:59 +0000 (11:13 +0000)]
Jump to common action checks after doing specific once. This fixes adding
of divert rules, which I break in previous commit.

Pointy hat to: glebius

19 years agoList the LSI 320-2E PCI-Express controller as supported.
rushani [Sun, 6 Feb 2005 10:49:28 +0000 (10:49 +0000)]
List the LSI 320-2E PCI-Express controller as supported.

Reviewed by: scottl@

19 years agoo Implement net.inet.tcp.drop sysctl and userland part, tcpdrop(8)
maxim [Sun, 6 Feb 2005 10:47:12 +0000 (10:47 +0000)]
o Implement net.inet.tcp.drop sysctl and userland part, tcpdrop(8)
utility:

    The tcpdrop command drops the TCP connection specified by the
    local address laddr, port lport and the foreign address faddr,
    port fport.

Obtained from: OpenBSD
Reviewed by: rwatson (locking), ru (man page), -current
MFC after: 1 month

19 years agoStaticize the legacy cpu devclasses and revert the name for the acpi_cpu
njl [Sun, 6 Feb 2005 07:36:08 +0000 (07:36 +0000)]
Staticize the legacy cpu devclasses and revert the name for the acpi_cpu
devclass.  As pointed out by dfr@, devclasses don't have to share the same
linkage if multiple drivers have the same name.  Newbus should match the
devclasses based on name and allocate non-conflicting unit numbers.

19 years agoUpdate my email address.
das [Sun, 6 Feb 2005 03:23:31 +0000 (03:23 +0000)]
Update my email address.

19 years agoFinish the job of sorting all includes and fix the build by including
njl [Sun, 6 Feb 2005 01:55:08 +0000 (01:55 +0000)]
Finish the job of sorting all includes and fix the build by including
malloc.h before proc.h on sparc64.  Noticed by das@

Compiled on: alpha, amd64, i386, pc98, sparc64

19 years agoNotice that NG_VERSION has been increased.
glebius [Sat, 5 Feb 2005 23:25:59 +0000 (23:25 +0000)]
Notice that NG_VERSION has been increased.

19 years agoIncrease size of arglen to uint32_t, since uint16_t proved to be
glebius [Sat, 5 Feb 2005 23:23:14 +0000 (23:23 +0000)]
Increase size of arglen to uint32_t, since uint16_t proved to be
not enough (e.g. listing 911 nodes). Bump NG_VERSION.

Reviewed by: julian, archie, ru

19 years agoMake cpu_est_clockrate() more accurate by disabling interrupts for the
njl [Sat, 5 Feb 2005 23:16:27 +0000 (23:16 +0000)]
Make cpu_est_clockrate() more accurate by disabling interrupts for the
millisecond it is calibrating.  Suggested by jhb@ and bde@.  Don't clobber
the tsc_freq with the new value since it isn't accurate enough for
timecounters and the timecounter system as a whole needs support for
changing rates before we do this.  Subtract 0.5% from our measurement
to account for overhead in DELAY.  Note that this interface is for
estimating the clockrate and needs to work well at runtime so doing a full
calibration including disabling interrupts for a second is not feasible.

19 years agoConvert to the new GAS APIs to allow for detach in the future. Also, check
njl [Sat, 5 Feb 2005 22:30:57 +0000 (22:30 +0000)]
Convert to the new GAS APIs to allow for detach in the future.  Also, check
the PERF_CTRL register in our probe method so that we can tell earlier
that another driver should handle this device due to FFixedHW.  This avoids
scaring users when attach failed when we really wanted probe to fail.

19 years agoConvert to the new GAS API so that we can free registers in the future.
njl [Sat, 5 Feb 2005 22:29:03 +0000 (22:29 +0000)]
Convert to the new GAS API so that we can free registers in the future.

19 years agoConvert the acpi_bus_alloc_gas() and acpi_PkgGas() APIs to output the memory
njl [Sat, 5 Feb 2005 22:28:36 +0000 (22:28 +0000)]
Convert the acpi_bus_alloc_gas() and acpi_PkgGas() APIs to output the memory
type.  This is needed if the resource is to be released later.  The RID is
still also present, though less necessary since rman_get_rid() can be used
to obtain it from the resource.

19 years agoAcquire the source pmap's lock in pmap_copy().
alc [Sat, 5 Feb 2005 22:06:47 +0000 (22:06 +0000)]
Acquire the source pmap's lock in pmap_copy().

19 years agoBuild cpufreq and acpi_perf on platforms that are likely to be able to
njl [Sat, 5 Feb 2005 21:01:09 +0000 (21:01 +0000)]
Build cpufreq and acpi_perf on platforms that are likely to be able to
use them.

19 years agoFix typos.
maxim [Sat, 5 Feb 2005 20:44:53 +0000 (20:44 +0000)]
Fix typos.

PR: misc/77151
Submitted by: Anton Karpov

19 years agoImplement proper handling of PG_G mappings in pmap_protect(). (I don't
alc [Sat, 5 Feb 2005 19:21:54 +0000 (19:21 +0000)]
Implement proper handling of PG_G mappings in pmap_protect().  (I don't
believe that this omission mattered before the introduction of MemGuard.)

Reviewed by: tegge@
MFC after: 1 week

19 years agoDocument how interaction with ng_ipfw node is configured.
glebius [Sat, 5 Feb 2005 18:29:03 +0000 (18:29 +0000)]
Document how interaction with ng_ipfw node is configured.

19 years agoManpage for ng_ipfw node.
glebius [Sat, 5 Feb 2005 17:53:44 +0000 (17:53 +0000)]
Manpage for ng_ipfw node.

19 years agoUse intr_disable/restore() instead of disable_intr() since the latter is
njl [Sat, 5 Feb 2005 16:31:58 +0000 (16:31 +0000)]
Use intr_disable/restore() instead of disable_intr() since the latter is
not MI.  This should fix build on non i386 platforms.

19 years agoRemove Xref to nonexistant ifmedia.4
brueffer [Sat, 5 Feb 2005 15:03:22 +0000 (15:03 +0000)]
Remove Xref to nonexistant ifmedia.4

MFC after: 3 days

19 years agoRemove last traces of le.4
brueffer [Sat, 5 Feb 2005 14:57:19 +0000 (14:57 +0000)]
Remove last traces of le.4

MFC after: 3 days

19 years agoRemove Xref to nonexistant cap.3
brueffer [Sat, 5 Feb 2005 14:16:35 +0000 (14:16 +0000)]
Remove Xref to nonexistant cap.3

Ok'ed by: rwatson
MFC after: 3 days

19 years ago- replace pointers to XF86Config with xorg.conf
brueffer [Sat, 5 Feb 2005 14:09:09 +0000 (14:09 +0000)]
- replace pointers to XF86Config with xorg.conf
- remove outdated XFree86 3.3.1 information
- bump .Dd

MFC after: 3 days

19 years agoRemove last traces of lomac.4
brueffer [Sat, 5 Feb 2005 13:52:21 +0000 (13:52 +0000)]
Remove last traces of lomac.4

MFC after: 3 days

19 years agoBackout last commit, lomac_enable is still valid. Just Xref mac_lomac.4
brueffer [Sat, 5 Feb 2005 13:44:29 +0000 (13:44 +0000)]
Backout last commit, lomac_enable is still valid.  Just Xref mac_lomac.4
instead of lomac.4.

19 years agoXref mac_lomac.4 instead of lomac.4
brueffer [Sat, 5 Feb 2005 13:36:33 +0000 (13:36 +0000)]
Xref mac_lomac.4 instead of lomac.4

MFC after: 3 days

19 years agoRemove last traces of lomac(4)
brueffer [Sat, 5 Feb 2005 13:29:20 +0000 (13:29 +0000)]
Remove last traces of lomac(4)

MFC after: 3 days

19 years agoHook up ng_ipfw to kernel build.
glebius [Sat, 5 Feb 2005 12:15:56 +0000 (12:15 +0000)]
Hook up ng_ipfw to kernel build.

19 years agoAdd ng_ipfw to kernel module build.
glebius [Sat, 5 Feb 2005 12:09:38 +0000 (12:09 +0000)]
Add ng_ipfw to kernel module build.

19 years agoAdd a ng_ipfw node, implementing a quick and simple interface between
glebius [Sat, 5 Feb 2005 12:06:33 +0000 (12:06 +0000)]
Add a ng_ipfw node, implementing a quick and simple interface between
ipfw(4) and netgraph(4) facilities.

Reviewed by: andre, brooks, julian

19 years agoVerify that SYNOPSIS section compiles.
ru [Sat, 5 Feb 2005 11:31:31 +0000 (11:31 +0000)]
Verify that SYNOPSIS section compiles.

19 years agoAdded the SYNOPSIS section.
ru [Sat, 5 Feb 2005 11:30:59 +0000 (11:30 +0000)]
Added the SYNOPSIS section.

19 years agoExpire aged flows in normal expiry thread. This fixes the problem, when
glebius [Sat, 5 Feb 2005 10:00:04 +0000 (10:00 +0000)]
Expire aged flows in normal expiry thread. This fixes the problem, when
a node disconnected from all sources of traffic never purges its cache.

19 years agoBreak long lines in code and comments.
glebius [Sat, 5 Feb 2005 09:08:33 +0000 (09:08 +0000)]
Break long lines in code and comments.

19 years agoCreate a per-module mutex on MOD_LOAD, and destroy it on MOD_UNLOAD.
ru [Sat, 5 Feb 2005 08:28:36 +0000 (08:28 +0000)]
Create a per-module mutex on MOD_LOAD, and destroy it on MOD_UNLOAD.
(This fixes witness_destroy() panic after module unload.)

OK'ed by: rwatson, julian

19 years agoOnly compile the cpufreq driver on i386 and amd64.
scottl [Sat, 5 Feb 2005 08:01:10 +0000 (08:01 +0000)]
Only compile the cpufreq driver on i386 and amd64.

19 years agoNote that functions alq_flush() and alq_post() should not be called in
jkoshy [Sat, 5 Feb 2005 02:39:07 +0000 (02:39 +0000)]
Note that functions alq_flush() and alq_post() should not be called in
contexts where sleeping is disallowed.

Pointed out by: ru

19 years ago - Don't release BKGRDINPROG until after we've bufdone'd the copy.
jeff [Sat, 5 Feb 2005 01:26:14 +0000 (01:26 +0000)]
 - Don't release BKGRDINPROG until after we've bufdone'd the copy.

Sponsored by: Isilon Systems, Inc.

19 years ago- Use bioq_insert_tail()/bioq_insert_head() instead of bioq_disksort().
pjd [Sat, 5 Feb 2005 00:30:08 +0000 (00:30 +0000)]
- Use bioq_insert_tail()/bioq_insert_head() instead of bioq_disksort().
- Improve mediasize checking.

MFC after: 1 week

19 years agoDo check that version of a message from userland matches ours.
glebius [Fri, 4 Feb 2005 21:38:42 +0000 (21:38 +0000)]
Do check that version of a message from userland matches ours.

MFC after: 3 days

19 years agoWhen we have converted an ASCII message to binary, set its version in
glebius [Fri, 4 Feb 2005 21:36:10 +0000 (21:36 +0000)]
When we have converted an ASCII message to binary, set its version in
the header. Otherwise we will send a message with zero version.

MFC after: 3 days

19 years agoAs threatened, trim the UDPATING file to the branchpoint for RELENG_5.
imp [Fri, 4 Feb 2005 21:22:06 +0000 (21:22 +0000)]
As threatened, trim the UDPATING file to the branchpoint for RELENG_5.
People wishing to see prior changes are encouraged to look at the
UPDATING file on the RELENG_5 branch.  Document when RELENG_5 was
branched, as well as the 5.3 release date, as shown in the CVS logs
for newvers.sh.

This change should not be MFC'd.

Noticed by: Matteo Riondato (and ru)

19 years agoBackout rev. 1.17 per ru@ request: there are net.graph.recvspace and
maxim [Fri, 4 Feb 2005 20:09:11 +0000 (20:09 +0000)]
Backout rev. 1.17 per ru@ request: there are net.graph.recvspace and
net.graph.maxdgram sysctls.

19 years agoFix a small scripting snafu in the previous revision.
das [Fri, 4 Feb 2005 20:05:39 +0000 (20:05 +0000)]
Fix a small scripting snafu in the previous revision.

19 years agoCall if_link_state_change() when link status changes.
glebius [Fri, 4 Feb 2005 18:36:04 +0000 (18:36 +0000)]
Call if_link_state_change() when link status changes.

PR: kern/76890
Reviewed by: rwatson, sam

19 years agoRemove another vestige of support for a non-IEEE libm.
das [Fri, 4 Feb 2005 18:32:13 +0000 (18:32 +0000)]
Remove another vestige of support for a non-IEEE libm.

19 years agoReduce diffs against vendor source (Sun fdlibm 5.3).
das [Fri, 4 Feb 2005 18:26:06 +0000 (18:26 +0000)]
Reduce diffs against vendor source (Sun fdlibm 5.3).

19 years agoDon't print out a failure message when an attach for FFixedHW fails.
njl [Fri, 4 Feb 2005 18:09:01 +0000 (18:09 +0000)]
Don't print out a failure message when an attach for FFixedHW fails.
Instead, just fail to attach so another hardware-specific driver can
claim the device.  Also, clean up some small memory leaks in the failure
case.

19 years agoReturn a special status of "not supported" for functional fixed hardware
njl [Fri, 4 Feb 2005 18:07:03 +0000 (18:07 +0000)]
Return a special status of "not supported" for functional fixed hardware
since this type of register should be handled by another driver.

19 years agoDon't rely on indirect inclusion of machine/bus.h to use
imp [Fri, 4 Feb 2005 17:33:31 +0000 (17:33 +0000)]
Don't rely on indirect inclusion of machine/bus.h to use
bus_space_{read,write}_* routines.  This doesn't matter in the current
tree, but will matter soon (the rest of the tree appears to already be
clean).

19 years ago - Add ke_runq == NULL to the conditions which will cause us to abort
jeff [Fri, 4 Feb 2005 17:22:46 +0000 (17:22 +0000)]
 - Add ke_runq == NULL to the conditions which will cause us to abort
   adjusting timeshare loads in sched_class().  This is only important if
   the thread has never run, otherwise the state checks should work as
   expected.

19 years agoWhere the returned line length from Buf_GetAll is not used just pass
harti [Fri, 4 Feb 2005 16:53:35 +0000 (16:53 +0000)]
Where the returned line length from Buf_GetAll is not used just pass
a NULL to the function. Delete the now unused local variables.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoRewrite of the buf code:
harti [Fri, 4 Feb 2005 16:48:35 +0000 (16:48 +0000)]
Rewrite of the buf code:
- convert Buf_AddByte from a macro to a function
- move #define's into the header file
- remove unused field in struct Buffer
- remove size fields - they can be easily computed
- inline Buf_OvAddByte

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoAdd a Token Ring section which lists devices supported by oltr(4) for now.
brueffer [Fri, 4 Feb 2005 16:45:11 +0000 (16:45 +0000)]
Add a Token Ring section which lists devices supported by oltr(4) for now.

19 years agoAdd oltr(4)
brueffer [Fri, 4 Feb 2005 16:43:59 +0000 (16:43 +0000)]
Add oltr(4)

19 years ago- Fix build with TRACE_MESSAGES defined
glebius [Fri, 4 Feb 2005 16:08:20 +0000 (16:08 +0000)]
- Fix build with TRACE_MESSAGES defined
- Remove extra parenthesis

19 years agocosmetic changes.
nyan [Fri, 4 Feb 2005 15:34:52 +0000 (15:34 +0000)]
cosmetic changes.

19 years agoThe bs and wdc drivers are gone.
nyan [Fri, 4 Feb 2005 15:29:54 +0000 (15:29 +0000)]
The bs and wdc drivers are gone.

19 years agoteach scope of IPv6 address to net.inet6.tcp6.getcred.
ume [Fri, 4 Feb 2005 14:43:05 +0000 (14:43 +0000)]
teach scope of IPv6 address to net.inet6.tcp6.getcred.

MFC after: 1 week

19 years agoMove machine-dependent crud to its own makefile.
das [Fri, 4 Feb 2005 14:33:39 +0000 (14:33 +0000)]
Move machine-dependent crud to its own makefile.

19 years agoRemove wrappers and other cruft intended to support SVID, mistakes in
das [Fri, 4 Feb 2005 14:08:32 +0000 (14:08 +0000)]
Remove wrappers and other cruft intended to support SVID, mistakes in
C90, and other arcana.  Most of these features were never fully
supported or enabled by default.

Ok: bde, stefanf

19 years agoSave last displayed file by having the "last" pointer global and save it
delphij [Fri, 4 Feb 2005 14:01:06 +0000 (14:01 +0000)]
Save last displayed file by having the "last" pointer global and save it
during we show the first file's tail.  Instead of:

tarsier% tail -f 1 2
==> 1 <==
foo
bar

==> 2 <==
bar
foo

==> 2 <==
bar2
foo2

Now with this change, we have:

tarsier% tail -f 1 2
==> 1 <==
foo
bar

==> 2 <==
bar
foo
bar2
foo2

While I'm there, move a comment to where it should belong to.  Also,
const'ify the "last" static because we will never need to change the
contents it points to.

MFC After: 1 week

19 years agoFix pc98 support (broken by previous change).
nyan [Fri, 4 Feb 2005 13:37:21 +0000 (13:37 +0000)]
Fix pc98 support (broken by previous change).

19 years agoMerged from sys/dev/sio/sio.c revision 1.457.
nyan [Fri, 4 Feb 2005 13:35:21 +0000 (13:35 +0000)]
Merged from sys/dev/sio/sio.c revision 1.457.

19 years agoMFi386: revision 1.605.
nyan [Fri, 4 Feb 2005 13:34:24 +0000 (13:34 +0000)]
MFi386: revision 1.605.

19 years agoNone of the users of Buf_Discard used it to get rid of only a part of
harti [Fri, 4 Feb 2005 13:34:16 +0000 (13:34 +0000)]
None of the users of Buf_Discard used it to get rid of only a part of
the buffer. So replace Buf_Discard by Buf_Clear which just gets rid
of the entire contents.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMFi386: revision 1.514.
nyan [Fri, 4 Feb 2005 13:33:46 +0000 (13:33 +0000)]
MFi386: revision 1.514.

19 years agoInline the ADDWORD() macro in the two places where it is used. It just
harti [Fri, 4 Feb 2005 13:29:50 +0000 (13:29 +0000)]
Inline the ADDWORD() macro in the two places where it is used. It just
obfuscates the code.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoUse _exit() instead of exit() when the exec() after a vfork() fails.
harti [Fri, 4 Feb 2005 13:26:37 +0000 (13:26 +0000)]
Use _exit() instead of exit() when the exec() after a vfork() fails.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMove PrintAddr() from util.c into suff.c - the only file where it is
harti [Fri, 4 Feb 2005 13:23:39 +0000 (13:23 +0000)]
Move PrintAddr() from util.c into suff.c - the only file where it is
actuall used, and make it static.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoGeneral whitespace cleanup: remove mixes of tabs and spaces, remove
harti [Fri, 4 Feb 2005 12:38:57 +0000 (12:38 +0000)]
General whitespace cleanup: remove mixes of tabs and spaces, remove
space after function names, remove spaces on emtpy lines.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMinor cleanup: make brk_string to return argc only if the pointer to it
harti [Fri, 4 Feb 2005 12:30:54 +0000 (12:30 +0000)]
Minor cleanup: make brk_string to return argc only if the pointer to it
was non-NULL. This let's us eliminated an otherwise unused variable.

shellneeded can never return -1 so there is no need to check for it and
hence no need for a variable to hold the returned value.

Submitted by: Max Okumoto <okumoto@ucsd.edu> (partly)

19 years agoFurther constification. Use a temporary hack (copying the input string)
harti [Fri, 4 Feb 2005 12:10:20 +0000 (12:10 +0000)]
Further constification. Use a temporary hack (copying the input string)
until Var_Subst is fixed.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoQuote example file names consistently, and fix a small grammatical nit.
ceri [Fri, 4 Feb 2005 11:37:49 +0000 (11:37 +0000)]
Quote example file names consistently, and fix a small grammatical nit.