]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
24 years agoThis commit was generated by cvs2svn to compensate for changes in r56944,
obrien [Wed, 2 Feb 2000 03:10:44 +0000 (03:10 +0000)]
This commit was generated by cvs2svn to compensate for changes in r56944,
which included commits to RCS files with non-trunk default branches.

24 years agoImport the latest version ehopt.c from the Cygnus Sourceware anoncvs
obrien [Wed, 2 Feb 2000 03:10:44 +0000 (03:10 +0000)]
Import the latest version ehopt.c from the Cygnus Sourceware anoncvs
repository (dated 5-3-1999).

This fixes the endless loop the assembler gets in when it is trying to
decide how big part of the exception handling table should be on the Alpha.
This version of this file allows qradiobutton.cpp from qt and widget.cc
from kdelibs11 to be compilable.

24 years agoSpell "pci_delete_resource" correctly.
peter [Tue, 1 Feb 2000 18:02:12 +0000 (18:02 +0000)]
Spell "pci_delete_resource" correctly.

Approved by: jkh (who must be very sick of requests now :-)

24 years agoif_fpa is included when 'device fpa' is present, not 'device fea'.
mdodd [Tue, 1 Feb 2000 16:47:34 +0000 (16:47 +0000)]
if_fpa is included when 'device fpa' is present, not 'device fea'.

Approved by: jkh

24 years agoAvoid passing an uninitialized structure member to the real
nsayer [Tue, 1 Feb 2000 16:20:24 +0000 (16:20 +0000)]
Avoid passing an uninitialized structure member to the real
READSUBCHANNEL ioctl. This makes vmware work with SCSI CDROM
drives.

Approved by: jkh

24 years agosync iruserok() extension API with other BSDs
shin [Tue, 1 Feb 2000 15:55:56 +0000 (15:55 +0000)]
sync iruserok() extension API with other BSDs

  Some of rcmd related function is need to be updated to
  support IPv6. Some of them are already updated as standard
  document. But there is also several de-facto functions and
  they are not listed in standard documents.
  They are,

    iruserok()  (used by rlogind, rshd)
    ruserok()   (used by kerberos, etc)

  KAME package updated those functions in original way.

    iruserok_af()
    ruserok_af()

  But recently there was discussion on IETF IPng mailing
  list about how to sync those API, and it is decided,

    -Those function is not standard and not documented.
    -But let BSDs sync their API as de-facto.

  And after some discussion, it is announced that

    -add update to iruserok() as iruserok_sa()
    -no ruserok() API change(it is only updated internaly)

So I sync those API before 4.0 is released.
The changes are,
   -prototype changes
   -ruserok() internal update (use iruserok_sa() inside)
   -removal of ruserok_af()
   -change iruserok_af() as static functioin, and also prefix the name with __.
   -add iruserok_sa() (Just call __iruserok_af() inside)
   -adding flag AI_ALL to getipnodebyaddr() called from __icheckhost().
    This is necessary to support IPv4 communication via AF_INET6 socket
    could be correctly authenticated via iruserok_sa()
   -irusreok_af() call is replaced to iruserok_sa() call
    in rlogind, and rshd.

Approved by: jkh

24 years agoAdd workaround for fxp issue at interface initialization with IPv6.
shin [Tue, 1 Feb 2000 15:49:37 +0000 (15:49 +0000)]
Add workaround for fxp issue at interface initialization with IPv6.

  Some LAN card chip for fxp is known to cause problem at
  interface initialization with IPv6 enabled. It happens at
  some delicate timing.
  And also, just adding some DELAY before IPv6 address
  autoconfiguration is known to avoid the problem.

  Complete fix is changing the driver not to use interrupt at
  multicast filter initialization, but trying such change in
  this stage will be dangerous.

  So I add some DELAY() only inside #ifdef INET6 part,
  as temporal workaround only for 4.0.

Approbed by: jkh

Noticed by: Mattias Pantzare <pantzer@ludd.luth.se>

Obtained from: openbsd-tech mailing list

24 years agoda0 -> da
n_hibma [Tue, 1 Feb 2000 09:32:04 +0000 (09:32 +0000)]
da0 -> da

