]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
25 years ago<sys/types.h> isn't a prerequisite for <kvm.h>.
bde [Wed, 16 Dec 1998 19:12:14 +0000 (19:12 +0000)]
<sys/types.h> isn't a prerequisite for <kvm.h>.

25 years agoThe previous commit was bogus. <stdlib.h> was never a prerequisite
bde [Wed, 16 Dec 1998 19:04:54 +0000 (19:04 +0000)]
The previous commit was bogus.  <stdlib.h> was never a prerequisite
for <kvm.h> or kvm_getloadavg(), and <sys/types.h> was only a
prerequisite for <kvm.h> when <kvm.h> was broken.

25 years agoDeclare size_t and ssize_t if they are not already declared, so that
bde [Wed, 16 Dec 1998 18:59:47 +0000 (18:59 +0000)]
Declare size_t and ssize_t if they are not already declared, so that
<kvm.h> is self-sufficient again.

Moved typedefs and forward struct declarations out of __BEGIN_DECLS/
__END_DECLS.

Don't comment out the prototype for kvm_uread().  This was a 4 year
old kludge for previous breakage of self-sufficiency.  The prototypwe
was broken instead.

Fixed bitrot (const poisoning) in the type of kvm_uread().

Fixed order of the declaration of kvm_uread().

25 years agoStraigthen out the use of the tls and tlf callbacks.
phk [Wed, 16 Dec 1998 18:42:38 +0000 (18:42 +0000)]
Straigthen out the use of the tls and tlf callbacks.

Not tested on the if_sr, if_cx and if_ar drivers, but
expected to work just the same as it used to.

Any users of these drivers (or even better: donors
of hardware for them) please contact phk@freebsd.org
so we can test the next batch of changes to if_sppp.

25 years agoAdjust for kern.ps_strings and PS_STRINGS not being a pointer. This
bde [Wed, 16 Dec 1998 18:31:51 +0000 (18:31 +0000)]
Adjust for kern.ps_strings and PS_STRINGS not being a pointer.  This
fixes a type mismatch in the call to kvm_uread().  The bug has gone
undetected for almost 3 years because kvm_uproc()'s protoype has been
disabled for almost 4 years.

Trust sysctlbyname() to work properly if it succeeds.

Fixed style bugs in revs. 1.19 and 1.22.

25 years agoGeneralize the if_up() and if_down() functions under the names
phk [Wed, 16 Dec 1998 18:30:43 +0000 (18:30 +0000)]
Generalize the if_up() and if_down() functions under the names
if_route() and if_unroute().

This is first step towards sanitizing IFF_UP and IFF_RUNNING

25 years agoAdd missing "break"s to allow multicast routing to work.
fenner [Wed, 16 Dec 1998 18:07:11 +0000 (18:07 +0000)]
Add missing "break"s to allow multicast routing to work.

Submitted by: Amancio Hasty <hasty@rah.star-gate.com>

