139173 Commits

Author SHA1 Message Date
joff
120d51244b Support for the TS-7200's optional TMP124 temperature sensor via sysctl 2005-08-14 03:03:48 +00:00
joff
6157478f8c hd44780 layer for register reads/writes now takes another argument. 2005-08-14 02:59:52 +00:00
joff
92e361f3ad hd44780 porting layer for readreg/writereg now takes an extra "enable" argument. 2005-08-14 02:58:40 +00:00
joff
02e79f9fb1 4-line HD44780 LCD display support. Work needed for the NetBSD toaster port.
The HD44780 actually doesn't support 4 lines, but the 4 line displays
use two chips, one for the top two lines and one for the bottom
two lines.  The chips share the databus, register-select, and write
signals but have separate enable signals.
2005-08-14 02:56:06 +00:00
martin
e446808533 Back out the "it is not completely clear" part of revision 1.37 - it
effectively swapped RTS and DTR, apparently on all versions of the chip.
This fixes PR kern/30685.
2005-08-13 21:50:45 +00:00
elad
ccdc56641c Make this compile again (remove unused serrno).
Noted by uwe@.
2005-08-13 21:16:58 +00:00
elad
314b003dee Don't allow last path element to be nonexistant. 2005-08-13 19:53:53 +00:00
fvdl
92be7f4643 Fix some wrapping lines. 2005-08-13 17:50:59 +00:00
fvdl
65b1705e76 Add nbtool_config.h include, fixing the tool compile on some platforms. 2005-08-13 17:46:07 +00:00
elad
2d28a8933f Document -L correctly. PR #30430. 2005-08-13 15:59:28 +00:00
jmcneill
7027a58033 Support more than 7 buttons for USB mice. Patch from kern/30248 2005-08-13 14:55:39 +00:00
elad
1ea04d9351 Oops. Put back braces... 2005-08-13 13:06:35 +00:00
elad
c62f8b0f18 The veriexec API uses dev_t and ino_t for device and inode numbers.
VOP_GETATTR() fills a struct vattr, where va_fsid and va_fileid (device
and inode..) are typed as long.

Add some casts when using these values and surround them with XXXs about
the potential size mismatch, as long can be 64 bits but dev_t and ino_t
are always 32 bits. This is safe because *for now* we're still using
32 bit inode numbers.

Discussed with blymn@.
2005-08-13 12:56:44 +00:00
elad
79b2f66712 Fix printing formats.
- size_t is %zu
  - dev_t is uint32_t is %u
  - long is %ld
2005-08-13 12:08:34 +00:00
blymn
110bb51ae7 Split out stats attach code ready for shifting
Add sysctl hooks here for the time being.
2005-08-13 10:50:50 +00:00
blymn
01d37a82c0 Remove the tape stats from here, they caused issues on non-scsipi
architectures.
2005-08-13 10:48:27 +00:00
jmmv
589ba12e9c uvm_unmap returns void, not int.
Also drop some spaces before commas, as they ought not to be there.
2005-08-13 09:49:58 +00:00
he
f35ed2ac89 Include <sys/time.h> before <sys/signalvar.h> so that copyinout_t is
defined before it is used in the second of these.

Fixes a build problem for several of our m68k ports.  I've been
waiting for a better fix, but now my "proper fix timeout" triggered.
2005-08-13 05:38:45 +00:00
fvdl
36825d8853 Comment out some currently unimplemented options, and add a few descriptions
for others (from Daniel Watt).
2005-08-13 02:03:48 +00:00
fvdl
3550dc9861 cd9660 support. Written by Daniel Watt, Walter Deignan, Ryan Gabrys,
Alan Perez-Rathke and Ram Vedam.

Prototyping, KNF, WARNS=3 by me.

Note that this is marked experimental for now. It works well enough to
make NetBSD/i386 bootable images, but does need more work.
2005-08-13 01:53:01 +00:00
fvdl
046051d487 Fix a sign warning for WARNS=3. 2005-08-13 01:49:35 +00:00
jmmv
38501db2ff Drop extra word from comment. 2005-08-12 22:31:51 +00:00
he
1bb5735b5e Check the return value from mktime() and pass any error up.
*tp > LONG_MAX is never true, so replace that check with a test
for strtol() setting errno == ERANGE (oddly, some ports' build
swallowed this without warning).

There's no guarantee that a time_t stores the same number of bits
as a long, so check for an overflow there as well, and pass any
error up.