24 years agoDrop maintainership of inetd, since nobody respects it anyway.
des [Tue, 1 Feb 2000 09:21:22 +0000 (09:21 +0000)]
Drop maintainership of inetd, since nobody respects it anyway.

24 years agoSynced with sys/i386/isa/isa_compat.h rev 1.18.
kato [Tue, 1 Feb 2000 09:00:09 +0000 (09:00 +0000)]
Synced with sys/i386/isa/isa_compat.h rev 1.18.

Approved by: jkh

24 years agoSynced with sys/i386/isa/wd.c revision 1.219.
kato [Tue, 1 Feb 2000 08:57:21 +0000 (08:57 +0000)]
Synced with sys/i386/isa/wd.c revision 1.219.

Approved by: jkh

24 years agoSynced with sys/i386/isa/mse.c, npx.c and spkr.c revisions 1.49, 1.80
kato [Tue, 1 Feb 2000 08:54:14 +0000 (08:54 +0000)]
Synced with sys/i386/isa/mse.c, npx.c and spkr.c revisions 1.49, 1.80
and 1.45, respectively.

Approved by: jkh

24 years agoFix date again.
ache [Tue, 1 Feb 2000 04:23:35 +0000 (04:23 +0000)]
Fix date again.
Previous fix was overwritten by new commits.

24 years agoRemove a spurious printf left in from debugging.
gibbs [Tue, 1 Feb 2000 00:43:58 +0000 (00:43 +0000)]
Remove a spurious printf left in from debugging.

PR: 16642

24 years agobus_release_resource is spellt like bus_release_resource not like
n_hibma [Mon, 31 Jan 2000 14:05:21 +0000 (14:05 +0000)]
bus_release_resource is spellt like bus_release_resource not like
bus_delete_resource.

Fixes a problem when the probe succeeded, but the attach failed. The
release of the resources was done inproperly.

Approved by: jkh

24 years agoMerge FreeBSD changes into 2.4d.
ru [Mon, 31 Jan 2000 13:28:57 +0000 (13:28 +0000)]
Merge FreeBSD changes into 2.4d.

24 years agoMerge FreeBSD changes into 2.4d.
ru [Mon, 31 Jan 2000 13:28:08 +0000 (13:28 +0000)]
Merge FreeBSD changes into 2.4d.

FreeBSD changes OBE'ed by 2.4d:
* rev 1.5 - use collate for alpha character ranges.

24 years agoThis is the stock GNU grep 2.4d file.
ru [Mon, 31 Jan 2000 13:26:10 +0000 (13:26 +0000)]
This is the stock GNU grep 2.4d file.

24 years agoThis commit was generated by cvs2svn to compensate for changes in r56915,
ru [Mon, 31 Jan 2000 13:22:22 +0000 (13:22 +0000)]
This commit was generated by cvs2svn to compensate for changes in r56915,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of a trimmed down GNU Grep 2.4d.
ru [Mon, 31 Jan 2000 13:22:22 +0000 (13:22 +0000)]
Virgin import of a trimmed down GNU Grep 2.4d.

24 years agoAdd a section at the end called COMMON ITEMS. This is where we'll put
imp [Sun, 30 Jan 2000 23:15:21 +0000 (23:15 +0000)]
Add a section at the end called COMMON ITEMS.  This is where we'll put
those questions that come up all the time (eg, how do I build a
kernel).  This is intended to be a very brief reminder for people that
are basically clueful what the steps are to do these common things.
What it lacks in verbosity it makes up in terseness.

24 years agoAdd info about burncd, c++ changes, the xinstall kludge as well as
imp [Sun, 30 Jan 2000 23:09:58 +0000 (23:09 +0000)]
Add info about burncd, c++ changes, the xinstall kludge as well as
correct the buidlworld typo every keeps teasing me about.

I didn't ask Jordan if this was OK, but figured it fell under the
documentation exception in his freeze mail.

24 years agoFix the usage of the .Dd macro so that the correct year is displayed,
mpp [Sun, 30 Jan 2000 22:26:06 +0000 (22:26 +0000)]
Fix the usage of the .Dd macro so that the correct year is displayed,
instead of 1900.

PR: bin/16207

Note: there is still a groff problem with Y2K that needs to be fixed,
so the PR is still valid.

