Commit Graph

139343 Commits

Author SHA1 Message Date
joff c1dfb8fcc3 Some updates for TS-7200 installation 2005-08-14 18:14:52 +00:00
perry 4156b28f30 Sulphur -> Sulfur
Although the traditional spelling in commonwealth countries is
"Sulphur", the official IUPAC name of the element is "Sulfur", and
even the Royal Society of Chemistry now spells it "Sulfur".
2005-08-14 17:45:17 +00:00
macallan ff06d987cb add a prom patch that creates a device node for the Krups' audio chip
in case it's missing ( like with OF 3.11.10 ) - makes audiocs at ebus work
on these machines.
2005-08-14 16:05:56 +00:00
yamt 5585c58579 mark disk_init.9 obsolete. 2005-08-14 12:04:23 +00:00
yamt 54313d8a0e remove disk_init. 2005-08-14 12:02:02 +00:00
yamt e776c85955 remove disk_init which we don't have anymore. 2005-08-14 12:01:26 +00:00
wiz c8f5575b45 End sentence with a dot. 2005-08-14 09:25:08 +00:00
jmmv 13f8011cf8 Fix typo. 2005-08-14 07:28:29 +00:00
joff e52bd93601 The configuration used for the NetBSD/toaster demo by
the NetBSD booth during LinuxWorld Expo 2005.
2005-08-14 04:35:45 +00:00
joff 6463cb5191 Since we disabled the LCD and matrix keypads in the default kernel, supply
this configuration which has them both enabled.
2005-08-14 04:34:41 +00:00
joff c8bc480520 add toastersensors device 2005-08-14 04:33:49 +00:00
joff 389660b05a Add attachments for the 4 possible configurations of the TS-DIO24 on the
PC104 bus.  Also, comment out the tslcd and tskp drivers by default.  Enabling them
prohibits end-user use of the GPIO and LCD headers for other things.
2005-08-14 04:30:08 +00:00
joff 1b548227c4 Toaster inputs (burnlevel potentiometer, toast down sensor) and
matrix keypad/wskbd attachment glue for polling/debouncing
the 5 front-panel buttons.
2005-08-14 04:18:30 +00:00
joff ad50acb4b6 Add toaster, tsdio, toasterlcd devices 2005-08-14 04:15:44 +00:00
joff d4bc23d662 wsdisplay device driver for the 4x40 text-mode LCD on the NetBSD/toaster 2005-08-14 04:15:18 +00:00
joff bb813453e2 Device driver that exposes the burner element, magnetic latch, and front-panel
LEDs of the TS-7200 NetBSD/toaster via sysctl.
2005-08-14 04:14:35 +00:00
joff 43b39c1131 Simple driver for Technologic Systems TS-DIO24 PC104 board. No
userland interface (yet), basically just can detect a TS-DIO24 on a ISA
bus and provide an attachment for sub-devices.

The TS-DIO24 contains 24 programmable digital input/outputs.
2005-08-14 03:50:34 +00:00
joff f0e1f44063 Fix argument mismatch (clockframe * vs. irqframe *) in ep93xx_intr_dispatch() that
has been causing compile failures.
2005-08-14 03:10:16 +00:00
joff 02b3ec89cf SSP locations needs to be defined since tspld device uses it to talk to the
TS-7200 temperature sensor.  While here, add some more GPIO registers too.
2005-08-14 03:07:30 +00:00
joff 27727f52ec Add magic i/o location for the MAX197 ADC 2005-08-14 03:05:00 +00:00
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