]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
23 years agoNew release notes: txp(4) driver.
bmah [Tue, 24 Jul 2001 00:32:51 +0000 (00:32 +0000)]
New release notes:  txp(4) driver.

Updates:  Cross-reference SA-01:49 for telnet(8) buffer overflow fix,
binutils upgrade to snapshot, tcpdump 3.6.3, OpenSSL 0.9.6b.

23 years agoUse the IANA assignment IFT_L2VLAN directly instead of indirecting through
fenner [Tue, 24 Jul 2001 00:03:51 +0000 (00:03 +0000)]
Use the IANA assignment IFT_L2VLAN directly instead of indirecting through
 a privately #defined IFT_8021_VLAN.

MFC after: 3 days

23 years agoGrrrr: s/DFS-538TX/DFE-538TX/
bmah [Mon, 23 Jul 2001 23:35:31 +0000 (23:35 +0000)]
Grrrr:  s/DFS-538TX/DFE-538TX/

23 years agoQuiet a [useless] compiler warning.
obrien [Mon, 23 Jul 2001 23:27:28 +0000 (23:27 +0000)]
Quiet a [useless] compiler warning.

23 years agoMerge tcpdump 3.6.3
fenner [Mon, 23 Jul 2001 23:15:44 +0000 (23:15 +0000)]
Merge tcpdump 3.6.3