24 years agoThe "INCDIR" required by the new header installation code in bsd.lib.mk
obrien [Sun, 30 Jan 2000 20:59:53 +0000 (20:59 +0000)]
The "INCDIR" required by the new header installation code in bsd.lib.mk
was not set correctly.

Ok'ed by: JKH

24 years agoAdd Xref to camcontrol(8) (replacing previously-removed scsiformat(8)).
kris [Sun, 30 Jan 2000 20:58:33 +0000 (20:58 +0000)]
Add Xref to camcontrol(8) (replacing previously-removed scsiformat(8)).

Submitted by: joerg

24 years agoThe readline includes handling was moved down a level in
obrien [Sun, 30 Jan 2000 20:57:58 +0000 (20:57 +0000)]
The readline includes handling was moved down a level in
src/gnu/libreadline -- reflect that change here.

Ok'ed by: JKH

24 years agoWhen writing out bitmap buffers, need to skip over ones that already
mckusick [Sun, 30 Jan 2000 20:32:59 +0000 (20:32 +0000)]
When writing out bitmap buffers, need to skip over ones that already
have a write in progress. Otherwise one can get in an infinite loop
trying to get them all flushed.

Submitted by: Matthew Dillon <dillon@apollo.backplane.com>

24 years agoRetire Bison as it is not need to build GCC any more.
obrien [Sun, 30 Jan 2000 19:24:31 +0000 (19:24 +0000)]
Retire Bison as it is not need to build GCC any more.

Ok'ed by: JKH

24 years agoDon't refer to TABLDISC in the comments here.
peter [Sun, 30 Jan 2000 10:14:13 +0000 (10:14 +0000)]
Don't refer to TABLDISC in the comments here.

Submitted by: bde
Approved by: jkh

24 years agoFixed longstanding brokenness of wddump() in LBA mode. LBA mode may now
bde [Sun, 30 Jan 2000 07:58:14 +0000 (07:58 +0000)]
Fixed longstanding brokenness of wddump() in LBA mode.  LBA mode may now
be safe enough to recommend for working around the problem with CHS mode
normally being limited to 65536*16*63 sectors.

Fixed bitrot in related debugging code.

Fixed related style bugs.

Removed another vestige of bad144 support.

24 years agoDo not use 'alias' as a macro parameter name for __strong_reference(),
jasone [Sun, 30 Jan 2000 07:54:05 +0000 (07:54 +0000)]
Do not use 'alias' as a macro parameter name for __strong_reference(),
since the word 'alias' appears in the macro body.

Approved by: jkh

24 years agoFix bogon in previous commit. Re-enable Forth in the loader.
jhb [Sun, 30 Jan 2000 06:56:27 +0000 (06:56 +0000)]
Fix bogon in previous commit.  Re-enable Forth in the loader.

Noticed by: dcs
Approved by: jkh

24 years agoRemove unused #include and prototype declaration.
luoqi [Sun, 30 Jan 2000 05:24:55 +0000 (05:24 +0000)]
Remove unused #include and prototype declaration.

24 years agoTypo fix. While I am at it, remove the name translation from block to raw
luoqi [Sun, 30 Jan 2000 05:09:48 +0000 (05:09 +0000)]
Typo fix. While I am at it, remove the name translation from block to raw
device, they are equivalent now (or more accurately we no longer have block
devices).

Submitted by: Gregory Sutter <gsutter@pobox.com>

24 years agoDocument OpenSSL directories.
kris [Sun, 30 Jan 2000 04:22:11 +0000 (04:22 +0000)]
Document OpenSSL directories.

24 years agoAdd NO_OPENSSL knob to turn off building of openssl
kris [Sun, 30 Jan 2000 04:12:49 +0000 (04:12 +0000)]
Add NO_OPENSSL knob to turn off building of openssl

Requested by:   wollman

24 years agoAdd NO_OPENSSL knob to turn off building of openssl
kris [Sun, 30 Jan 2000 04:11:37 +0000 (04:11 +0000)]
Add NO_OPENSSL knob to turn off building of openssl

Requested by: wollman

24 years agoFix kernel build breakage.
shin [Sun, 30 Jan 2000 03:52:28 +0000 (03:52 +0000)]
Fix kernel build breakage.
ip6_fw.c also needs ipv6firewall options. Sorry for the problem.

