Commit Graph

73548 Commits

Author SHA1 Message Date
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
cube
a6f37c0203 In auich_calibrate, set sc_ac97_clock to a default value of 48000 first.
That way, if the calibration fails or times out, sc_ac97_clock won't be 0
and there won't be a division by zero later in ac97_set_rate.
2004-11-10 14:14:09 +00:00
kent
a5158f56a8 remove unused variable 2004-11-10 04:22:31 +00:00
kent
145085fc2f move IS_FIXED_RATE(), SUPPORTS_4CH(), and SUPPORTS_6CH to ac97var.h 2004-11-10 04:20:26 +00:00
lukem
246f6fd919 Implement sysconf(3) _SC_GETGR_R_SIZE_MAX and _SC_GETPW_R_SIZE_MAX for
the 1003.1-2001 Thread Safe Functions (TSF) getgrnam_r(3) and getpwnam_r(3).

These are not implemented in sysctl(3) "user.*", since that adds a lot
of complexity in the implementation for no real benefit.
2004-11-10 04:02:52 +00:00
jmc
97b060e9aa This needs u16/u32/u64 defined if it's going to include internals (otherwise
it has to load hypervisor.h which has all sorts of other problems assuming
_KERNEL). Provide the defs before including hypervisor-if.h and then turn
them off afterwards (ala the same as hypervisor.h does
2004-11-10 02:52:11 +00:00
christos
8beb99c76d Add Solaris bootblock mbr magic (0xbf). This will be in the next version
of Solaris according to Larry Lee <lclee at west.sun.com>.
2004-11-10 02:38:24 +00:00
kent
7a23477c6c remove mixer setting code in *_attach() because ac97_attach() does it. 2004-11-09 16:28:14 +00:00
kent
68ec3173b5 remove mixer setting code in repulse_attach() because ac97_attach() does it 2004-11-09 16:18:58 +00:00
kent
5bea7e5b64 remove unnecessary ac97-related code 2004-11-09 15:57:11 +00:00
kent
57c1715e7b remove mixer setting code in yds_attach() because ac97_attach() does it. 2004-11-09 11:12:54 +00:00
yamt
3bc2a57904 - hide bufq_state in mfsnode from userland.
- move bufq.h into obsolete set.

tested to compile pkgsrc/sysutils/lsof.
2004-11-09 08:46:08 +00:00
explorer
d335893c1b Fix warnings of the type: long int format, int arg 2004-11-08 21:30:05 +00:00
mbw
57baf75956 Reverting.
Apparently these patches cause problems.
2004-11-08 17:36:07 +00:00
kleink
9b087e52c7 From machdep.c:
revision 1.173
date: 2004/11/08 16:11:02;  author: kleink;  state: Exp;  lines: +3 -3
In cpu_getmcontext(), initialize the mcontext_t storage with 0 (not '0').
Reported by Arto Huusko.
2004-11-08 17:05:37 +00:00
kleink
9322be4ef5 In cpu_getmcontext(), initialize the mcontext_t storage with 0 (not '0').
Reported by Arto Huusko.
2004-11-08 16:11:02 +00:00
kent
80620cc14f - nuke __P()
- add ac97_codec_if_vtbl::detach()
2004-11-08 14:24:17 +00:00
augustss
015097e0cb Fix kern/28086.
Add another product.
2004-11-08 13:00:07 +00:00
kent
55c5f0f624 ANSIfy and style fixes 2004-11-08 12:10:22 +00:00
petrov
c637afa99a Don't compile sparc64_ipi functions when UP. 2004-11-08 08:55:43 +00:00
kent
971aa8f6c5 print dmesg correctly for VT8237 2004-11-08 06:20:58 +00:00
wiz
f037e2c174 Pasto fix. 2004-11-08 00:49:19 +00:00
christos
1e31f0a642 Use .S for assembly files instead of .s 2004-11-07 21:58:45 +00:00
christos
02c080af8b Misc cleanups. 2004-11-07 21:56:57 +00:00
kim
358c829403 Add bufq.h to INCS 2004-11-07 17:27:55 +00:00
mbw
7f3392aa22 Add disklabel recognition for another Apple file type
"BZB_ROOTFS_NEW        0xc000"
Also closes PR 10046
2004-11-07 04:24:33 +00:00
david
bf4bf03db8 Refine bounds check code. 2004-11-07 04:08:37 +00:00
christos
aefec4290d Don't use "int" to represent lengths; this is what size_t is for. This
does not change the ABI since we don't have 64 bit mips yet.
2004-11-06 23:22:43 +00:00
jdolecek
cedc1b6872 move new 'id' member of struct lkm_table to the end of struct, to
fix ABI issue with previous change (offset of 'private' member
changed, thus kernel crashed on module load when checking LKM version)
2004-11-06 13:49:17 +00:00
xtraeme
398264c31a Add support for:
NVIDIA nForce3 250 IDE Controller
NVIDIA nForce3 250 Serial ATA Controller

From Kouichirou Hiratsuka in PR 27843, ok'ed christos@
2004-11-06 08:44:25 +00:00
xtraeme
537252716c Add support for "nForce3 250 MCP-T AC-97 Audio", from Kouichirou Hiratsuka
in PR 27843.

Ok'ed christos@
2004-11-06 08:41:14 +00:00
xtraeme
aef353dd52 Regen for:
Add Nvidia nForce3 250 chipset products, from Kouichirou Hiratsuka
in PR 27843.
2004-11-06 08:37:00 +00:00
xtraeme
cc73961db1 Add Nvidia nForce3 250 chipset products, from Kouichirou Hiratsuka
in PR 27843.
2004-11-06 08:34:52 +00:00
xtraeme
2f0a18e581 Add another case to match "PCI_PRODUCT_INTEL_82815_FULL_HUB"
(Intel 82815 Hub) in agp_i810_attach(), closes PR 27863.

Ok'ed christos@
2004-11-06 07:43:30 +00:00
christos
ed77e93ea9 Fix another stupid typo. 2004-11-06 07:34:53 +00:00
christos
d99b25032a I guess compiling code before committing is a lost art! 2004-11-06 07:31:55 +00:00
wrstuden
16029d56b5 Add support for FIONWRITE and FIONSPACE ioctls. FIONWRITE reports
the number of bytes in the send queue, and FIONSPACE reports the
number of free bytes in the send queue. These ioctls permit applications
to monitor file descriptor transmission dynamics.

In examining prior art, FIONWRITE exists with the semantics given
here. FIONSPACE is provided so that programs may easily determine how
much space is left in the send queue; they do not need to know the
send queue size.

The fact that a write may block even if there is enough space in the
send queue for it is noted in the documentation.

FIONWRITE functionality may be used to implement TIOCOUTQ for Linux
emulation - Linux extended this ioctl to sockets, even though they are
not ttys.
2004-11-06 02:03:20 +00:00
kent
11b301d4f7 print cluster information if UAUDIO_DEBUG is defined. 2004-11-05 19:08:29 +00:00
kent
321c2fdbdc print cluster information if UAUDIO_DEBUG is defined. 2004-11-05 17:46:14 +00:00
kent
fa8bbe4c5e add the follwings:
- ulinear16_to_mulaw_le()
 - ulinear16_to_mulaw_be()
 - slinear16_to_mulaw_be()
 - ulinear16_to_alaw_le()
 - ulinear16_to_alaw_be()
2004-11-05 16:31:14 +00:00
scw
393556db2e Match Sealevel Systems' uftdi-based USB <-> Serial adapter.
This is just an FT8U232AM with custom vendor/device IDs.
2004-11-05 13:53:29 +00:00