atatat
612e86b46d
Wrap TIMEVAL_TO_TIMESPEC and TIMESPEC_TO_TIMEVAL macros in
...
do { ... } while(/*CONSTCOND*/0)
so that they can be used unadorned in if/else blocks, etc. This means
that you now *have* to put a ; at the end of the "call" to these
macros.
2004-11-14 03:30:08 +00:00
christos
7ea1254f12
vgoneall is no more. remove redundant decl.
2004-11-14 00:36:21 +00:00
yamt
3d5ba5bca1
backout whitespace changes to make further import easier.
2004-11-13 21:13:07 +00:00
christos
6665736bf9
Truncate the last incomplete accounting record, if the file size is not
...
a multiple of the accounting size structure. This can happen after a system
crash when fsck truncates the accounting file.
2004-11-13 20:41:41 +00:00
christos
1ad35fcc9a
PR/25749: Peter Postma: missing splx() in kernel.
2004-11-13 19:17:50 +00:00
christos
dfa8d84485
PR/25749: Peter Postma: Missing splx() in kernel.
2004-11-13 19:16:18 +00:00
he
4a9ab9770a
Apply patch from Darren for the ctype() functions/macros.
...
Encapsulates the ctype() functions so that the casts are centralized.
2004-11-13 19:14:48 +00:00
he
76d82c7f1f
Revert previous, paving the way for Darren's cleaner patch.
2004-11-13 18:43:49 +00:00
he
dd5a52f76d
More instances of cast to unsigned char for arguments to ctype functions.
...
Will also be sent to maintainer for possible inclusion in master source.
2004-11-13 15:19:58 +00:00
kent
af9ebe8723
auacer uses aurateconv
2004-11-13 15:15:56 +00:00
kent
c1653144ff
adopt auconv_set_converter()
2004-11-13 15:00:48 +00:00
skrll
7139fbfc16
Add sources to SRCS not KMOD.
2004-11-13 13:37:06 +00:00
christos
896e44ce22
Add some casts to u_long, since -1 is not really unsigned.
2004-11-13 10:17:24 +00:00
sekiya
ad7705ec91
Due to space limitations, we can't embed a three-meg ramdisk installation image
...
into an IP12 kernel.
Remove; installation procedure will have to be GENERIC kernel using sysinst
from a NFS filesystem.
2004-11-13 09:04:28 +00:00
christos
040c934485
Remove setup stack function. It moved to linux_exec_machdep.c.
2004-11-13 08:58:23 +00:00
christos
81021e3081
In TIOCPTSNAME return the minor number of the device in the fd portion of
...
the structures. It is more useful than -1 and cheap to do. Linux pty emulation
uses it.
2004-11-13 08:46:46 +00:00
grant
068c31fe44
tweak an error message.
2004-11-13 08:12:50 +00:00
kent
0de9e471b6
add the following four functions:
...
extern int auconv_set_converter(const struct audio_format *, int,
int, struct audio_params *, int);
extern int auconv_create_encodings(const struct audio_format *, int,
struct audio_encoding_set **);
extern int auconv_delete_encodings(struct audio_encoding_set *);
extern int auconv_query_encoding(const struct audio_encoding_set *,
audio_encoding_t *);
These are helper functions for implementing audio_hw_if::set_params() and
audio_hw_if::query_encodings().
2004-11-13 08:08:22 +00:00
kent
6fd5928d22
add `needs-flag' to the file line for mulaw.
...
move the file line for aurateconv.
2004-11-13 07:58:14 +00:00
christos
b7286f5ccd
Add ptyfs pty device number translation.
2004-11-13 07:20:54 +00:00
christos
1265044e00
add LINUX_TIOCGPTN
2004-11-13 07:20:35 +00:00
christos
44264ea2a6
Add ptyfs magic number and entry.
2004-11-13 07:19:27 +00:00
christos
d5b128a728
Add LINUX_TIOCGPTN for ptyfs pty emulation.
2004-11-13 07:18:34 +00:00
christos
66075fd33d
Fix all the borken exec lkms. setup_stack is mandatory.
2004-11-13 06:09:47 +00:00
christos
7bd9648b13
Split out the setup stack function for the benefit of lkms.
...
XXX: Our lkm system sucks. We really need to be exporting symbols, but
that leads to symbol conflicts.
2004-11-13 06:01:34 +00:00
sekiya
a061928d83
Add INSTALL and GENERIC kernel configuration wrappers for IP12 family.
...
Note that devices are defined in the IP2x configuration file; the IP12 is
99.5% the same as the IP20/22/24. Indeed, the only reason to have a separate
config file for IP12 is to sort out the MIPS1/MIPS3 locore bits.
To that end, the wrappers include the IP2x GENERIC config, undefine a few
directives, and define the appropriate bits for IP12.
2004-11-13 03:20:37 +00:00
sekiya
07c1fbd927
Use 8-bit SEEPROM addressing mode on the 4D/3x models. 6-bit might be used
...
on IP6, but we don't support them (and probably never will).
2004-11-12 23:28:05 +00:00
sekiya
c37efd2daa
Print board identification, same as we do on the IP2x machines.
2004-11-12 23:01:01 +00:00
uwe
36ae53aba9
MBR_PTYPE_APPLE_UFS is now spelled with an underscore.
2004-11-12 19:34:43 +00:00
christos
371d4782ee
Fill in the list of mbr ptypes and make a static array of types and
...
descriptions.
2004-11-12 16:56:44 +00:00
he
60c4c90899
Add casts to unsigned char for the arguments to the ctype.h macros/functions.
2004-11-12 10:18:46 +00:00
he
cf13121ba3
Add a cast to unsigned char for an argument to toupper().
2004-11-12 09:52:15 +00:00
atatat
e23f0e2a34
Pass the caller's proc* to soreceive() via auio.uio_procp so that
...
unp_externalize() is called properly.
Addresses PR kern/28194.
2004-11-12 04:15:29 +00:00
jklos
befeef393b
Add comments for OFB_ENABLE_CACHE (doesn't work on iMacs) and awacs
...
(causes lockups). OK'd by Tsubai Masanari (port maintainer).
2004-11-12 02:23:09 +00:00
dsl
de3f63a902
Add prototypes for functions that convert media to/from strings.
...
In libutil/if_media.c (moved from ifconfig.c so that they can be shared
in crunched binaries)
2004-11-11 20:34:30 +00:00
jdolecek
1782122374
move sys/lkm/vfs/miscfs/ptyfs/ to sys/lkm/vfs/ptyfs/
2004-11-11 19:25:30 +00:00
jdolecek
e086026946
convert to one 'SUBDIR+=' per entry format
2004-11-11 19:24:04 +00:00
jdolecek
407f95a9b4
ptyfs moved from miscfs/ to fs/
...
sort file system includes
2004-11-11 19:21:46 +00:00
jdolecek
9d12d591c6
update #include path to fs/ptyfs/
2004-11-11 19:19:59 +00:00
jdolecek
d5e68a44ca
ptyfs moved from sys/miscfs/ to sys/fs/
2004-11-11 18:57:21 +00:00
jdolecek
156a03ce12
move ptyfs off sys/miscfs/ptyfs/ to sys/fs/ptyfs/
2004-11-11 18:56:25 +00:00
christos
60cb41ca3f
We still use the pty_check prototype even if NO_DEV_PTM. From Takahiro Kambe.
2004-11-11 13:45:39 +00:00
soren
96156c60bf
Add USB device controller register names.
2004-11-11 10:11:40 +00:00
christos
0ecbe2ed07
Cosmetic; cleanup unused junk and fix comments.
2004-11-11 05:46:10 +00:00
christos
65f9eaa0a7
Add ptyfs; from Geoff Wing.
2004-11-11 03:32:05 +00:00
kent
ad6e9b1b34
device matching by pcireg_t, not a pair of vendor ID and product ID.
...
This change reduces 170 Byte of i386 kernel size.
2004-11-11 03:06:21 +00:00
christos
58ac79db8d
Add ptyfs lkm.
2004-11-11 01:43:25 +00:00
christos
7fc8278a34
Add ptyfs. This is experimental.
2004-11-11 01:40:32 +00:00
christos
e98accb116
Put the correct fragment size in struct statvfs. From Kevin Lahey.
2004-11-11 01:32:12 +00:00
christos
30fc143afa
Add COMPAT_BSDPTY to the rest of the config files.
2004-11-10 17:54:02 +00:00