Submitted by: Jim Bloom <bloom@acm.org>

24 years agoMerge tcpdump 3.5
fenner [Sun, 30 Jan 2000 01:05:24 +0000 (01:05 +0000)]
Merge tcpdump 3.5

24 years agoThis commit was generated by cvs2svn to compensate for changes in r56893,
fenner [Sun, 30 Jan 2000 00:45:58 +0000 (00:45 +0000)]
This commit was generated by cvs2svn to compensate for changes in r56893,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of tcpdump.org tcpdump v3.5
fenner [Sun, 30 Jan 2000 00:45:58 +0000 (00:45 +0000)]
Virgin import of tcpdump.org tcpdump v3.5

24 years agoUpgrade to libpcap 0.5
fenner [Sun, 30 Jan 2000 00:44:23 +0000 (00:44 +0000)]
Upgrade to libpcap 0.5

24 years agoMerge libpcap 0.5
fenner [Sun, 30 Jan 2000 00:43:38 +0000 (00:43 +0000)]
Merge libpcap 0.5

24 years agoThis commit was generated by cvs2svn to compensate for changes in r56889,
fenner [Sun, 30 Jan 2000 00:32:56 +0000 (00:32 +0000)]
This commit was generated by cvs2svn to compensate for changes in r56889,
which included commits to RCS files with non-trunk default branches.

24 years agoVirgin import of tcpdump.org libpcap v0.5
fenner [Sun, 30 Jan 2000 00:32:56 +0000 (00:32 +0000)]
Virgin import of tcpdump.org libpcap v0.5

24 years agoUse __strong_reference() instead of __weak_reference() to assure that the
jasone [Sat, 29 Jan 2000 22:53:55 +0000 (22:53 +0000)]
Use __strong_reference() instead of __weak_reference() to assure that the
weak symbols of the same name are not used.

24 years agoAdd __strong_reference().
jasone [Sat, 29 Jan 2000 22:51:16 +0000 (22:51 +0000)]
Add __strong_reference().

24 years agocosmetic changes only.
sos [Sat, 29 Jan 2000 22:38:36 +0000 (22:38 +0000)]
cosmetic changes only.

24 years agoGrammar fix: ``Different than'' should be ``different from''.
chris [Sat, 29 Jan 2000 22:20:19 +0000 (22:20 +0000)]
Grammar fix:  ``Different than'' should be ``different from''.

24 years agoAdd wx && ses manpages
mjacob [Sat, 29 Jan 2000 22:06:09 +0000 (22:06 +0000)]
Add wx && ses manpages

24 years agoadd a minimal man page for the SES driver
mjacob [Sat, 29 Jan 2000 22:04:59 +0000 (22:04 +0000)]
add a minimal man page for the SES driver

24 years agoadd a figleaf of a man page for the Intel Gigabit card
mjacob [Sat, 29 Jan 2000 22:04:28 +0000 (22:04 +0000)]
add a figleaf of a man page for the Intel Gigabit card

24 years agoCorrecting SECURITY warning.
chuckr [Sat, 29 Jan 2000 21:44:42 +0000 (21:44 +0000)]
Correcting SECURITY warning.

Submitted by: Kris Kennaway
Reviewed by: Warner Losh

24 years agoMerge from RELENG_3 (oops):
chris [Sat, 29 Jan 2000 19:43:25 +0000 (19:43 +0000)]
Merge from RELENG_3 (oops):

    resolved_name -> resolved_path
    resolvedname -> resolved_path

24 years agoUse config's tools rather than #if's.
peter [Sat, 29 Jan 2000 18:54:12 +0000 (18:54 +0000)]
Use config's tools rather than #if's.

24 years agoGet the KASSERT right.
n_hibma [Sat, 29 Jan 2000 18:53:42 +0000 (18:53 +0000)]
Get the KASSERT right.

24 years agoTidy up stray or bogus #if NFOO > 0 and #include "foo.h".
peter [Sat, 29 Jan 2000 18:48:30 +0000 (18:48 +0000)]
Tidy up stray or bogus #if NFOO > 0 and #include "foo.h".

24 years agoRemove a rather bizzare set of #ifdefs and #defines that all worked out
peter [Sat, 29 Jan 2000 18:44:01 +0000 (18:44 +0000)]
Remove a rather bizzare set of #ifdefs and #defines that all worked out
to be a NO-OP.

