147895 Commits

Author SHA1 Message Date
christos
e1168b9564 PR/33698: Kevin Massey: use strlcpy/strlcat to avoid stack overwrites. 2006-06-11 16:11:53 +00:00
christos
1a4c395597 Don't free subdevs on normal completion. The detach code needs it. 2006-06-11 16:00:08 +00:00
christos
65c3a16644 PR/33695: Arnaud Lacombe: Add compatibility syntax for FreeBSD interoperability. 2006-06-11 15:51:31 +00:00
kent
a2aa9135f1 codec-specific mixer initialization for Realtek ALC882 2006-06-11 15:16:41 +00:00
kardel
9c52afaf31 Import ntp 4.2.2 2006-06-11 14:57:12 +00:00
kardel
4aa15bc86f document release/availability of new NTP version (4.2.2) 2006-06-11 14:39:45 +00:00
kent
ba5e551515 fix audio_format allocation for recording 2006-06-11 12:18:00 +00:00
kent
fa89e6f87e support for multi-channel (>=3) recording with ALC880, ALC882, or STAC9221 2006-06-11 11:48:39 +00:00
bouyer
bdce881f0d Add entry for "Moxa Technologies, SmartIO CP104-V2/PCI". From Gert Doering
in kern/33566.
2006-06-11 11:22:35 +00:00
kardel
1276c3051e PR 33697: complete timecounter conversion 2006-06-11 09:26:04 +00:00
he
9c72169b1f Correct mistakes I made when getting rid of lvalue casts. 2006-06-11 08:35:00 +00:00
he
34155cf541 Correct a mistake I introduced when getting rid of lvalue casts. 2006-06-11 08:29:03 +00:00
kent
7d2bcc7299 * azalia_codec_init_vtbl()
recognize the name of AD1983
* generic_codec_find_dac()
  check validity of a node in a connection list
* introduce MIXER_DELTA, and simplify the code with it
* codec-specific mixer initialization for STAC9220
2006-06-11 07:52:00 +00:00
kent
655c2002db If the codec supports for modem, print that we support for no modem
explicitly.
2006-06-11 07:45:18 +00:00
rjs
4ba88d2489 Add includes of opt_multiprocessor.h and opt_lockdebug.h where missing. 2006-06-11 07:32:18 +00:00
tsutsui
114eee6487 Check whether the specified interrupt handler is valid before referring it. 2006-06-11 06:34:52 +00:00
tsutsui
f6e0502337 - use CPUFLAGS rather than CFLAGS/AFLAGS
- specify "-march=r4000 -mabi=32" rather than -mips2
2006-06-11 05:03:20 +00:00
christos
9cfe87267e PR/33671: Nicolas Joly: Add a getpriority syscall to account for the fact
that the linux getpriority is off by 20.
2006-06-10 21:18:11 +00:00
christos
ee08f35b9a regen 2006-06-10 21:16:49 +00:00
christos
c02c268f6b linux getpriority is off-by-20 so use our own function.
From PR/33671: Nicolas Joly
2006-06-10 21:15:33 +00:00
kardel
fcd5496328 Don't pick TSC by default on systems the have ENHANCED_SPEEDSTEP
compiled in. Many TSC's out there are sensitive to cpu frequency
changes. On these platforms we need to use other fixed frequency
timers (e. g. ACPI_PM_TIMER). Maybe we should add detection code
here whether TSC is sensible to cpu frequency changes.
2006-06-10 20:50:02 +00:00
dsl
6d35173b6d When we read 'last mounted' from an FFSv2 superblock set the flag to
default the partition to FFSv2 (instead of FFSv1).
This makes update installs add the correct bootstrap code.
Fixes PR/33682 and PR/32636 (and 33228 which has alrady been closed
as a duplicate of 32636).
2006-06-10 14:48:46 +00:00
msaitoh
bc1d1f7877 o i82573 doesn't support jumbo frame
o set PBA for i8257[123]
o set MULA when sc_type == i8257[123]
2006-06-10 14:26:52 +00:00
tsutsui
8ff2abc2ad space nits. 2006-06-10 12:35:01 +00:00
rpaulo
58459b2d06 KNF. 2006-06-10 12:29:39 +00:00
kardel
ced596e186 clarify time scale semantic issue 2006-06-10 11:42:07 +00:00
kardel
4eff7fe074 reference time.tv_sec in non timecounter case
missing conversion spotted by Geoff Wing
XXX This code need to be checked whether UTC time
is really the right abstraction. I suspect uptime
would be the correct time scale for measuring life times.
2006-06-10 11:30:37 +00:00
kardel
6aad29aa7b fix a missing conversion for a mono_time reference.
detected by Geoff Wing.
2006-06-10 11:12:09 +00:00
uebayasi
ee3581b772 KNF. 2006-06-10 08:11:47 +00:00
msaitoh
42a72ed2e5 fix compile error 2006-06-10 08:08:33 +00:00
msaitoh
d7c5c79883 add i8257[123] 2006-06-10 08:06:51 +00:00
msaitoh
ca1810089d Enable i82573!!!
TODO:
	add some code for FLASH
	fix phy stuff
