freebsd-dev/sys
Bruce Evans 2c02e8a20a Replace strtol() by strtoul() so that "negative" addresses and masks don't
get truncated to LONG_MAX.  Don't lobotomize the merged library source.

Make all private data static.

Use int_parms for the i/o "address" since the "address" is really a number
and is represented as an int.

Add command `flags' to allow changing device flags.

Fix scrolling of device listing.  Only scrolling of the current devtab
was controlled.  Reprint the header after scrolling.

Rename commands and change strings to match their config(8) keywords:

	io -> port
	IOaddr -> port
	mem -> iomem (abbreviation is io :-()
	MemAddr -> iomem
	case changes

Don't use NULL for ASCII NUL.

Call strtoul() with base 0 for both numbers and addresses so that input
is consistent and hex and octal can be used for numbers.

Fix entry of irq number.  Check the range at no extra cost.  It wasn't
possible to enter irq -1.

Format device listing better.  Large numbers (such as 0xffffffff for the
GENERIC lpt0 port) messed up the formatting.

Show the unit number in the device listing.  Comment about the fields
that aren't shown.
1994-11-14 03:22:28 +00:00
..
alpha/include Added more SCO compat ioctl's. 1994-10-17 22:12:06 +00:00
amd64 Add ep0 line to kernel config files. 1994-11-13 10:17:07 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Add a new "distribute" target. This is a variant of install, which will 1994-11-13 21:05:28 +00:00
ddb Print "(null)" instead of crashing for null strings. Null names are 1994-10-30 20:55:44 +00:00
dev Added support for SIOCSIFMTU ioctl. Fixed bug that caused panic at boot time 1994-11-13 12:39:38 +00:00
fs From tim@cs.city.ac.uk (Tim Wilkinson): 1994-11-04 14:41:46 +00:00
gnu POSSIBLE BOGUS CODE found, (related to dos-partitions) in ufs_disksubr.c, 1994-10-08 06:57:29 +00:00
i386 Replace strtol() by strtoul() so that "negative" addresses and masks don't 1994-11-14 03:22:28 +00:00
isa Revision 1.6 fix was lost: don't write 0 to RTC_DIAG 1994-11-12 16:24:54 +00:00
isofs/cd9660 Use tsleep() rather than sleep so that 'ps' is more informative about 1994-10-06 21:07:04 +00:00
kern Make a kernel sans FFS possible. 1994-11-12 01:47:43 +00:00
libkern I'm going to nuke strtol() for now. Now I need strncmp() and rather 1994-10-26 11:14:21 +00:00
miscfs From tim@cs.city.ac.uk (Tim Wilkinson): 1994-11-04 14:41:46 +00:00
modules Again, this is not a filesystem so don't compile it as if it were. 1994-10-27 23:39:19 +00:00
msdosfs Fix from John Hay to avoid kernel panics when ap->a_eofflag is NULL. 1994-11-01 21:14:45 +00:00
net Remove redundant stuff. Amazing that they actually solved a bug found in 1994-11-10 18:49:23 +00:00
netccitt Made idempotent 1994-08-21 05:44:12 +00:00
netinet Ugen makes it in with 10 seconds to spare with a one-char diff. Some 1994-11-08 14:25:17 +00:00
netiso Made idempotent -- made some of them more consistent with rest of tree. 1994-08-21 06:14:33 +00:00
netns Made idempotent. 1994-08-21 06:22:12 +00:00
nfs Forward-declare a few structures to avoid warning messages. 1994-11-02 00:11:00 +00:00
nfsclient Forward-declare a few structures to avoid warning messages. 1994-11-02 00:11:00 +00:00
nfsserver Forward-declare a few structures to avoid warning messages. 1994-11-02 00:11:00 +00:00
pci Added support for SIOCSIFMTU ioctl. Fixed bug that caused panic at boot time 1994-11-13 12:39:38 +00:00
powerpc/include Added $Id$ 1994-08-02 07:55:43 +00:00
rpc Use the header files that are compatible with the code just moved over 1994-08-07 18:41:02 +00:00
scsi Delete a bogus check that the SCSI_DELAY only works for the first 1994-11-12 17:13:23 +00:00
sys Added P_SWAPPING flag to implement a lock for swap in. It was possible for 1994-11-13 12:46:08 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs From: fredriks@mcs.com (Lars Fredriksen) 1994-10-28 12:42:05 +00:00
vm Set laundry flag when transitioning an inactive page from clean to dirty. 1994-11-14 02:57:40 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00