24 years agoRemove #if NDGB > 0 and #if NDGM > 0
peter [Sat, 29 Jan 2000 18:42:45 +0000 (18:42 +0000)]
Remove #if NDGB > 0 and #if NDGM > 0

24 years agoRemove a somewhat odd #if that is always true (NOLTR will be always
peter [Sat, 29 Jan 2000 18:38:31 +0000 (18:38 +0000)]
Remove a somewhat odd #if that is always true (NOLTR will be always
1 or more if this file is being compiled)

24 years agoRemove #include "eisa.h" and #if NEISA > 0
peter [Sat, 29 Jan 2000 18:22:33 +0000 (18:22 +0000)]
Remove #include "eisa.h" and #if NEISA > 0

24 years agoRemove unneeded #include "eisa.h" and #if NEISA > 0
peter [Sat, 29 Jan 2000 18:21:21 +0000 (18:21 +0000)]
Remove unneeded #include "eisa.h" and #if NEISA > 0

24 years agoAdd NI_NAMEREQD flag to getnameinfo() call. Without this flag,
shin [Sat, 29 Jan 2000 18:21:05 +0000 (18:21 +0000)]
Add NI_NAMEREQD flag to getnameinfo() call. Without this flag,
getnameinfo() don't return error at name resolving failure.
But it is used at doaddrlookup(-N) case in telnet, error need to be
returned to correctly initialize hostname buffer.

Discovered at checking recent KAME repository change, noticed by itojun.

24 years agoMark the 'conflicts' keyword as obsolete, and don't generate (unused)
peter [Sat, 29 Jan 2000 18:14:59 +0000 (18:14 +0000)]
Mark the 'conflicts' keyword as obsolete, and don't generate (unused)
resource table entries for it.

24 years agoRemove #if NGIF > 0 and #if NFAITH > 0 as config already checks this.
peter [Sat, 29 Jan 2000 18:10:39 +0000 (18:10 +0000)]
Remove #if NGIF > 0 and #if NFAITH > 0 as config already checks this.

24 years agoRemove 'conflicts' token - it has been effectively doing absolutely
peter [Sat, 29 Jan 2000 18:07:07 +0000 (18:07 +0000)]
Remove 'conflicts' token - it has been effectively doing absolutely
nothing for quite some time.  The only thing that cared was userconfig,
but it was for one invisible device so we never saw it's effects.

24 years agoFix debugging output. The TDs are linked through the dnext field, not
n_hibma [Sat, 29 Jan 2000 18:01:15 +0000 (18:01 +0000)]
Fix debugging output. The TDs are linked through the dnext field, not
nexttd.

24 years agoZap isa_device -> id_conflicts. The sole user of it (userconfig) never
peter [Sat, 29 Jan 2000 18:01:10 +0000 (18:01 +0000)]
Zap isa_device -> id_conflicts.  The sole user of it (userconfig) never
actually used it since the only device that specified it (vga0) was marked
as "FLG_INVISIBLE" in userconfig and therefore never shown.

Suggested by: bde

24 years agoAdd some more comments about sound card bridge devices and their
peter [Sat, 29 Jan 2000 17:56:23 +0000 (17:56 +0000)]
Add some more comments about sound card bridge devices and their
relationship with pcm and other things like newmidi.

24 years agoStill allow sbc/gusc/csa to perform as bridge devices (eg: to newmidi)
peter [Sat, 29 Jan 2000 17:48:28 +0000 (17:48 +0000)]
Still allow sbc/gusc/csa to perform as bridge devices (eg: to newmidi)
without pcm being present.

24 years agoAllow the pnp and pci cards to be attached with just a 'device pcm' in
peter [Sat, 29 Jan 2000 17:28:48 +0000 (17:28 +0000)]
Allow the pnp and pci cards to be attached with just a 'device pcm' in
the user's config file.  Based on an idea/suggestion from Cameron (cg).

Change LINT to build newpcm instead of the old Voxware derived stuff.
That's much more useful in the longer term.

24 years agoForce installs. This is to allow (semi-)automatic garbage removal by
markm [Sat, 29 Jan 2000 17:27:17 +0000 (17:27 +0000)]
Force installs. This is to allow (semi-)automatic garbage removal by
"find /usr/libdata -ctime -N -delete".

