Commit Graph

143682 Commits

Author SHA1 Message Date
christos 0fa6ea2f2c PR/32794: Paul Shupak: Panic in wsmouse code.
Checking the number of events after you've trashed the stack is not very
useful. Instead, break out of the loop if we ran out, printing a message.
Also don't try to inject 0 events; reset our state instead. Maybe having
0 events should be a diagnostic printf at this point? Anyway it is not
nice having the kernel die because the mouse code got confused. Finally,
explain why the array of events is sized funny.
2006-02-10 17:33:01 +00:00
christos 62bee0ffa5 PR/32788: KAMADA Ken'ichi: add support for tmpfs 2006-02-10 16:01:45 +00:00
christos 6547cf74f3 make the include files usable from userland. 2006-02-10 16:00:02 +00:00
wiz 90c00efe34 Adapt for bswap* changes in configure.ac. 2006-02-10 07:07:20 +00:00
simonb 45da43de95 Fix bogus gcc uninitialised warnings - they're not needed for one of the
variables.
Update a comment to match changed code.
2006-02-10 02:15:37 +00:00
gdamore d7b576a512 Fix error calling interrupt too many times (found with vmstat -e).
Replace "&&" with "&" when doing bit mask operations.  Doh!
2006-02-10 00:56:41 +00:00
simonb 8b00a8c689 Make a note that some counters should be 64-bit as they wrap far to
quickly.
2006-02-10 00:53:04 +00:00
gdamore 07fe2e72a2 Add au_intr_enable() and au_intr_disable() API to allow for split interrupts
(e.g. PCMCIA leaves GPIO interrupt masked and reenables them soft interrupt.)
Add checks for masked interrupts before calling the handler.
When removing last interrupt handler, mask off interrupts completely using
MASK_CLEAR and WAKEUP_CLEAR.  Tested on dbau1500.
2006-02-10 00:22:42 +00:00
agc a63dd2456e we moved the port number back to the command line from the targets file some
time ago, reflect that in the manual page.
2006-02-09 23:36:48 +00:00
dogcow 663b29bb4a make linux emulation compile on i386 again. 2006-02-09 23:27:08 +00:00
wiz 2f8629b864 New sentence, new line. 2006-02-09 23:19:39 +00:00
wiz 750e9a6a5b New sentence, new line. Bump date for previous. 2006-02-09 23:18:10 +00:00
agc 87de377d9d Reflect changes in dist/ in the reachover framework 2006-02-09 23:09:06 +00:00
agc 0a7d1d9211 Break out the files relating to storage extents, devices and targets into
a separate source file.
2006-02-09 23:08:31 +00:00
wiz 264739a1aa regen with autoheader; header and footer need to be added manually,
add a comment saying so.
2006-02-09 22:28:06 +00:00
wiz 1ec2d20625 regen. 2006-02-09 22:26:51 +00:00
wiz 6ad9de8b94 Use the AC_DEFINE version with three arguments consistently, since
then autoheader works too.
Replace the remaining abusers of AC_CHECK_FUNCS with AC_CHECK_DECLS
too.
2006-02-09 22:26:06 +00:00
dogcow 86811edb37 change #include <sys/endian.h> => #include <machine/endian.h> so that
it's (more) consistent in the tree; this, along with changing tools/compat's
autoconf detection from AC_CHECK_FUNCS to AC_CHECK_DECLS makes the vast
majority of htobe16 and friends' redefinition errors bite the dust.
Tested with -current and FreeBSD.
2006-02-09 22:03:15 +00:00
kleink 3e3854b2d0 options<space><tab>name previous. 2006-02-09 20:13:43 +00:00
manu 87d33baf60 update options(4) to talk about COMPAT_LINUX32 2006-02-09 19:24:40 +00:00
manu ee0c5b44de Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64
2006-02-09 19:18:56 +00:00
gdamore 0cf592aa8a au_icu.c is in mips/ and should not depend on evbmips intr handler struct.
convert various u_int32_t to preferred uint32_t.
2006-02-09 18:03:12 +00:00
agc 3d80f87df2 Add a section explaining about the use of CHAP authentication in the test
harness.
2006-02-09 16:40:49 +00:00
agc f8e2bf3e6d Get rid of parts not needed for the iSCSI target and test harness. 2006-02-09 16:39:56 +00:00
he 0dc5f4be3b Print __uint64_t variables with PRIu64, not with lld.
Fixes build on alpha and probably other LP64 platforms.
2006-02-09 15:11:40 +00:00
uwe 3c5e28322e pmap_extract: handle P1 and P2 (MMU bypass) addresses specially.
PMAP_MAP_POOLPAGE maps pa -> P1 va, so we must handle this case here.
PR port-sh3/26569 by Nick Hudson.
2006-02-09 10:08:32 +00:00
agc 9d3ba7cac4 Use the ISCSI_NTOHL macro in place of a straight ntohl(), so that this
can be abstracted away per platform.
2006-02-09 08:55:00 +00:00
mrg 5f90d3d8b1 - use <inttypes.h> and PRIu64 in many places.
- don't try to use the return value of NTOHL().