25 years agoProbable fix for the "cdda2wav" panics that various people have been
ken [Wed, 16 Dec 1998 18:00:39 +0000 (18:00 +0000)]
Probable fix for the "cdda2wav" panics that various people have been
reporting since this past summer.  (I think Daniel O'Conner was the first.)

The problem appears to have been something like this:

 - cdda2wav by default passes in a buffer that is close to the 128K MAXPHYS
   limit.
 - many times, the buffer is not page aligned
 - vmapbuf() truncates the address, so that it is page aligned
 - that causes the total size of the buffer to be greater than MAXPHYS,
   which of course is a bad thing.

Here's a quote from the PR (kern/9067):

==================
In particular, note bp->b_bufsize = 0x0001f950 and bp->b_data = 0xf2219960
(which does not start on a page boundary).  vunmapbuf() loops through all
the pages without any difficulty until addr reaches 0xf2239000, and then
the panic occurs.  This seems to indicate that we are exceeding MAXPHYS
since we actually started from the middle of a page (the data is being
transfered to a non page aligned location).

To complete the description, note that the system call originates from
ReadCddaMMC12() (in scsi_cmds.c of cdda2wav) with a request to read 55
audio sectors of 2352 bytes (which is calculated to fall under MAXPHYS).
This in turn ends up calling scsi_send() (in scsi-bsd.c) which calls
cam_fill_csio() and cam_send_ccb().  This results in a CAMIOCOMMAND ioctl
with a ccb function code of XPT_SCSI_IO.
==================

The fix is to change the size check in cam_periph_mapmem() so that it is
like the one in minphys().  In particular, it is something like:

if ((buffer_length + (buf_ptr & PAGE_MASK)) > MAXPHYS)
buffer is too big

My fix is based on the one in the PR, but I cleaned up a fair number of
things in cam_periph_mapmem().  The checks for each buffer to be mapped
are now in a separate loop from the actual mapping operation.  With the new
arrangement, we don't have to bother with unmapping any previously mapped
buffers if one of the checks fails.

Many thanks to James Liu for tracking this down.  I'd appreciate it if some
vm-savvy folks would look this over.  I believe this fix is correct, but I
could be wrong.

PR: kern/9067 (also, kern/8112)
Reviewed by: gibbs
Submitted by: "James T. Liu" <jtliu@phlebas.rockefeller.edu>

25 years agoDeclare setproctitle() as printf0-like.
bde [Wed, 16 Dec 1998 17:52:15 +0000 (17:52 +0000)]
Declare setproctitle() as printf0-like.

25 years agoAdjust for kern.ps_strings and PS_STRINGS not being a pointer. This is
bde [Wed, 16 Dec 1998 17:34:05 +0000 (17:34 +0000)]
Adjust for kern.ps_strings and PS_STRINGS not being a pointer.  This is
an unimprovement here.  I thought it would be an improvement, as in libkvm,
but here we can access the strings directly.

Use sysctlbyname() instead of sysctl() and trust it to give a nonzero
address if it succeeds.

25 years agoDocument securelevel 3.
ghelmer [Wed, 16 Dec 1998 17:14:16 +0000 (17:14 +0000)]
Document securelevel 3.
PR: docs/8674

25 years agoMention affect of securelevel 3 and higher on attempts to change filter lists.
ghelmer [Wed, 16 Dec 1998 17:10:03 +0000 (17:10 +0000)]
Mention affect of securelevel 3 and higher on attempts to change filter lists.

Prompted by: PR docs/7785

25 years agoMention securelevel 3 as affecting ipfw and dummynet. Generalize comment
ghelmer [Wed, 16 Dec 1998 16:50:12 +0000 (16:50 +0000)]
Mention securelevel 3 as affecting ipfw and dummynet.  Generalize comment
about fdisk and securelevel 2.
PR: docs/7785

25 years agoRemoved the cast to a pointer in the definition of PS_STRINGS and
bde [Wed, 16 Dec 1998 16:28:58 +0000 (16:28 +0000)]
Removed the cast to a pointer in the definition of PS_STRINGS and
adjusted related casts to match (only in the kernel in this commit).
The pointer was only wanted in one place in kern_exec.c.  Applications
should use the kern.ps_strings sysctl instead of PS_STRINGS, so they
shouldn't notice this change.

25 years agoRemoved all traces of SYSCTL_INTPTR(). Pointers can't really be passed
bde [Wed, 16 Dec 1998 16:06:29 +0000 (16:06 +0000)]
Removed all traces of SYSCTL_INTPTR().  Pointers can't really be passed
across the kernel -> application interface, and for the one sysctl where
they were passed and actually used (kern.ps_strings), the applications
want addresses represented as u_longs anyway (the other sysctl that
passed them, kern.usrstack, has never been used).

Agreed to by: dfr, phk

25 years agoImplement and document fetchStatFTP.
des [Wed, 16 Dec 1998 15:29:03 +0000 (15:29 +0000)]
Implement and document fetchStatFTP.
Update description of struct url_stat in the man page.
Clean up error handling in ftp.c.

25 years agoRemoved bogus casts of USRSTACK and/or the other operand in binary
bde [Wed, 16 Dec 1998 15:21:51 +0000 (15:21 +0000)]
Removed bogus casts of USRSTACK and/or the other operand in binary
expressions involving USRSTACK.

25 years agoSync with current sc driver in sys/i386/isa.
kato [Wed, 16 Dec 1998 14:57:38 +0000 (14:57 +0000)]
Sync with current sc driver in sys/i386/isa.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>

25 years agoMake it possible to have separate install scripts as well as have
jkh [Wed, 16 Dec 1998 13:59:31 +0000 (13:59 +0000)]
Make it possible to have separate install scripts as well as have
an on-delete script.

Submitted by: Rajesh Vaidheeswarran <rv@fore.com>

25 years agoBest version so far. Flicker floor is now 2e-12.
phk [Wed, 16 Dec 1998 11:46:41 +0000 (11:46 +0000)]
Best version so far.  Flicker floor is now 2e-12.

25 years agoRemove appending objformat to obj prefix for
ache [Wed, 16 Dec 1998 11:45:51 +0000 (11:45 +0000)]
Remove appending objformat to obj prefix for
backend targets. Old variant cause top level things build in
/usr/obj/elf while lower level things build in /usr/obj which cause
mismatch

25 years agoRemove unused header files. Fix a few shadowing bugs. Improve error reporting.
des [Wed, 16 Dec 1998 11:44:31 +0000 (11:44 +0000)]
Remove unused header files. Fix a few shadowing bugs. Improve error reporting.

25 years agoAdd verbose flag, and support functions.
des [Wed, 16 Dec 1998 10:24:55 +0000 (10:24 +0000)]
Add verbose flag, and support functions.
Brucify the Makefile.
Differentiate atime and mtime in fetch*Stat().
Fix a few pointer bugs.
Tweak some error messages.
Don't #include sys/param.h and stdio.h in fetch.h.
Document that sys/param.h and stdio.h must be #included before fetch.h.

25 years agoRemoved dynamic loading of FileHandle
n_hibma [Wed, 16 Dec 1998 09:09:09 +0000 (09:09 +0000)]
Removed dynamic loading of FileHandle

25 years agoAs previously threatened, clean up the rshd -a option and make it default
peter [Wed, 16 Dec 1998 07:20:45 +0000 (07:20 +0000)]
As previously threatened, clean up the rshd -a option and make it default
on rshd and rlogind.  However, note that:
1: rshd used to drop a connection with -a if the hostname != ip address.
   This is unneeded, because iruserok() does it's own checking.
   It was also wrong if .rhosts had an explicit IP address in it,
   connections would be dropped from that host solely because the DNS was
   mismatched even though it was explicitly intended to work by IP address.
2: rlogind and rshd check the hostname mappings by default now because that
   is what goes into the utmp/wtmp and logs.  If the hostname != ip address,
   then it uses the IP address for logging/utmp/wtmp purposes.  There isn't
   much point logging ficticious hostnames.
3: rshd -a is now accepted (but ignored) for compatability.  If you really
   want to make life miserable for people with bad reverse DNS, use tcpd in
   paranoid mode (which is questionable anyway, given DNS ttl tweaking).

25 years agoUpdate to note which specific brand of IDE drive does this.
jkh [Wed, 16 Dec 1998 07:14:01 +0000 (07:14 +0000)]
Update to note which specific brand of IDE drive does this.

25 years agoOld stuff laying around: Don't use getstr which can conflict with some
peter [Wed, 16 Dec 1998 06:06:06 +0000 (06:06 +0000)]
Old stuff laying around:  Don't use getstr which can conflict with some
curses/termcap/terminfo implementations and causes recursion.

25 years agoOld stuff laying around: Don't use a function called getstr(), that has
peter [Wed, 16 Dec 1998 06:04:29 +0000 (06:04 +0000)]
Old stuff laying around:  Don't use a function called getstr(), that has
nasty consequences when the system curses is ncurses as this conflicts
with a ncurses funciton and causes recursion.

25 years agoOld stuff from a source tree: copy (verbatum) the code to expand the
peter [Wed, 16 Dec 1998 06:01:33 +0000 (06:01 +0000)]
Old stuff from a source tree:  copy (verbatum) the code to expand the
 %s/%m in the default /etc/gettytab.

25 years agoOld nit lying around in a source tree: Slightly optimize the number of
peter [Wed, 16 Dec 1998 05:50:25 +0000 (05:50 +0000)]
Old nit lying around in a source tree:  Slightly optimize the number of
uname/gname overrides and /sets.

25 years agoOld nit lying around: Don't override the gname when it's the same as the
peter [Wed, 16 Dec 1998 05:47:53 +0000 (05:47 +0000)]
Old nit lying around:  Don't override the gname when it's the same as the
previous /set.

25 years agoOld stuff laying around: Don't override /tmp to the same uid/gid as the
peter [Wed, 16 Dec 1998 05:45:58 +0000 (05:45 +0000)]
Old stuff laying around:  Don't override /tmp to the same uid/gid as the
previous /set defaults

25 years agoOld stuff lying around a source tree:
peter [Wed, 16 Dec 1998 05:34:49 +0000 (05:34 +0000)]
Old stuff lying around a source tree:
 Create/remove /etc/wall_cmos_clock without using system() and magic paths.

25 years agoCleaning out old stuff from one of my source trees:
peter [Wed, 16 Dec 1998 05:29:09 +0000 (05:29 +0000)]
Cleaning out old stuff from one of my source trees:
  use mkdtemp() rather than mktemp() and fix a trivial memory leak.

25 years ago Added /usr/share/examples/portal to mtree
dillon [Wed, 16 Dec 1998 05:01:44 +0000 (05:01 +0000)]
Added /usr/share/examples/portal to mtree

25 years agoAdd support for building on MIPS based systems.
imp [Wed, 16 Dec 1998 04:59:53 +0000 (04:59 +0000)]
Add support for building on MIPS based systems.

25 years agoFree memory from getmode.
imp [Wed, 16 Dec 1998 04:54:08 +0000 (04:54 +0000)]
Free memory from getmode.

Obtained from: OpenBSD

25 years agoFree memory from setmode.
imp [Wed, 16 Dec 1998 04:51:27 +0000 (04:51 +0000)]
Free memory from setmode.

Obtained from: OpenBSD

25 years agoReturn memory from setmode.
imp [Wed, 16 Dec 1998 04:50:46 +0000 (04:50 +0000)]
Return memory from setmode.

Obtained from: OpenBSD

25 years agoFix two possible non-exploitable buffer overflows.
imp [Wed, 16 Dec 1998 04:48:00 +0000 (04:48 +0000)]
Fix two possible non-exploitable buffer overflows.

Thanks to: A friend at Sun auditing dump/restore for Solaris.

25 years agoFree memory from setmode.
imp [Wed, 16 Dec 1998 04:45:35 +0000 (04:45 +0000)]
Free memory from setmode.

Obtained from: OpenBSD

25 years agoUse getcwd in stead of using getwd so that we try harder to avoid
imp [Wed, 16 Dec 1998 04:44:32 +0000 (04:44 +0000)]
Use getcwd in stead of using getwd so that we try harder to avoid
overflowing a buffer.

Obtained from: Either OpenBSD or a discussion in bugtraq.

25 years agoFree memory obtained from setmode.
imp [Wed, 16 Dec 1998 04:42:33 +0000 (04:42 +0000)]
Free memory obtained from setmode.

Obtained from: OpenBSD

25 years agoAdd reminder to return memory allocated by this call.
imp [Wed, 16 Dec 1998 04:39:23 +0000 (04:39 +0000)]
Add reminder to return memory allocated by this call.

Obtained from: OpenBSD

25 years agoThe perlinterp option builds and works, but I'm not so sure how it'll go
peter [Wed, 16 Dec 1998 04:02:56 +0000 (04:02 +0000)]
The perlinterp option builds and works, but I'm not so sure how it'll go
in a release or buildworld environment, so I'll leave it disabled.

25 years agoMake this work with the perl5 in the source tree - the API has "evolved"
peter [Wed, 16 Dec 1998 04:00:25 +0000 (04:00 +0000)]
Make this work with the perl5 in the source tree - the API has "evolved"
and some code glitches had to be fixed.

25 years agoDisable build/install of boot.help until we sort out how to construct it
msmith [Wed, 16 Dec 1998 02:27:15 +0000 (02:27 +0000)]
Disable build/install of boot.help until we sort out how to construct it
in the makeworld environment.

25 years agovxalloc() can return NULL. Deal with it.
eivind [Wed, 16 Dec 1998 00:38:57 +0000 (00:38 +0000)]
vxalloc() can return NULL.  Deal with it.

25 years agoFix possible NULL-pointer deref in error case (same as DEVFS).
eivind [Wed, 16 Dec 1998 00:10:51 +0000 (00:10 +0000)]
Fix possible NULL-pointer deref in error case (same as DEVFS).

25 years agoAvoid NULL-pointer dereference on error condition.
eivind [Tue, 15 Dec 1998 23:46:59 +0000 (23:46 +0000)]
Avoid NULL-pointer dereference on error condition.

25 years ago Remove signal mask prior to calling exec
dillon [Tue, 15 Dec 1998 23:12:33 +0000 (23:12 +0000)]
Remove signal mask prior to calling exec

25 years agoFix a rather bad latency problem (uncovered by the recent timer commit).
brian [Tue, 15 Dec 1998 19:12:24 +0000 (19:12 +0000)]
Fix a rather bad latency problem (uncovered by the recent timer commit).
Problem reported by: Christopher Hall <hsw@acm.org>

25 years ago Add portal example
dillon [Tue, 15 Dec 1998 19:05:35 +0000 (19:05 +0000)]
Add portal example

PR: misc/8796

25 years agoAdd pt_tcplisten.c functionality, fix a few minor bugs
dillon [Tue, 15 Dec 1998 18:59:07 +0000 (18:59 +0000)]
Add pt_tcplisten.c functionality, fix a few minor bugs

PR:             kern/8793, misc/8796, kern/8797, kern/8798, kern/8050, kern/6758
Submitted by: Duncan Barclay <dmlb@ragnet.demon.co.uk>

25 years agoWrap two macros into do { ... } while (0), and fix the way they're used
des [Tue, 15 Dec 1998 17:38:33 +0000 (17:38 +0000)]
Wrap two macros into do { ... } while (0), and fix the way they're used
in the kernel.

Reviewed by: bde

25 years agoAdd some emacs code to make cc-mode almost compatible to style(9).
cracauer [Tue, 15 Dec 1998 16:51:49 +0000 (16:51 +0000)]
Add some emacs code to make cc-mode almost compatible to style(9).
Sort entries in toplevel README.

25 years agoCompile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE
cracauer [Tue, 15 Dec 1998 16:43:14 +0000 (16:43 +0000)]
Compile threaded proframs with -D_THREAD_SAFE, not -D_THREADSAFE

25 years agoOops, I forgot to commit two diffs to fe driver.
kato [Tue, 15 Dec 1998 15:56:37 +0000 (15:56 +0000)]
Oops, I forgot to commit two diffs to fe driver.

25 years agoPC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
kato [Tue, 15 Dec 1998 15:51:37 +0000 (15:51 +0000)]
PC/AT(ISA) version and PC-98(NEC) version of if_fe drivers are merged,
as well as several functional additions.

(1) dot3 MIB support.
(2) if_media selection method support.
(3) bridge support.
(4) new boards support. Supported boards are as follows.
    [PC/AT]
     * Fujitsu FMV-180 series
     * Allied-Telesis RE2000 series
     * Allied-Telesyn AT1700 series
     * Gateway Communications G/Ether series
     * UB networks Access/PC ISA series
     * TDK/LANX LAC-AX series
     * ICL EtherTeam16i series
     * RATOC REX-5586/5587
    [PC-98]
     * Allied-Telesis RE1000 series
     * Allied-Telesis RE1000Plus/ME1500 series
     * Contec C-NET(9N)E series
     * Contec C-NET(98)P2 series
     * UB networks Access/PC N98C+ series
     * TDK/LANX LAC-98 series(not tested)

Submitted by: seki@sysrap.cs.fujitsu.co.jp (Masahiro Sekiguchi) and
              chi@bd.mbn.or.jp (Chiharu Shibata)

25 years agoReformat help to improve subtopic display appearance, other minor
msmith [Tue, 15 Dec 1998 14:32:17 +0000 (14:32 +0000)]
Reformat help to improve subtopic display appearance, other minor
cleaning.  The 'help' command in the loader should now be usable and
hopefully informative.

25 years agoBuild the composite help file from the generic and architecture-specific
msmith [Tue, 15 Dec 1998 14:21:30 +0000 (14:21 +0000)]
Build the composite help file from the generic and architecture-specific
help files, sorting topics and subtopics to allow maximum flexibility.

25 years agoFix the "Unknown HTTP error" message.
des [Tue, 15 Dec 1998 12:24:26 +0000 (12:24 +0000)]
Fix the "Unknown HTTP error" message.
Make compile_et generate prototypes.

25 years agoGenerate a prototype for initialize_XXXX_error_table() when the language
des [Tue, 15 Dec 1998 12:20:27 +0000 (12:20 +0000)]
Generate a prototype for initialize_XXXX_error_table() when the language
is set to C.

25 years agoFixed misformatted error messages. wderror() was broken way back
bde [Tue, 15 Dec 1998 09:16:57 +0000 (09:16 +0000)]
Fixed misformatted error messages.  wderror() was broken way back
in rev.1.30 (just before FreeBSD-1.1R) to almost match corresponding
breakage in FreeBSD-1.x's diskerr().  FreeBSD-2.x's diskerr() never
had the breakage.

25 years agoPull in new ccb_hdr list types.
gibbs [Tue, 15 Dec 1998 08:24:45 +0000 (08:24 +0000)]
Pull in new ccb_hdr list types.

25 years agoPerform a save data pointers operation if a data transfer was performed
gibbs [Tue, 15 Dec 1998 08:22:42 +0000 (08:22 +0000)]
Perform a save data pointers operation if a data transfer was performed
in target mode, but we are not completing the command.

Use a template of allowed bus arbitration phases to selectively and
dynamically enable/disable initiator or target (re)selection.

Properly handle timeouts for target role transactions - just go to the
bus free state and report the error to the peripheral driver.

Checkpoint support for the XPT_ABORT_CCB function code.  This currently
handles the accept tio and immediate notify ccb types, but does not
handle the continue target I/O or SCSI I/O ccb types.  This is enough
to handle dynamic target enable/disable events.

Clean up the SCSI reset code so that we perform at most 1 SCSI bus
reset at initialization, the reset requested by the XPT layer.

25 years agoEnable/Disable our lun on open/close. Track resources kept at the controller
gibbs [Tue, 15 Dec 1998 08:15:15 +0000 (08:15 +0000)]
Enable/Disable our lun on open/close.  Track resources kept at the controller
level so they can be reclaimed before attempting to disable our lun.
Correctly free descriptors.  Add periph locking and spl protection
around open and close.

25 years agoWire up the XPT_ABORT and XPT_RESET_DEV ccb function codes so they can
gibbs [Tue, 15 Dec 1998 08:13:10 +0000 (08:13 +0000)]
Wire up the XPT_ABORT and XPT_RESET_DEV ccb function codes so they can
be delivered to controller drivers.

Adjust for changes to the ccb_hdr list types in cam_queue.h

25 years agoAdd definitions for TAILQ, LIST, and SLIST ccb_hdr queues.
gibbs [Tue, 15 Dec 1998 08:12:03 +0000 (08:12 +0000)]
Add definitions for TAILQ, LIST, and SLIST ccb_hdr queues.

25 years agoAdded UCLASS_CDC definitions to usb.h
n_hibma [Tue, 15 Dec 1998 07:06:51 +0000 (07:06 +0000)]
Added UCLASS_CDC definitions to usb.h

25 years agounlocalise build date (merge from i386)
msmith [Tue, 15 Dec 1998 04:27:15 +0000 (04:27 +0000)]
unlocalise build date (merge from i386)

25 years agoAdd comments to code that I was trying to understand.
julian [Tue, 15 Dec 1998 03:29:52 +0000 (03:29 +0000)]
Add comments to code that I was trying to understand.
Hopefully will save others time.

Someone who understands this better might check for correctness.

25 years agoAdd another modem (Psion Dacom)
msmith [Tue, 15 Dec 1998 02:57:30 +0000 (02:57 +0000)]
Add another modem (Psion Dacom)

Submitted by: "Gary Palmer" <gpalmer@FreeBSD.ORG>

25 years agoo Convert length of hccb to integer from the array. Eivind Eklund
imp [Tue, 15 Dec 1998 02:51:54 +0000 (02:51 +0000)]
o Convert length of hccb to integer from the array.  Eivind Eklund
  pointed this out, but I've not seen a manifestation of this.
o Check against 0x00 as well as 0xff for geometry register, as some clone
  cards don't return 0xff.  Vadim Mikhailov pointed this out in PR
  8743 for his Dell SCSI Array controller working in AHA-1540
  emulation mode.  Note that this test is likely to go away in the
  future in favor of a better one Justin has recommended.

25 years agoThis file contains minimal instructions for the moderately clueful to
imp [Tue, 15 Dec 1998 00:24:32 +0000 (00:24 +0000)]
This file contains minimal instructions for the moderately clueful to
update their systems from prior versions of FreeBSD.  It is only for
November 18, 1998 and newer systems.  If you have an older system, you
are on your own.

I'll update this from time to time, and if it shows signs of bitrot
I'll kill it.

25 years agoAdd "-N" option to supress reverse name lookup.
billf [Mon, 14 Dec 1998 22:40:39 +0000 (22:40 +0000)]
Add "-N" option to supress reverse name lookup.
This comes in really handy when you're telneting the broken DNS server by
IP.

PR: bin/8698

25 years ago Remove hardwired alignment, align to sizeof(long) which should be more
dillon [Mon, 14 Dec 1998 21:34:55 +0000 (21:34 +0000)]
Remove hardwired alignment, align to sizeof(long) which should be more
    portable (though the hardwired alignment of 16 would also have worked just
    fine and perhaps even resulted in better L1 cache operation).

25 years ago fix intermediate overflow in 'quad = int * int' situation by casting
dillon [Mon, 14 Dec 1998 21:17:37 +0000 (21:17 +0000)]
fix intermediate overflow in 'quad = int * int' situation by casting
    the arguments to the multiply to a quad equivalent.  In this case,
    vm_ooffset_t.

Reviewed by: Archie Cobbs <archie@whistle.com>

25 years agoThe OHCI interfaces I have access to map their control regs etc. into
julian [Mon, 14 Dec 1998 21:14:11 +0000 (21:14 +0000)]
The OHCI interfaces I have access to map their control regs etc. into
memory address space rather than IO space.. reflect this when looking for the
interface revision register.

If this is not true for them all then we probably need some smarter code.

25 years agoAdd -Wunused to kernel build flags.
archie [Mon, 14 Dec 1998 21:03:27 +0000 (21:03 +0000)]
Add -Wunused to kernel build flags.
Reviewed by: cvs-committers@freebsd.org

25 years ago Accidently broke structural alignment in SEMUSZ calculation. Added
dillon [Mon, 14 Dec 1998 21:01:47 +0000 (21:01 +0000)]
Accidently broke structural alignment in SEMUSZ calculation.  Added
    alignment back in ( but am also keeping the use offsetof() ).

25 years agoRather than interrupting 10 times per second then checking
brian [Mon, 14 Dec 1998 19:24:30 +0000 (19:24 +0000)]
Rather than interrupting 10 times per second then checking
to see if there's anything to do, schedule the next alarm
based on the next required timeout.
This decreases the load when there are lots of relatively
idle ppp processes.

While I'm in there, handle the possibility that a timeout
makes the timer element go out of scope by grabbing the
enext pointer before executing the timer function.

25 years agoMake this protototype of mmap return void *, like two other copies.
dt [Mon, 14 Dec 1998 19:23:16 +0000 (19:23 +0000)]
Make this protototype of mmap return void *, like two other copies.

25 years agoMoved the declaration of another non-SMP variable into the non-SMP section.
bde [Mon, 14 Dec 1998 19:16:17 +0000 (19:16 +0000)]
Moved the declaration of another non-SMP variable into the non-SMP section.

25 years agoAdded 3 new errno values, requred by various standards: EOVERFLOW,
dt [Mon, 14 Dec 1998 18:54:04 +0000 (18:54 +0000)]
Added 3 new errno values, requred by various standards: EOVERFLOW,
ECANCELED, EILSEQ.

Fixed ibcs2 and especially linux EIDRM and ENOMSG errno mapping.
Reviewed by: Dan Nelson <dnelson@emsphone.com>

25 years agoipfw changes for dummynet. manpages still missing
luigi [Mon, 14 Dec 1998 18:43:03 +0000 (18:43 +0000)]
ipfw changes for dummynet. manpages still missing

25 years agoIfdefed the declarations of conditionally used variables.
bde [Mon, 14 Dec 1998 18:21:34 +0000 (18:21 +0000)]
Ifdefed the declarations of conditionally used variables.

25 years agoLast bits (i think) of dummynet for -current.
luigi [Mon, 14 Dec 1998 18:09:13 +0000 (18:09 +0000)]
Last bits (i think) of dummynet for -current.

25 years agoBridging support. Wait for LINT to be updated before trying it.
luigi [Mon, 14 Dec 1998 17:58:05 +0000 (17:58 +0000)]
Bridging support. Wait for LINT to be updated before trying it.

25 years ago(Hopefully) fix support for "large" files. Mostly cast block numbers to off_t
dt [Mon, 14 Dec 1998 17:51:30 +0000 (17:51 +0000)]
(Hopefully) fix support for "large" files. Mostly cast block numbers to off_t
before they multiplied to block sizes.

25 years agoBring dummynet+bridging in -current. Everything will be ready when
luigi [Mon, 14 Dec 1998 17:46:15 +0000 (17:46 +0000)]
Bring dummynet+bridging in -current. Everything will be ready when
LINT is updated.

25 years agoFixed LINT breakage in previous commit. Option FDC_YE enabled a
bde [Mon, 14 Dec 1998 16:29:58 +0000 (16:29 +0000)]
Fixed LINT breakage in previous commit.  Option FDC_YE enabled a
syntax error.  Options FDC_YE and DEVFS together enabled references
to a nonexistent variable and calls of a nonexistent function.

25 years agoFix tabs that should have been spaces. Some were in kernel error messages.
mckay [Mon, 14 Dec 1998 13:30:29 +0000 (13:30 +0000)]
Fix tabs that should have been spaces.  Some were in kernel error messages.

25 years agoRestore traditional behaviour by allowing tabs in strings. In deference
mckay [Mon, 14 Dec 1998 13:27:48 +0000 (13:27 +0000)]
Restore traditional behaviour by allowing tabs in strings.  In deference
to the new age of internationalisation, I used isblank() instead of a
literal '\t'.

25 years agoRemoved probe for VIA 82C586B OHCI controller (is done in ohci_pci.c now)
n_hibma [Mon, 14 Dec 1998 09:46:31 +0000 (09:46 +0000)]
Removed probe for VIA 82C586B OHCI controller (is done in ohci_pci.c now)

25 years agoAdded Id
n_hibma [Mon, 14 Dec 1998 09:40:15 +0000 (09:40 +0000)]
Added Id

25 years agoAdded Id to all files
n_hibma [Mon, 14 Dec 1998 09:32:25 +0000 (09:32 +0000)]
Added Id to all files

25 years agoAdded Id
n_hibma [Mon, 14 Dec 1998 09:31:41 +0000 (09:31 +0000)]
Added Id

25 years agoAdded comment
n_hibma [Mon, 14 Dec 1998 09:15:19 +0000 (09:15 +0000)]
Added comment

25 years agoAdded copyright and Id
n_hibma [Mon, 14 Dec 1998 09:13:29 +0000 (09:13 +0000)]
Added copyright and Id