24 years agoupdate copyright
mjacob [Sat, 29 Jan 2000 17:23:41 +0000 (17:23 +0000)]
update copyright

24 years agoMove the (duplicated exactly!) portable ISA pcm drivers to files and
peter [Sat, 29 Jan 2000 17:15:03 +0000 (17:15 +0000)]
Move the (duplicated exactly!) portable ISA pcm drivers to files and
tighten up the logic a little.

24 years agoRemove #include "wd.h" and #if NWDC > 0 as that's always true as this
peter [Sat, 29 Jan 2000 16:59:53 +0000 (16:59 +0000)]
Remove #include "wd.h" and #if NWDC > 0 as that's always true as this
file is 'optional wdc'  (note wd.h has both NWDC and NWD in it because
of config quirks)

24 years agoWrong patch had been applied.
mjacob [Sat, 29 Jan 2000 16:57:03 +0000 (16:57 +0000)]
Wrong patch had been applied.

24 years agoRemove some #if NFOO > 0 that are always true because of config rules.
peter [Sat, 29 Jan 2000 16:56:24 +0000 (16:56 +0000)]
Remove some #if NFOO > 0 that are always true because of config rules.

24 years agoRemove the TABLDISC line discipline number, it's not in the tree
peter [Sat, 29 Jan 2000 16:47:35 +0000 (16:47 +0000)]
Remove the TABLDISC line discipline number, it's not in the tree
any more (and never worked in FreeBSD 2.x onwards as far as I can tell),
and isn't used by anything in the tree any more either.

24 years agoDon't report TABLDISC - it "doesn't happen(TM)"
peter [Sat, 29 Jan 2000 16:45:28 +0000 (16:45 +0000)]
Don't report TABLDISC - it "doesn't happen(TM)"

24 years agoDon't report the tablet line discipline, it "doesn't happen (TM)"
peter [Sat, 29 Jan 2000 16:44:08 +0000 (16:44 +0000)]
Don't report the tablet line discipline, it "doesn't happen (TM)"

24 years agoUpdate copyright and pull some newer definitions from NetBSD version.
mjacob [Sat, 29 Jan 2000 16:41:08 +0000 (16:41 +0000)]
Update copyright and pull some newer definitions from NetBSD version.

24 years agoPut tslb_device structure in this file. Put a pointer to to primary
mjacob [Sat, 29 Jan 2000 16:40:17 +0000 (16:40 +0000)]
Put tslb_device structure in this file. Put a pointer to to primary
CPU's structure.

24 years agoClean up some compilation warnings and errors.
mjacob [Sat, 29 Jan 2000 16:39:21 +0000 (16:39 +0000)]
Clean up some compilation warnings and errors.

24 years agoRemove (commented out and marked as broken) pseudo-device tb. This was
peter [Sat, 29 Jan 2000 16:39:14 +0000 (16:39 +0000)]
Remove (commented out and marked as broken) pseudo-device tb.  This was
added in rev 1.205 (october 1995).

24 years agoRemove kern/tty_tb.c.
peter [Sat, 29 Jan 2000 16:36:22 +0000 (16:36 +0000)]
Remove kern/tty_tb.c.