fixes sparc64 build problems.
2006-02-09 08:46:43 +00:00
gdamore 0129c2494b Split out peripheral register defines from aureg.h. As discussed with
simonb@.
2006-02-09 03:14:31 +00:00
gdamore 24967001fb Remove if_aumac register defs, which were generally #ifdef'd out anyway. 2006-02-09 01:20:18 +00:00
gdamore 10c249bac1 Remove not-useful UART references from aureg.h, duplicates consolidated into
aucomreg.h.  First part of aureg.h cleanup requested by simonb@.
2006-02-09 01:08:40 +00:00
gdamore d212c125b0 Added PCI host for Au15XX. 2006-02-09 00:47:50 +00:00
gdamore cec878cba7 Added PCI support for DBAU1500 (verified). 2006-02-09 00:43:10 +00:00
gdamore 0a8bdb270d Add Au1550 PCI support (Au1500 not yet, coming shortly).
Closes PR port-evbmips/32087.
Reviewed by simonb@ (Also, earlier, matt@, and tsutsui@.)
2006-02-09 00:26:39 +00:00
reinoud a62dc37d89 Add name of the processed feature like the others have. 2006-02-08 23:09:15 +00:00
he e245f48109 The sig_atomic_t type is not guaranteed to be printf-compatible
with %d, so cast to int before printing it.
2006-02-08 23:08:13 +00:00
macallan e8b8a792b0 use local junk variables instead of a global one 2006-02-08 22:17:18 +00:00
simonb 1ee1a1e6e2 Don't rename bswap{16,32} if either _KERNEL or _STANDALONE are defined,
instead of just if _KERNEL was defined.
Fixes sbmips bootblocks build problems.
Thanks to Valeriy Ushakov for showing me where the problem was.
2006-02-08 21:52:36 +00:00
agc 6a86b29b9d Fix some wordos in the FAQ. 2006-02-08 21:42:45 +00:00
agc 7cfbac6bcd Remove a file committed in error. 2006-02-08 20:43:13 +00:00
agc 4c7e58b6a1 Note the addition of the NetBSD iSCSI target. 2006-02-08 19:06:42 +00:00
agc 2235f2dadf Add distribution entries and supporting files for the iSCSI target. 2006-02-08 19:02:58 +00:00
agc 38f0b002b6 Add entries for the iSCSI target, and supporting library and manual
pages.
2006-02-08 19:00:32 +00:00
agc 5fc129c4a1 Descend into the iscsi directory. 2006-02-08 18:59:39 +00:00
agc c6b4d61ee2 Reachover support for the library version of the iSCSI target. 2006-02-08 18:58:55 +00:00
agc 97f0c7d9de Reachover files for the iSCSI target.
The test harness files are included here, but are not built or installed.
It is not envisaged that a typical NetBSD user will have much use for an
iSCSI test harness.
2006-02-08 18:57:49 +00:00
agc 33645f4ad2 Import the distribution files for the iSCSI target, developed from the
original Intel code (BSD-licensed) in othersrc, by myself.

This provides an iSCSI target implementation in userland, as well as a
test harness which also runs in userland.

The iSCSI target has been tested with version 1.06 of the Microsoft
initiator, as well as with its own test harness.
2006-02-08 18:56:14 +00:00
christos 238f1027f9 detect integer overflow differently. previous change broke negative sysctl
values.
2006-02-08 18:13:56 +00:00
macallan cd280be65a add a junk variable to keep empty reads from getting eliminated.
Fixed panic in timerattach_msiiep()
2006-02-08 17:56:55 +00:00
christos c508562304 remove sushi 2006-02-08 17:29:33 +00:00