23 years agoThis commit was generated by cvs2svn to compensate for changes in r80231,
fenner [Mon, 23 Jul 2001 23:15:13 +0000 (23:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80231,
which included commits to RCS files with non-trunk default branches.

23 years agoVirgin import of tcpdump.org tcpdump v3.6.3
fenner [Mon, 23 Jul 2001 23:15:13 +0000 (23:15 +0000)]
Virgin import of tcpdump.org tcpdump v3.6.3

23 years agoBasically rewrite the dofork() routine, to add more error-checking and
gad [Mon, 23 Jul 2001 23:13:39 +0000 (23:13 +0000)]
Basically rewrite the dofork() routine, to add more error-checking and
correct the error-checking that was there.  With the old code, an error
return from getpwuid(daemon_user) could turn the lpd process into a very
effective fork-bomb...

Reviewed by: freebsd-audit freebsd-print (a little...)
MFC after: 6 days

23 years agoTurn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
wpaul [Mon, 23 Jul 2001 22:27:17 +0000 (22:27 +0000)]
Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
won't trap.

23 years agoMFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
kris [Mon, 23 Jul 2001 22:00:51 +0000 (22:00 +0000)]
MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
to ensure deterministic operation

23 years agooutput_data(), output_datalen() and netflush() didn't actually guarantee
kris [Mon, 23 Jul 2001 21:52:26 +0000 (21:52 +0000)]
output_data(), output_datalen() and netflush() didn't actually guarantee
to do what they are supposed to: under some circumstances output data would
be truncated, or the buffer would not actually be flushed (possibly leading
to overflows when the caller assumes the operation succeeded).  Change the
semantics so that these functions ensure they complete the operation before
returning.

Comment out diagnostic code enabled by '-D reports' which causes an
infinite recursion and an eventual crash.

Patch developed with assistance from ru and assar.

23 years agoSimplify IPv4 mapped IPv6 address handling.
ume [Mon, 23 Jul 2001 21:42:22 +0000 (21:42 +0000)]
Simplify IPv4 mapped IPv6 address handling.

Reviewed by: brian
MFC after: 5 days

23 years agoAdd an external function to unlink a netgraph type from the types list.
julian [Mon, 23 Jul 2001 21:14:57 +0000 (21:14 +0000)]
Add an external function to unlink a netgraph type from the types list.

23 years agoAIEEE! Commit the firmware image too. *blush*
wpaul [Mon, 23 Jul 2001 21:01:36 +0000 (21:01 +0000)]
AIEEE! Commit the firmware image too. *blush*

23 years agoGrrr. Module depends on vlan.h, and I committed the wrong version
wpaul [Mon, 23 Jul 2001 20:54:31 +0000 (20:54 +0000)]
Grrr. Module depends on vlan.h, and I committed the wrong version
of if_txpreg.h, which didn't have sc_rxbufprod defined in the softc
struct.

23 years agoYou were knocked senseless by the Boomerang, spun around by the Cyclone,
wpaul [Mon, 23 Jul 2001 20:44:54 +0000 (20:44 +0000)]
You were knocked senseless by the Boomerang, spun around by the Cyclone,
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!

This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.

No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.

Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.

Manual page is included. Compiled as a module and included in GENERIC.

23 years agoAdd D-Link DFE-538TX to list of rl(4)-supported devices.
bmah [Mon, 23 Jul 2001 19:11:33 +0000 (19:11 +0000)]
Add D-Link DFE-538TX to list of rl(4)-supported devices.

While I'm here, fix a typo:  s/DGE=500SX/DGE-500SX/.

Submitted by: Christian Greisen <csg@fakse.dk>

23 years agoFix removal of at jobs.
ghelmer [Mon, 23 Jul 2001 18:25:45 +0000 (18:25 +0000)]
Fix removal of at jobs.

PR: bin/23052
Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com>
MFC after: 1 week

23 years agoRemind people to document bumps in the Porter's Handbook.
obrien [Mon, 23 Jul 2001 17:51:02 +0000 (17:51 +0000)]
Remind people to document bumps in the Porter's Handbook.

23 years agoAvoid a NULL pointer derefence introduced in rev. 1.129.
ru [Mon, 23 Jul 2001 16:50:01 +0000 (16:50 +0000)]
Avoid a NULL pointer derefence introduced in rev. 1.129.

Problem noticed by: bde, gcc(1)
Panic caught by: mjacob
Patch tested by: mjacob

23 years agochange the default for isdn_fsdev to NO.
hm [Mon, 23 Jul 2001 14:28:36 +0000 (14:28 +0000)]
change the default for isdn_fsdev to NO.
PR:             26818
Submitted by:   Clement Ballabriga <clement@asso.ups-tlse.fr>

23 years agochange the default for isdn_fsdev to NO. specifying a device here
hm [Mon, 23 Jul 2001 14:24:31 +0000 (14:24 +0000)]
change the default for isdn_fsdev to NO. specifying a device here
results in a potential conflict with a getty running on that device.
PR: 26818
Submitted by: Clement Ballabriga <clement@asso.ups-tlse.fr>

23 years agoIntegrate fdc.h into fd.c.
nyan [Mon, 23 Jul 2001 13:07:24 +0000 (13:07 +0000)]
Integrate fdc.h into fd.c.

23 years agoremove emalloc,ecalloc,erealloc,estrdup
assar [Mon, 23 Jul 2001 12:42:07 +0000 (12:42 +0000)]
remove emalloc,ecalloc,erealloc,estrdup

23 years agoBack out WARNS commenting - local fault
ache [Mon, 23 Jul 2001 12:38:00 +0000 (12:38 +0000)]
Back out WARNS commenting - local fault

23 years agomake vm_page_select_cache static
assar [Mon, 23 Jul 2001 12:34:31 +0000 (12:34 +0000)]
make vm_page_select_cache static

Requested by: bde

23 years agos/adress/address/
kris [Mon, 23 Jul 2001 12:05:27 +0000 (12:05 +0000)]
s/adress/address/

Inspired by:    OpenBSD
MFC After:      1 week

23 years agoTypo fix: fasion -> fashion
kris [Mon, 23 Jul 2001 11:03:48 +0000 (11:03 +0000)]
Typo fix: fasion -> fashion

Inspired by: OpenBSD
MFC After: 1 week

23 years agoby by -> by
kris [Mon, 23 Jul 2001 11:00:31 +0000 (11:00 +0000)]
by by -> by

Obtained from: OpenBSD
MFC After: 1 week

23 years agoUnbreak world - comment out WARNS=2 - deadly warning on tgetstr
ache [Mon, 23 Jul 2001 10:46:01 +0000 (10:46 +0000)]
Unbreak world - comment out WARNS=2 - deadly warning on tgetstr

23 years agomdoc(7) police: mark up kernel options in .Dv, rc.conf variables in
dd [Mon, 23 Jul 2001 10:25:38 +0000 (10:25 +0000)]
mdoc(7) police: mark up kernel options in .Dv, rc.conf variables in
.Va, and use .Pp instead of blank lines all over the place.

23 years agoConsistently capitalize the first letter of the first word in the
dd [Mon, 23 Jul 2001 10:20:35 +0000 (10:20 +0000)]
Consistently capitalize the first letter of the first word in the
variable descriptions.

23 years agoBreak the list of parameter expansions into two lists so that
sheldonh [Mon, 23 Jul 2001 10:18:05 +0000 (10:18 +0000)]
Break the list of parameter expansions into two lists so that
the paragraph introducing the prefix and suffix pattern expansions
does not appear as part of the explanation for the string length
expansion.

23 years agoDocument syslogd_program and inetd_program.
dd [Mon, 23 Jul 2001 10:06:59 +0000 (10:06 +0000)]
Document syslogd_program and inetd_program.

23 years agoDon't use the pronoun "you".
dd [Mon, 23 Jul 2001 09:46:17 +0000 (09:46 +0000)]
Don't use the pronoun "you".

Reviewed by: sheldonh, mpp

23 years agoFix typos
kris [Mon, 23 Jul 2001 09:39:55 +0000 (09:39 +0000)]
Fix typos

Obtained from: OpenBSD
MFC After: 1 week

23 years agosprintf -> snprintf
kris [Mon, 23 Jul 2001 09:22:21 +0000 (09:22 +0000)]
sprintf -> snprintf

23 years agoAdd scripts and Makefile support for building ISO images automatically
jkh [Mon, 23 Jul 2001 09:01:46 +0000 (09:01 +0000)]
Add scripts and Makefile support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the
first CD with packages (in addition to the "minimal" CD) if CD_EXTRA_BITS
points to them.  This probably need a bit more work to get fully useful,
but it at least covers the basics for now.

23 years agoAdded the linux_sysinfo function to implement sysinfo(2).
pirzyk [Mon, 23 Jul 2001 06:22:10 +0000 (06:22 +0000)]
Added the linux_sysinfo function to implement sysinfo(2).

PR: kern/27759
Reviewed by: marcel
Approved by: marcel
MFC after: 1 week

23 years agoAdded the proper arguments the sysinfo system call
pirzyk [Mon, 23 Jul 2001 06:17:34 +0000 (06:17 +0000)]
Added the proper arguments the sysinfo system call

PR: kern/27759
Reviewed by: marcel
Approved by: marcel
Obtained from: Linux man page sysinfo(2)
MFC after: 1 week

23 years agoIf the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told to
gshapiro [Mon, 23 Jul 2001 02:19:02 +0000 (02:19 +0000)]
If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told to
install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an
error:

===> etc/sendmail
install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf
install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file
*** Error code 64

Catch this in the Makefile and don't call install if the source and target
are the same file.

Reported by: Alexandr Listopad <laa@reis.zp.ua>
MFC after: 1 week

23 years agoNew make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
gshapiro [Mon, 23 Jul 2001 01:33:54 +0000 (01:33 +0000)]
New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
building a .cf file from a .mc file.

Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary
build enables that FFR as well.

PR: conf/28361
MFC after: 1 week

23 years agoGet rid of a compile-time warning by casting to (size_t).
gad [Mon, 23 Jul 2001 01:19:59 +0000 (01:19 +0000)]
Get rid of a compile-time warning by casting to (size_t).

MFC after: 1 week

23 years agoGet rid of a compile-time warning by casting to (size_t).
gad [Mon, 23 Jul 2001 01:13:20 +0000 (01:13 +0000)]
Get rid of a compile-time warning by casting to (size_t).

MFC after: 1 week

23 years agoFix a few more minor compile-time warnings, mainly by using size_t where
gad [Mon, 23 Jul 2001 01:08:15 +0000 (01:08 +0000)]
Fix a few more minor compile-time warnings, mainly by using size_t where
appropriate, and using '("%lu", (unsigned long)asizeval)' when printing
something of type size_t.

MFC after: 1 week

23 years agoGet rid of some compile-time warnings by defining (or casting) variables
gad [Mon, 23 Jul 2001 00:15:37 +0000 (00:15 +0000)]
Get rid of some compile-time warnings by defining (or casting) variables
as size_t where appropriate.

MFC after: 1 week

23 years agoFix two compile-time warnings by defining fromlen as socklen_t.
gad [Mon, 23 Jul 2001 00:13:02 +0000 (00:13 +0000)]
Fix two compile-time warnings by defining fromlen as socklen_t.

MFC after: 1 week

23 years agoadd %option nounput
assar [Sun, 22 Jul 2001 23:15:14 +0000 (23:15 +0000)]
add %option nounput

23 years agorevert last commit. using %option nounput is better
assar [Sun, 22 Jul 2001 23:14:33 +0000 (23:14 +0000)]
revert last commit.  using %option nounput is better

noted by: Seth Kingsley <seth.kingsley@windriver.com>

23 years agoadd ecalloc, emalloc, erealloc, estrdup - versions of the e-less
assar [Sun, 22 Jul 2001 22:26:37 +0000 (22:26 +0000)]
add ecalloc, emalloc, erealloc, estrdup - versions of the e-less
functions that exit instead of failing

23 years agoAdd a few missing spl calls in preparation for an MFC of the miibus
iedowse [Sun, 22 Jul 2001 21:39:54 +0000 (21:39 +0000)]
Add a few missing spl calls in preparation for an MFC of the miibus
support.

23 years agoNote that the umass device requires scbus and da
kris [Sun, 22 Jul 2001 21:35:02 +0000 (21:35 +0000)]
Note that the umass device requires scbus and da

23 years agoRemove an old hack that remembered if the card type was Linksys by
iedowse [Sun, 22 Jul 2001 21:31:44 +0000 (21:31 +0000)]
Remove an old hack that remembered if the card type was Linksys by
storing a flag in the global variable 'linksys' during the probe
routine and reading it during the attach routine. We now have the
ED_VENDOR_LINKSYS vendor code stored in sc->vendor, so check that
instead.

23 years agomake driver compile under 4.3-STABLE
hm [Sun, 22 Jul 2001 19:55:05 +0000 (19:55 +0000)]
make driver compile under 4.3-STABLE

23 years agoDon't do sleep state transition if specified sleep state is not
iwasaki [Sun, 22 Jul 2001 19:13:54 +0000 (19:13 +0000)]
Don't do sleep state transition if specified sleep state is not
supported by the system.

23 years agoAttach the miibus for Linksys/Dlink cards from the attach routine,
iedowse [Sun, 22 Jul 2001 18:58:44 +0000 (18:58 +0000)]
Attach the miibus for Linksys/Dlink cards from the attach routine,
not from the probe routine. This was an oversight when I originally
ported the miibus support to -current, though it was mostly harmless.

We now set the vendor code to the new value ED_VENDOR_LINKSYS in
ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks
the vendor code, and sets up the miibus if appropriate.

Reviewed by: imp

23 years agoAs per further discussions on hackers redo the SIGCHLD patch to not generate
dillon [Sun, 22 Jul 2001 18:47:31 +0000 (18:47 +0000)]
As per further discussions on hackers redo the SIGCHLD patch to not generate
an unexpected user-visible side effect with the sigaction flags.  Also cleanup
a minor union issue.

Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
MFC addendum: MFC will be combined w/ original commit
MFC after: 3 days

23 years agoFix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
mike [Sun, 22 Jul 2001 18:23:24 +0000 (18:23 +0000)]
Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
working.

Reviewed by: des
Approved by: des

23 years agoAdd entry for SMC 2632W card.
imp [Sun, 22 Jul 2001 18:13:19 +0000 (18:13 +0000)]
Add entry for SMC 2632W card.

Submitted by: lots of people, most recently by Mike Buchanon

Also, Tried to clean up the comments about IRQs to match the new world
order.

23 years agoRemove namespace pollution.
mike [Sun, 22 Jul 2001 18:10:08 +0000 (18:10 +0000)]
Remove namespace pollution.

PR: 14327
Reviewed by: des
Approved by: des
MFC after: 7 days

23 years ago- Fix "off by one" error in VT_WAITACTIVATE. Correctly accept
yokota [Sun, 22 Jul 2001 13:58:23 +0000 (13:58 +0000)]
- Fix "off by one" error in VT_WAITACTIVATE. Correctly accept
  0 as meaning the requesting vty.
- Accept 0 as the requesting vty in VT_ACTIVATE as in VT_WAITACTIVE.

PR: 24423
MFC after: 10 days

23 years agoUse the correct ioctl command to set a VESA mode.
yokota [Sun, 22 Jul 2001 13:30:32 +0000 (13:30 +0000)]
Use the correct ioctl command to set a VESA mode.

PR: 24423
MFC after: 10 days

23 years agoFix some bugs and general brain damage in mounttab:
iedowse [Sun, 22 Jul 2001 12:17:51 +0000 (12:17 +0000)]
Fix some bugs and general brain damage in mounttab:
- Declare mtabhead as an extern in mounttab.h and define it only in
  mounttab.c.
- Remove shared global `verbose' and instead pass it as a parameter.
- Remove the `mtabp' argument to read_mtab(). It served no purpose
  whatsoever, although read_mtab() did use it as a temporary local
  variable.
- Don't check for impossible conditions when parsing mounttab, and
  do detect zero-length fields.
- Correctly test for strtoul() failures - just testing ERANGE is wrong.
- Include a field name in syslog errors, and avoid passing NULL to
  a syslog %s field.
- Don't test if arrays are NULL.
- If there are duplicates when writing out mounttab, keep the last
  entry instead of the first, as it will have a later timestamp.
- Fix a few formatting issues.

Update rpc.umntall and umount to match the mounttab interface changes.

23 years agoFix some man page xrefs.
mpp [Sun, 22 Jul 2001 11:51:11 +0000 (11:51 +0000)]
Fix some man page xrefs.

PR: docs/26065
MFC after: 1 week

23 years agoChange the errx() example. Error messages passed to the err(3)
dd [Sun, 22 Jul 2001 11:47:15 +0000 (11:47 +0000)]
Change the errx() example.  Error messages passed to the err(3)
functions shouldn't have the first word capitalized, and shouldn't
have a period at the end.  This is how most of our programs, and most
(all?) of the 4.4BSD programs, are.  In the past, we've even done
sweeps to change things to comply to this.

23 years agoAdd: ``If you have to wrap a long statement, put the operator at the
dd [Sun, 22 Jul 2001 10:35:02 +0000 (10:35 +0000)]
Add: ``If you have to wrap a long statement, put the operator at the
end of the line.''

Reviewed by: alfred, bde

23 years agoDon't put a shell prompt in the example since none of the other man
dd [Sun, 22 Jul 2001 10:33:31 +0000 (10:33 +0000)]
Don't put a shell prompt in the example since none of the other man
pages do it.  Also, don't use brackets to indicate optional options in
the example; instead, add a paragraph below the example explaining it.

23 years agorevert previous commit (bad style and not needed)
assar [Sun, 22 Jul 2001 10:24:31 +0000 (10:24 +0000)]
revert previous commit (bad style and not needed)

Noticed: bde

23 years agoremove -*- nroff -*- thingy
alfred [Sun, 22 Jul 2001 10:18:53 +0000 (10:18 +0000)]
remove -*- nroff -*- thingy

23 years agoadd directory i4brunppp.
hm [Sun, 22 Jul 2001 09:40:58 +0000 (09:40 +0000)]
add directory i4brunppp.
Pointed out by: David H. Wolfskill david@catwhisker.org and
                Crist J. Clark <cristjc@earthlink.net>

23 years agoReplace calls to strncpy with calls to strlcpy, and remove the extra step
gad [Sun, 22 Jul 2001 07:25:27 +0000 (07:25 +0000)]
Replace calls to strncpy with calls to strlcpy, and remove the extra step
needed to ensure that the result is null-terminated when using strncpy().

MFC after: 8 days

23 years agoError messaging in ipfw(8) was out of hand, almost 50 lines of usage
cjc [Sun, 22 Jul 2001 06:40:11 +0000 (06:40 +0000)]
Error messaging in ipfw(8) was out of hand, almost 50 lines of usage
information for any command line error, the actual error message
almost always (and sometimes irretrievably) lost scrolling off the top
of the screen. Now just print the error. Give ipfw(8) no arguments for
the old usage summary.

Thanks to Lyndon Nerenberg <lyndon@orthanc.ab.ca> for the patch and
PR, but I had already done this when ru pointed out the PR.

PR: bin/28729
Approved by: ru
MFC after: 1 week

23 years agoAdd another Dell 3/Di PCI ID. You'd think they had enough of these
msmith [Sun, 22 Jul 2001 04:06:36 +0000 (04:06 +0000)]
Add another Dell 3/Di PCI ID.  You'd think they had enough of these
already...

23 years agoFix a selection of bugs, and improve code layout:
iedowse [Sun, 22 Jul 2001 01:25:25 +0000 (01:25 +0000)]
Fix a selection of bugs, and improve code layout:
- Remove unnecessary and unused local variables.
- Include useful information in error and warning messages.
- Fix the logic for expiring mounttab entries.
- Remove calls to getaddrinfo - the results were not used.
- Simplify some string handling by using snprintf.
- Fix usage.

23 years agoRename the -w option to be -W. The recently-added -w option is different
gad [Sun, 22 Jul 2001 01:05:20 +0000 (01:05 +0000)]
Rename the -w option to be -W.  The recently-added -w option is different
than the long-standing -w option in NetBSD, so change it before anyone in
FreeBSD gets used to it.  For now, -w is still accepted, but prints out
some warnings via syslog.

MFC after: 1 week

23 years agoCorrect typo.
nyan [Sun, 22 Jul 2001 00:58:15 +0000 (00:58 +0000)]
Correct typo.

23 years agoInclude the remote hostname in RPC-related warning messages. Exit
iedowse [Sun, 22 Jul 2001 00:45:29 +0000 (00:45 +0000)]
Include the remote hostname in RPC-related warning messages. Exit
immediately if a host specified by the -h flag cannot be parsed
instead of attempting to unmount all NFS filesystems, which was
bad.

Add a missing return statement at the end of checkname(); this
could result in a non-zero exit status in some cases even if the
unmount succeeded.

Group two separate NFS-related operations into one block to make
it more obvious that a variable (hostp) is not dereferenced when
uninitialised. Initialise it to NULL anyway to avoid a warning.

Pass in the read_mtab()'s bogus argument as NULL instead of messing
with a local variable to achieve the same effect. A later commit
will clean up this mounttab interface.

23 years agoadd prototype for dosetrlimit
assar [Sun, 22 Jul 2001 00:21:19 +0000 (00:21 +0000)]
add prototype for dosetrlimit

23 years agorevert previous accidental commit
assar [Sun, 22 Jul 2001 00:12:23 +0000 (00:12 +0000)]
revert previous accidental commit

23 years agoget rid of some printf and pointer type warnings
assar [Sun, 22 Jul 2001 00:12:22 +0000 (00:12 +0000)]
get rid of some printf and pointer type warnings

23 years agoChange a few read & write calls to use 'STDOUT_FILENO' instead of '1'.
gad [Sun, 22 Jul 2001 00:03:21 +0000 (00:03 +0000)]
Change a few read & write calls to use 'STDOUT_FILENO' instead of '1'.

Submitted by: David Hill <david@phobia.ms>
Reviewed by: freebsd-audit  (a little)
MFC after: 1 week

23 years agoThe MA401 is a Prism II
nsayer [Sat, 21 Jul 2001 23:11:13 +0000 (23:11 +0000)]
The MA401 is a Prism II

Approved by: imp

23 years agoACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, so
msmith [Sat, 21 Jul 2001 21:51:44 +0000 (21:51 +0000)]
ACPI CA doesn't recognis S4BIOS as a seperate sleep type anymore, so
drop support for it here until we work out a better way of handling it.

23 years agoadd <sys/sytm.h> (for cpufunc.h -> rdtsc)
assar [Sat, 21 Jul 2001 20:53:42 +0000 (20:53 +0000)]
add <sys/sytm.h> (for cpufunc.h -> rdtsc)

23 years ago- Allow link-local multicast traffic for client.
ume [Sat, 21 Jul 2001 19:59:35 +0000 (19:59 +0000)]
- Allow link-local multicast traffic for client.
- Allow ICMPv6 destination unreach, packet too big and NS/NA.
- RIPng also uses link-local to link-local.

MFC after: 1 week

23 years agoadd an unused attribute to yyunput to avoid warnings (errors) when
assar [Sat, 21 Jul 2001 19:47:17 +0000 (19:47 +0000)]
add an unused attribute to yyunput to avoid warnings (errors) when
it's not being used

23 years agoThis was repo copied to src/release/alpha/fixit_crunch.conf.
obrien [Sat, 21 Jul 2001 19:01:59 +0000 (19:01 +0000)]
This was repo copied to src/release/alpha/fixit_crunch.conf.
The i386 and PC98 already had their own platform-specific version.

23 years agoI think this is OK for PC98, someone please check.
obrien [Sat, 21 Jul 2001 17:55:38 +0000 (17:55 +0000)]
I think this is OK for PC98, someone please check.

As was done to i386/boot_crunch.conf:
+ Build with `lint' defined to cut out some of the `rcsid's (binaries' code
  only, the libs will still have the `rcsid's in them).
+ mount_mfs is OBE.
+ Do not need libipx as I have conditionally diked that functional out of
  ifconfig(8).

23 years agoFix the install kernel on a 1.44MB floppy again.
obrien [Sat, 21 Jul 2001 17:38:46 +0000 (17:38 +0000)]
Fix the install kernel on a 1.44MB floppy again.
I had to be aggressively Draconian to succeed.
I diked out:
+ Multia, NoName, PC/EB 64, Aspen Alpine support.
+ SCSI tape support
+ AMI MegaRAID controller support
+ All parallel bus support (includes PLIP)
+ vx (3c590, 3c595), pcn (AMD Am79C97x PCI 10/100), sf (Adaptec AIC-6915),
  sis (SiS 900/SiS 7016), ste (Sundance ST201 (D-Link DFE-550TX)),
  wb (Winbond W89C840F) support.

If the removal of any of this support causes heartburn, please let me know.

23 years agoUnconditionalize these now that they live in ARCH-specific directories.
obrien [Sat, 21 Jul 2001 17:32:40 +0000 (17:32 +0000)]
Unconditionalize these now that they live in ARCH-specific directories.

23 years ago+ Build with `lint' defined to cut out some of the `rcsid's (binaries' code
obrien [Sat, 21 Jul 2001 17:28:21 +0000 (17:28 +0000)]
+ Build with `lint' defined to cut out some of the `rcsid's (binaries' code
  only, the libs will still have the `rcsid's in them).
+ mount_mfs is OBE.
+ Do not need libipx as I have conditionally diked that functional out of
  ifconfig(8).

23 years ago+ Build with `lint' defined to cut out some of the `rcsid's (binaries' code
obrien [Sat, 21 Jul 2001 17:26:55 +0000 (17:26 +0000)]
+ Build with `lint' defined to cut out some of the `rcsid's (binaries' code
  only, the libs will still have the `rcsid's in them).
+ mount_mfs is OBE.
+ The Alpha install does not support SLIP, PCCARD or USB installs; so we do
  not need the associated userland utils.
+ Do not need libipx as I have conditionally diked that functional out of
  ifconfig(8).

23 years agodokern.sh was repo copied from src/release/scripts to
obrien [Sat, 21 Jul 2001 17:21:52 +0000 (17:21 +0000)]
dokern.sh was repo copied from src/release/scripts to
src/release/${MACHINE_ARCH}

23 years agoThis has been repo copied to src/release/${MACHINE_ARCH}/dokern.sh
obrien [Sat, 21 Jul 2001 17:21:02 +0000 (17:21 +0000)]
This has been repo copied to src/release/${MACHINE_ARCH}/dokern.sh

23 years agoThis has been repo copied to src/release/${MACHINE_ARCH}/boot_crunch.conf
obrien [Sat, 21 Jul 2001 17:19:59 +0000 (17:19 +0000)]
This has been repo copied to src/release/${MACHINE_ARCH}/boot_crunch.conf

23 years agoadd <sys/cdefs.h> (for __unused and such)
assar [Sat, 21 Jul 2001 17:12:44 +0000 (17:12 +0000)]
add <sys/cdefs.h> (for __unused and such)

23 years agonull_do_probe: mark as unused
assar [Sat, 21 Jul 2001 17:10:30 +0000 (17:10 +0000)]
null_do_probe: mark as unused

23 years ago(vm_page_select_cache): add prototype
assar [Sat, 21 Jul 2001 17:08:15 +0000 (17:08 +0000)]
(vm_page_select_cache): add prototype

23 years agoAnother hangup bugfix from Juha:
hm [Sat, 21 Jul 2001 16:31:39 +0000 (16:31 +0000)]
Another hangup bugfix from Juha:
 Problem 1 is that the config entry hangup flag is zeroed only at
 CONNECT_ACTIVE_IND in msghdl.c. If any (other) call is disconnected
 after EV_MDO and before CONNECT_ACTIVE_IND, the cleanup routine will
 disconnect the in-progress dialout as well, if its hangup flag is
 nonzero (which it is likely to be) after the previous incarnation of the
 cfg entry. Patch-1 fixes this by clearing the hangup flag as soon as a
 cfg entry is reserved for the call.

Submitted by: Juha-Matti Liukkonen <jml@cubical.fi>

23 years agoFix hangup bug; Juha writes:
hm [Sat, 21 Jul 2001 16:28:28 +0000 (16:28 +0000)]
Fix hangup bug; Juha writes:
 Problem 2 is that doing a local hangup (eg. by writing "H" to the
 dialout device) to a call which is already disconnected results in isdnd
 moving the cfg entry to an illegal state, from which there is no
 recovery. This is tricky because there is no way to synchronize local
 hangup with the remote end (ie. the callee can always hang up at an
 inconvenient time)! Hence, patch-2 alters fsm.c's EV_DRQ state table
 such that the local hangup request is processed or ignored in most
 states, even for disconnected calls.

Submitted by: Juha-Matti Liukkonen <jml@cubical.fi>