Commit Graph

73588 Commits

Author SHA1 Message Date
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
christos
eb1c7f8e85 Add a header file for the exported functions shared by the pty modules. 2004-11-10 17:32:20 +00:00
christos
3fb5aa0510 Add a vnode type for ptyfs PTYs and a mount name for ptyfs. 2004-11-10 17:30:56 +00:00
christos
f03f3b9452 Split the ptm driver out of tty_pty.c into its own file. From that split
the code that `knows' about /dev/[pt]tyXX names (the BSD ptys) into a separate
file. Make an interface to be used by the tty creating provider. The code
to enable old PTY searching via ptm is enabled via COMPAT_BSDPTY, and it
is turned on by default on all kernels that have compatibility options enabled.
2004-11-10 17:29:54 +00:00
christos
bb687f7735 Update to the split pty driver. 2004-11-10 17:26:16 +00:00
christos
eec07087aa Add COMPAT_BSDPTY on all the kernels that have COMPAT options. 2004-11-10 17:25:21 +00:00
cube
6f5a5c1814 Add support for the ICH6 AC97 controller. 2004-11-10 17:22:25 +00:00
cube
7d9f9f3cc2 Add support for the ICH6 IDE controller (82801FB). 2004-11-10 17:19:05 +00:00
cube
cf1fc8341b Return an error when a read operation fails, instead of pretending it
succeeded and transmitting a bogus value.
2004-11-10 17:17:14 +00:00
wiz
b764f86fae Fix typo in comment; from Sergey Svishchev. 2004-11-10 16:39:04 +00:00