Yoshinobu Inoue
158316667c
Fix kernel build breakage.
...
ip6_fw.c also needs ipv6firewall options. Sorry for the problem.
Submitted by: Jim Bloom <bloom@acm.org>
2000-01-30 03:52:28 +00:00
Jason Evans
7d1c6de8b7
Add __strong_reference().
2000-01-29 22:51:16 +00:00
Søren Schmidt
4de1cbfab9
cosmetic changes only.
2000-01-29 22:38:36 +00:00
Peter Wemm
4486cd7990
Use config's tools rather than #if's.
2000-01-29 18:54:12 +00:00
Nick Hibma
5a250db943
Get the KASSERT right.
2000-01-29 18:53:42 +00:00
Peter Wemm
5775b1a2b6
Tidy up stray or bogus #if NFOO > 0 and #include "foo.h".
2000-01-29 18:48:30 +00:00
Peter Wemm
96e00123b4
Remove a rather bizzare set of #ifdefs and #defines that all worked out
...
to be a NO-OP.
2000-01-29 18:44:01 +00:00
Peter Wemm
1c6f64061c
Remove #if NDGB > 0 and #if NDGM > 0
2000-01-29 18:42:45 +00:00
Peter Wemm
cc5bdb7978
Remove a somewhat odd #if that is always true (NOLTR will be always
...
1 or more if this file is being compiled)
2000-01-29 18:38:31 +00:00
Peter Wemm
86edd75342
Remove #include "eisa.h" and #if NEISA > 0
2000-01-29 18:22:33 +00:00
Peter Wemm
d835c5043b
Remove unneeded #include "eisa.h" and #if NEISA > 0
2000-01-29 18:21:21 +00:00
Peter Wemm
e0c121beaf
Remove #if NGIF > 0 and #if NFAITH > 0 as config already checks this.
2000-01-29 18:10:39 +00:00
Peter Wemm
68b538c712
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.
2000-01-29 18:07:07 +00:00
Nick Hibma
c50e6e7a39
Fix debugging output. The TDs are linked through the dnext field, not
...
nexttd.
2000-01-29 18:01:15 +00:00
Peter Wemm
af88e209a2
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
2000-01-29 18:01:10 +00:00
Peter Wemm
81bb901ed1
Add some more comments about sound card bridge devices and their
...
relationship with pcm and other things like newmidi.
2000-01-29 17:56:23 +00:00
Peter Wemm
afa0d59d93
Still allow sbc/gusc/csa to perform as bridge devices (eg: to newmidi)
...
without pcm being present.
2000-01-29 17:48:28 +00:00
Peter Wemm
6724519462
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.
2000-01-29 17:28:48 +00:00
Matt Jacob
baea546e44
update copyright
2000-01-29 17:23:41 +00:00
Peter Wemm
5d021a76f2
Move the (duplicated exactly!) portable ISA pcm drivers to files and
...
tighten up the logic a little.
2000-01-29 17:15:03 +00:00
Peter Wemm
269a49497f
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)
2000-01-29 16:59:53 +00:00
Matt Jacob
186f1be198
Wrong patch had been applied.
2000-01-29 16:57:03 +00:00
Peter Wemm
cef8bf096f
Remove some #if NFOO > 0 that are always true because of config rules.
2000-01-29 16:56:24 +00:00
Peter Wemm
1244f0e61a
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.
2000-01-29 16:47:35 +00:00
Matt Jacob
c8f742acd8
Update copyright and pull some newer definitions from NetBSD version.
2000-01-29 16:41:08 +00:00
Matt Jacob
cd6421ca76
Put tslb_device structure in this file. Put a pointer to to primary
...
CPU's structure.
2000-01-29 16:40:17 +00:00
Matt Jacob
602d8494a9
Clean up some compilation warnings and errors.
2000-01-29 16:39:21 +00:00
Peter Wemm
ce253636bb
Remove (commented out and marked as broken) pseudo-device tb. This was
...
added in rev 1.205 (october 1995).
2000-01-29 16:39:14 +00:00
Peter Wemm
8f24ed4066
Remove kern/tty_tb.c.
2000-01-29 16:36:22 +00:00
Peter Wemm
f7b79efbc1
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
2000-01-29 16:34:46 +00:00
Nick Hibma
64470e4c96
Remove a warning from LINT
2000-01-29 16:25:55 +00:00
Peter Wemm
690f85de65
Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some
...
#include "foo.h" headers.
2000-01-29 16:17:36 +00:00
Peter Wemm
ff76332c49
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.. :-(
2000-01-29 16:13:08 +00:00
Peter Wemm
e27c1addaa
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.
2000-01-29 16:00:34 +00:00
Peter Wemm
db8ba2ef83
Don't build the wdc atapi attachments unless wdc is also present.
2000-01-29 15:58:30 +00:00
Nick Hibma
acd60c3cb0
Unbreak LINT.
...
Pointed out by: Peter Wemm
2000-01-29 15:55:03 +00:00
Peter Wemm
cebf86fa3f
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
2000-01-29 15:37:36 +00:00
Peter Wemm
8f670c3d88
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
2000-01-29 15:29:11 +00:00
Robert Watson
9a2b8fca80
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
2000-01-29 15:22:58 +00:00
Peter Wemm
8f8e587948
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.
2000-01-29 15:08:56 +00:00
Peter Wemm
08922a1c23
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
2000-01-29 15:04:33 +00:00
Nick Hibma
8010b90dc6
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.
2000-01-29 14:53:47 +00:00
Peter Wemm
b7598e9bd7
Remove #if NVX > 0 and #if NEISA > 0 (and #include "eisa.h") as it's not
...
needed.
2000-01-29 14:50:32 +00:00
Peter Wemm
bc51803479
Remove #include "vga.h" and #if NVGA > 0 as it's implied by config.
2000-01-29 14:43:47 +00:00
Peter Wemm
25a2c600af
Remove #include "splash.h" and #if NSPLASH > 0" - it's implied by config.
2000-01-29 14:42:57 +00:00
Peter Wemm
2d8e7d39da
Remove #if NIE > 0 test, it's guaranteed to be true by config.
2000-01-29 14:41:52 +00:00
Nick Hibma
75fc24dc62
Add comments and debugging info.
2000-01-29 14:41:48 +00:00
Peter Wemm
5c5ea07fc6
Remove #if NEN > 0 in the name of FreeBSD - it's not required as config
...
only compiles this file if it's true. NEN is still used though. :-(
2000-01-29 14:38:04 +00:00
Peter Wemm
71619ad987
Remove #include "eisa.h" and #if NEISA > 0 as it's only ever compiled
...
if NEISA is > 0 as guaranteed by config.
2000-01-29 14:31:57 +00:00
KATO Takenori
85c5708bab
Synced with sys/isa/ppc.c rev 1.26.
2000-01-29 14:30:28 +00:00