2006-06-10 08:04:08 +00:00
msaitoh
ccf7001ac2 fix TX_COLLISION_DISTANCE_FDX and TX_COLLISION_DISTANCE_HDX (swapped).
add some register definitions (EERD, EEWR).
2006-06-10 08:01:31 +00:00
tsutsui
261274d592 Put newline if there is no input on Boot: prompt. 2006-06-10 07:49:29 +00:00
rjs
920cada8e2 Add opt_multiprocessor.h. 2006-06-10 06:38:07 +00:00
christos
d5ba7564d8 stack police: don't allocate statvfs on the stack. 2006-06-09 23:24:24 +00:00
kardel
54cd6fafa8 re-order initialization sequence to have real counters available during autoconfig 2006-06-09 22:47:56 +00:00
christos
f6ad6a2699 stack police: Fix the biggest offender with ~4K stack, by allocating the
buffer in the softc.
2006-06-09 21:58:57 +00:00
christos
7b128daa3b stack police: Introduce an opl_match function that uses malloc instead of
allocating ~2K of softc on the stack.
2006-06-09 21:55:33 +00:00
christos
d13a9159e3 stack police: don't allocate statvfs on the stack. 2006-06-09 21:41:14 +00:00
christos
f96931bf10 stack police: Don't allocate large buffers on the stack for I/O. Put the
buffer in the softc instead.
2006-06-09 21:34:19 +00:00
christos
de34bda8ec stack police: don't allocate usb_events on the stack, malloc them directly.
this saves stack and an extra copy.
2006-06-09 21:33:42 +00:00
christos
c10d68c29c stack police: Don't allocate 1k on the stack, only use malloc when we need to. 2006-06-09 21:33:01 +00:00
aymeric
11fb090059 in the softintr-with-si_callbacks framework, don't use add_sicallback()
everytime softintr_schedule() is called. They don't have the same semantics
when called multiple times before the callback is triggered.
Should avoid huge numbers of si_callbacks being created when a machine is
overloaded.
XXX the fix certainly applies to the atari port, too.
2006-06-09 21:29:39 +00:00
tron
3421be369d Remove "/var/spool/clientmqueue" and "/var/spool/mqueue" from the list
of obsolete directories and handle them via the "sendmail" item in
postinstall(8), too. These directories are of course necessary on
systems using the "sendmail" package.

Problem pointed out by Hisashi T Fujinaka on "current-users" mailing list.
2006-06-09 21:19:40 +00:00
tron
54a902424e Remove entries for "/var/spool/mqueue" (used by "sendmail" only). 2006-06-09 21:08:51 +00:00
drochner
c87a7b61b9 fix obvious botch in radiotap header alignment (untested) 2006-06-09 19:17:46 +00:00
christos
79867d81ea PR/33681: Scott Ellis: Building 'bc' with SHAREDSTRINGS=yes fails
We need CPPFLAGS too now.
2006-06-09 19:16:36 +00:00
rpaulo
f5a468f537 Revert previous. Wrong way of doing things... 2006-06-09 19:13:17 +00:00
gdamore
a8d4d1e86c Add AR531X_SYSREG_WDOG_TIMER register. (Forgot to commit this earlier.) 2006-06-09 18:35:42 +00:00