Discussed with christos, martin and mrg.
2005-08-12 21:40:35 +00:00
ginsbach
9992d68aff Make sure the get command always exits non-zero on error. This makes things
like the following work as expected.

#!/bin/sh

if ! route -sn get default >/dev/null 2>&1; then
	echo default gateway not set
	exit 1
fi
echo default gateway set

Handle routing socket write(2) errors when they occur.  This produces
better diagnostics by allowing for handling of the special route errno
values ESRCH, EBUSY, and ENOBUFS even with the quiet (-q) option or
when doing a get command.
2005-08-12 21:23:06 +00:00
riz
9f6e077029 Add snj and riz to Release Engineering team. 2005-08-12 20:47:32 +00:00
ginsbach
9c8def382d Trim the local domain name in routename() for INET6 lookups; similar to
INET lookups.
2005-08-12 16:29:06 +00:00
macallan
87c196d064 revert previous version, will create a device node in the boot loader instead 2005-08-12 16:28:14 +00:00
christos
91b1a8d112 patch from Liam Foy to add a -F option to force a user to change her's/his
password at the next login.
2005-08-12 16:22:05 +00:00
christos
622690226a If called from syn_cache_add, we need to initialize t_state before calling
tcp_dooptions. Pointed out by yamt.
2005-08-12 14:41:00 +00:00
elad
bbf85a429b Use PRIxPTR when printing a pointer. 2005-08-12 14:08:16 +00:00
macallan
332916f171 For Krups only - attach audiocs at ebus even if there's no sound node in the
device tree. Works only as long as the cs4231 driver doesn't attempt to use
the node since we can't really supply one.
Tested on a Krups with OF 3.11.10
2005-08-12 12:46:17 +00:00
yamt
d1f3bf1181 pmap_enter: fix an uninitialized variable bug which can cause
"TLB IPI rendezvous failed".
2005-08-12 10:04:24 +00:00
yamt
03661e8f33 include callout.h explicitly. 2005-08-12 10:02:31 +00:00
hubertf
a72fe4e4bf Clarify comment that "the protocol specification dated September, 1981"
is really RFC 793.
2005-08-12 04:19:22 +00:00
junyoung
b0c452fd1f Make microcode loading work on big endian machines.
Reported and patch supplied by yongari@freebsd a long time ago.
2005-08-12 01:07:16 +00:00
christos
5910d08b05 Don't process TCP options in SYN packets after the connection has
been established. (FreeBSD-SA-05:15.tcp)
2005-08-11 22:25:18 +00:00
rpaulo
aaf548920f Explained the '-h' option. 2005-08-11 20:56:57 +00:00
rpaulo
630caafc65 Added a new ifconfig flag, -h, allowing, in conjunction with -v, the display
of interface I/O bytes in human-format.

Reviewed by Christos Zoulas and Jason Thorpe.
2005-08-11 20:56:05 +00:00
cube
9f1eb3e30f Change all archs that did:
#define clockframe somethingelse

to:

struct clockframe {
	struct somethingelse cf_se;
};

and change access macros accordingly.

That means that, at least for that very issue, things will not go
ka-boomy if you don't have the actual definition of struct clockframe
before including systm.h.
2005-08-11 20:32:55 +00:00
drochner
bbc1e050c5 imported dhcp-3.0.3 2005-08-11 17:22:35 +00:00
drochner
9fbefaf7c9 merge dhcp-3.0.3 2005-08-11 17:13:21 +00:00
drochner
1b6f9e91ef import ISC dhcp-3.0.3 onto the vendor branch 2005-08-11 16:54:17 +00:00
yamt
3a2482b78f fr_check_wrapper6: handle M_CSUM_TCPv6|M_CSUM_UDPv6. 2005-08-11 13:01:38 +00:00
yamt
bbfb2033ff pfil6_wrapper: handle M_CSUM_TCPv6|M_CSUM_UDPv6. 2005-08-11 13:01:24 +00:00
yamt
2edce77c87 document pmap_procwr. 2005-08-11 11:20:48 +00:00
pooka
9157daca51 apply cosmetics to VOP_MK/RMDIR prototypes 2005-08-11 10:49:47 +00:00
pooka
304eed6ad2 document the flags O_ALT_IO and O_NOCTTY 2005-08-11 10:35:24 +00:00
pooka
f219942c2b match section on read/write ioflags with current reality
(bump date!)
2005-08-11 10:06:38 +00:00
elad
3df38a6c89 Make inpath work like strstr again. :) 2005-08-10 21:53:01 +00:00
elad
9d164b22bc Add comments. 2005-08-10 21:33:36 +00:00