24 years agoRemove sys/tablet.h and kern/tty_tb.c (the old RS232 CAD-style tablet
peter [Sat, 29 Jan 2000 16:34:46 +0000 (16:34 +0000)]
Remove sys/tablet.h and kern/tty_tb.c (the old RS232 CAD-style tablet
support code).  It hasn't worked since at least October 1995, and probably
has never worked in the FreeBSD 2.0+ tree.  Obviously it's not a priority
to many folks.

Reviewed by: phk, sos

24 years agoRemove a warning from LINT
n_hibma [Sat, 29 Jan 2000 16:25:55 +0000 (16:25 +0000)]
Remove a warning from LINT

24 years agoRemove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some
peter [Sat, 29 Jan 2000 16:17:36 +0000 (16:17 +0000)]
Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some
#include "foo.h" headers.

24 years agoFix this so LINT compiles. There is no way this could have worked if
peter [Sat, 29 Jan 2000 16:13:08 +0000 (16:13 +0000)]
Fix this so LINT compiles.  There is no way this could have worked if
tested with LINT.  I've put back netatm/kern_include.h and maked it
with a fixme!, otherwise NETISR_ATM isn't defined as ATM_KERNEL isn't
defined.  Defining that exposes a whole bunch of other dependencies.. :-(

24 years agoRemove #if NFOO > 0 (it's not required in most cases) and also where it
peter [Sat, 29 Jan 2000 16:00:34 +0000 (16:00 +0000)]
Remove #if NFOO > 0 (it's not required in most cases) and also where it
isn't used as a result, remove #include "foo.h".  Many of these drivers
still use NFOO for softc struct sizing etc however.

24 years agoDon't build the wdc atapi attachments unless wdc is also present.
peter [Sat, 29 Jan 2000 15:58:30 +0000 (15:58 +0000)]
Don't build the wdc atapi attachments unless wdc is also present.

24 years agoUnbreak LINT.
n_hibma [Sat, 29 Jan 2000 15:55:03 +0000 (15:55 +0000)]
Unbreak LINT.

Pointed out by:   Peter Wemm

24 years agoDont confuse our users with this, the ata driver uses burncd.
sos [Sat, 29 Jan 2000 15:47:46 +0000 (15:47 +0000)]
Dont confuse our users with this, the ata driver uses burncd.

24 years agoPut a FYI in the compatability shims so that people are aware that they
peter [Sat, 29 Jan 2000 15:37:36 +0000 (15:37 +0000)]
Put a FYI in the compatability shims so that people are aware that they
are using an old unconverted driver.  Most (if not all) of the drivers
for common hardware are newbus these days.  However, we don't want
to encourage people to take the easy way out and write new drivers
using the shims.  This is just passive "encouragement".

Reviewed by: phk

24 years agoIncrease the default msgbuf size from 8k to 32k. Boot -v easily
peter [Sat, 29 Jan 2000 15:29:11 +0000 (15:29 +0000)]
Increase the default msgbuf size from 8k to 32k.  Boot -v easily
overflows the default buffer making it too hard to get a dmesg from
a verbose boot.  It's still changeable via an option, so if picobsd
needs to set it to something else they still can.

Reviewed by: phk, alfred

24 years agoThis patch fixes a locking bug that can result in deadlock if
rwatson [Sat, 29 Jan 2000 15:22:58 +0000 (15:22 +0000)]
This patch fixes a locking bug that can result in deadlock if
the codepath is followed.

From the PR:

  vclean calls vrele leading to deadlock (if usecount > 0)

  vclean() calls vrele() if v_usecount of the node was higher than one.
  But before calling it, it sets the VXLOCK flag, which will make
  vn_lock called from vrele dead-lock.

PR: kern/15117
Submitted by: Assar Westerlund <assar@stacken.kth.se>
Reviewed by: rwatson
Obtained from: NetBSD

24 years agoUse config's conditional compilation rather than using #ifdefs that make
peter [Sat, 29 Jan 2000 15:08:56 +0000 (15:08 +0000)]
Use config's conditional compilation rather than using #ifdefs that make
modular compilation harder.  I'm doing this because people seem to like
cut/pasting examples of bad practices in existing code.

24 years agoArrange for the following files to be compiled when the configuration
peter [Sat, 29 Jan 2000 15:04:33 +0000 (15:04 +0000)]
Arrange for the following files to be compiled when the configuration
conditions are met rather than having to resort to #if's in the code.
> dev/syscons/scvgarndr.c               optional        sc vga
> dev/syscons/scvesactl.c               optional        sc vga vesa
> i386/isa/vesa.c                       optional        vga vesa

24 years agoFirst part of the fix for ohci_hash_find_td panic.
n_hibma [Sat, 29 Jan 2000 14:53:47 +0000 (14:53 +0000)]
First part of the fix for ohci_hash_find_td panic.

Some controllers submit bogus pointers to the Done queue.
ohci_hash_find_td fails to find these in its hash and panics. Instead of
panicing we now assume the whole done queue is lost and let the timeout
code to clean up the mess after us.

24 years agoRemove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not
peter [Sat, 29 Jan 2000 14:50:32 +0000 (14:50 +0000)]
Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not
needed.