Commit Graph

128139 Commits

Author SHA1 Message Date
christos
6ecf0e2cbe add a pfdetach() method to be used by lkm's 2004-06-22 18:04:32 +00:00
christos
e287801e16 make this compile and fix error handling (does not load yet). 2004-06-22 18:04:05 +00:00
christos
ab5ca5c5d6 Include ioctl's that don't have IO in their names [lkm ones eg.] 2004-06-22 17:30:52 +00:00
christos
d6bf74cb9e Add a check for a non-null owner before dereferencing it. Fixes ld core-dumps
related to lkms.
2004-06-22 16:35:49 +00:00
mrg
b83f6fa528 Add re; Realtek GbE. 2004-06-22 16:28:28 +00:00
itojun
f7c9d7b3eb make spamd compile on netbsd 2004-06-22 16:04:40 +00:00
itojun
c2d7a8642b spamd-setup, comes with PF for openbsd 3.5 2004-06-22 15:53:17 +00:00
itojun
bf0f75e934 PF from openbsd 3.5 2004-06-22 15:46:46 +00:00
itojun
10c71795a1 build and install spamd(8) 2004-06-22 15:41:54 +00:00
itojun
bd5c29bee3 add $NetBSD$ 2004-06-22 15:35:38 +00:00
itojun
779d0ec295 PF from openbsd 3.5 2004-06-22 15:34:26 +00:00
toshii
792bff8d3c Add re; Realtek GbE. 2004-06-22 15:31:38 +00:00
toshii
a9b9fd4313 Add re; Realtek GbE. 2004-06-22 15:18:33 +00:00
itojun
ad399b67b8 PF from openbsd 3.5
massage pfctl to compile/run on netbsd.  put reachover makefile for pfctl
into src/sbin.
reviewed by matt, perry, christos
2004-06-22 15:16:29 +00:00
toshii
ef8af66f53 re(4) appeared in NetBSD 2.0. 2004-06-22 15:10:16 +00:00
itojun
9e6c9caf46 PF from openbsd 3.5 2004-06-22 15:06:49 +00:00
itojun
7ebcee1564 add pf manpage for installation 2004-06-22 14:58:41 +00:00
itojun
4a887d96a0 add $NetBSD$ 2004-06-22 14:34:58 +00:00
itojun
d70f07f00c PF from OpenBSD 3.5 2004-06-22 14:33:10 +00:00
itojun
ffe2ca6827 fix "includes" for pfvar.h 2004-06-22 14:29:45 +00:00
itojun
7ef0131ac7 PF LKM - not working (ld dumps core) because of the lack of my LKM knowledge.
committed to ask help from LKM guru.
reviewed by matt, christos, perry
2004-06-22 14:18:58 +00:00
itojun
bfcdaa5766 PF from openbsd 3.5. missing features:
- pfsync (due to protocol # assignment issues)
- carp (not really a PF portion, but thought important to mention)
- PF and ALTQ are mutually-exclusive.  this will be sorted out when
  kjc@csl.sony.co.jp updates ALTQ and PF (and API inbetween)

reviewed by matt, christos, perry

torture-test is very welcomed.
2004-06-22 14:17:07 +00:00
itojun
596aec9a47 have pf and pflog pseudo-device (commented out).
reviewed by matt, perry, christos
2004-06-22 14:09:49 +00:00
itojun
a225f02f05 foundation for PF 2004-06-22 14:04:04 +00:00
itojun
3696a8d60c use strlcpy 2004-06-22 14:00:54 +00:00
itojun
6adffbf983 PF from OpenBSD 3.5 2004-06-22 13:52:05 +00:00
atatat
eaa9fc4cc3 Reverse arguments to fcntl(2). 2004-06-22 13:49:43 +00:00
itojun
047170b1cc prepare PF-related hooks. reviewed by matt, perry, christos 2004-06-22 12:50:41 +00:00
itojun
afa9c2cdac hide in-kernel structure by _KERNEL 2004-06-22 12:45:57 +00:00
mycroft
a995be9908 Fix a printf() error. 2004-06-22 12:21:04 +00:00
mrg
3c372acd10 if there are zero bytes to output, this isn't an error. it's probably
a zero length file.  don't return an error.  this should fix PR#25994.
2004-06-22 12:01:29 +00:00
bsh
a3f45b38fe Implement software reset by means of watchdog timer. 2004-06-22 11:18:32 +00:00
soren
1e4090e3e1 Make ubt build; bluetooth.c is btbus code, not bthcidrv. 2004-06-22 10:37:00 +00:00
mycroft
a31a65fb9f Remove comment about the data toggle being borked. 2004-06-22 09:46:46 +00:00
enami
8bafaf56a7 As the ehci_idone() now uses the variable `epipe' unconditionally, always
declare it (in other words, make this file compile w/o EHCI_DEBUG).
2004-06-22 09:16:56 +00:00
wiz
a3581a08d2 Bump date for previous. 2004-06-22 09:12:48 +00:00
mycroft
1f65a19a82 Delete the "quite buggy" comment. 2004-06-22 09:10:55 +00:00
mycroft
7a2cdd24f9 Fix a stupid bug in ehci_check_intr() that caused use to try to complete a
transaction that was still running.  Now ehci can handle multiple devices
being active at once.
2004-06-22 08:55:25 +00:00
mycroft
4114710563 Oops. Remove a couple of printf()s. 2004-06-22 07:40:19 +00:00
mycroft
941901b304 Failure to properly mask off UE_DIR_IN from the endpoint address was causing
OHCI_ED_FORMAT_ISO and EHCI_QH_HRECL to get set spuriously, causing rather
interesting lossage.

Suddenly I get MUCH better performance with ehci...
2004-06-22 07:20:35 +00:00
mycroft
46d9c14fee Set the data toggle correctly, and use EHCI_QTD_DTC. This fixes problems with
my ALi-based drive enclosure (it works now, rather than failing to attach).
Also seems to work with a GL811-based enclosure and an ASUS enclosure with a
CD-RW, on both Intel and NEC controllers.

Note: The ALi enclosure is currently very SLOW, due to some issue with taking
too long to notice that the QTD is complete.  This requires more investigation.
2004-06-22 05:25:10 +00:00
jmc
3cc9c970a3 Redo the last commit. _NETBSD_SOURCE should never be used/referenced anymore.
So, don't wrap definitions in it, and instead check for it and #error out
if it somehow leaks into scope.

Tested a complete build to sets on x86 from a clean source tree.
2004-06-22 04:36:23 +00:00
jmc
fde002f8c3 Don't include ${DESTDIR}/usr/include/krb5 if HOSTPROG. It's not needed and
could possibly cause an error (though remote). Found during investigation of
PR#26000
2004-06-22 02:44:11 +00:00
christos
0fe4a0b07a Don't check for negative offset in the memory case. 64 bit addresses can
have the high bit set, and thus be interpreted as negative offsets. This
is not a problem because uvm_io() does all the range checks.
2004-06-22 02:06:55 +00:00
jmc
fe74c8aaed Note on NetBSD that _NETBSD_SOURCE should never be defined and it's an error
if it is
2004-06-22 01:51:22 +00:00
jmc
af447bac3f Include notes about purging most of tools/* before building to get correctly
generated yacc/lex output files from new bsd.hostprog.mk
2004-06-22 01:29:51 +00:00
christos
e71f17c257 - Wrap around #if !_NETBSD_SOURCE the definitions of u_{long,int,short,char}
- Protect dirfd() macro so that we don't re-define it.

These changes make my build proceed further.

The problem is that automatically generated files, might include system
files before they include anything else (for example our yacc skeleton
includes <stdlib.h> before it does anything else). This foils the scheme
of defining _POSIX_SOURCE and friends so that _NETBSD_SOURCE does not
get defined; in fact, we include many files with _NETBSD_SOURCE defined,
enough to cause confusion in compat_defs.h which tries to re-define things.
2004-06-21 23:14:42 +00:00
jmc
0a6d68b570 On NetBSD boxes make sure and provide prototypes for strtouq since quad_t gets
exposed all the time, but routines which use it do not. Otherwise callers
of strtouq will lose.
XXX: Need to come back through here and clean up the configure tests better
for this
2004-06-21 22:13:32 +00:00
itojun
5e700978a6 fix missing license. 2004-06-21 21:20:05 +00:00
adrianp
06233d77b0 add myself to the list of developers 2004-06-21 21:18:18 +00:00