Commit Graph

149615 Commits

Author SHA1 Message Date
tnozaki 8d8d8b951d - wcstombs.3
correct wrong prototype,
    reported by OpenBSD's PR 5171/library.
- wcsrtombs.3
    correct wrong prototype and misusage of the header file.
2006-08-08 17:14:05 +00:00
cube f48480c398 files.x86 isn't included by Xen kernels, so opt_powernow_k8.h never gets
created by config(1), and thus it's not safe to use it in cpuvar.h.

Simply declare the prototype for k8_powernow_init in powernow.h.  No need
to #ifdef protect a prototype, after all, only its users.

Un-breaks build of Xen kernels.
2006-08-08 16:34:34 +00:00
pavel fd456db2e7 MCLAIM the correct mbuf. PR kern/34162. 2006-08-08 15:53:40 +00:00
yamt a52757bf4c deal with variable sized file handles. 2006-08-08 13:10:05 +00:00
yamt 56d02ae53a vfs_copyinfh_alloc: kludge for nfsv2 file handles. 2006-08-08 13:08:08 +00:00
yamt 2253872d55 nfsm_srvfhtom: ensure that padding bytes in nfsv2 file handles are zero. 2006-08-08 13:07:32 +00:00
mrg daf321dbca fix a GCC uninitialised variable warning only seen at -O3. 2006-08-08 10:32:09 +00:00
tron 7595743fb0 Add NetBSD 5.0. 2006-08-08 08:30:11 +00:00
riz bbde6246b7 Back out revision 1.109 - it's NOT silly to parse the comment when
there's important information there.  Like, say, a _BETA extension.
2006-08-08 07:05:40 +00:00
riz cc3412025e Welcome to NetBSD 4.99.1 2006-08-08 05:43:00 +00:00
riz 28e4bae07d Bump default to 4.0 2006-08-08 05:42:24 +00:00
riz a6351afdbc Note netbsd-4 branch, and sort the netbsd-2* branches better. 2006-08-08 05:19:20 +00:00
riz 0173570850 Roll CHANGES -> CHANGES.prev for 4.0 2006-08-08 05:12:25 +00:00
tsutsui 75c544cd93 Workaround fix for a problem caused after IPL_* macro changes.
Based on a patch from mrg on port-sun2.
2006-08-07 23:29:38 +00:00
tsutsui cab7ee65e0 Remove __P(). 2006-08-07 23:24:55 +00:00
tsutsui 5011ef47f2 uvm_pagealloc(9) can fail, so handle that case in pmap_enter(9). 2006-08-07 23:19:36 +00:00
xtraeme 08d26dfcb7 Enable POWERNOW_K8, now that it's working. 2006-08-07 21:33:49 +00:00
xtraeme b34720ab68 * Create "machdep.powernow.frequency" again, it should work with estd.
* Remove flags member of powernow_cpu_state, we don't need it.
* Rename fsb member of powernow_cpu_state struct to pll, to use
  same struct than is used in powernow_k8.c.
2006-08-07 21:16:03 +00:00
xtraeme a4a1d218d3 * Do not change struct powernow_pst_s (I added another member in my
previous patch) and this MUST be of that size, otherwise the tables
  won't be found.

* powernow_k8.c moved into x86/x86, it should work both i386 and amd64.

* Added more DPRINTFs needed to found the first problem.

* Create "machdep.powernow.frequency" again, I can't remember why I
  removed frequency... it should work with estd now.

* Do not try to call k[78]_powernow_init() if cpu is not AMD (thanks
  to christos).

And more things I can't remember, but this time it will work in
Athlon 64 cpus and it won't crash in EM64T cpus.
2006-08-07 20:58:23 +00:00
pavel 5145dd52fa Belatedly Bump date after my not-so-recent changes. 2006-08-07 20:57:56 +00:00
pavel a3ea6cc335 describe that hw VLAN tagging is not supported ATM.
(see sys/dev/ic/rtl8169.c rev. 1.23 .)
2006-08-07 20:41:16 +00:00
oster 803c52c2a4 sc_size should be a 64-bit quantity. Notice by Matthias Drochner. 2006-08-07 20:02:22 +00:00
oster e350cc0fbe Model 14 here is the 'Pentium-M (Yonah)', so let's use that
instead of the default.
2006-08-07 17:41:54 +00:00
tsutsui 8dc36c4c0f KNF, TAB/space cosmetics 2006-08-07 17:36:53 +00:00
oster ff30fd25f5 Fix a minor typo in a comment. 2006-08-07 17:08:18 +00:00
manu 05c8a1b827 Add a new signature test for linux probe function. We look for a .debuglink
section, which is specific to the Linux dynamic interpeter (yes, Linux
can execute it as a stand alone program)
2006-08-07 14:19:57 +00:00
cube f646b59f80 Add a regression test for PR#34111. 2006-08-07 12:05:06 +00:00
cube 71af9028c9 Check that the device is not a pseudo-device in deldev(), too (as in
deldevi()).

PR#34111 by jmmv@.
2006-08-07 12:03:32 +00:00
cube bb041282a1 Correctly free freq_names and cstate.
XXX This code is bogus anyway.  Global variables vs. MP systems, anyone?
2006-08-07 11:39:30 +00:00
dyoung 08605a2dd4 Per lukem's request, revert previous change which skipped installation
of /etc/rc.d/ipfilter and family if MKIPFILTER=no.  As lukem points
out, skipping installation of etc/rc.d/ scripts is not inconsistent
with other optional components, such as pf, x11, etc.
2006-08-07 02:08:47 +00:00
mhitch 1d4e083680 gcc4 uninitialized variable. gcc3 apparently didn't catch this one. 2006-08-07 01:31:36 +00:00
wiz 8d3619d115 Bump date for previous. 2006-08-06 23:38:13 +00:00
dyoung 9dde08c82f Document -nocloning, -nocloned flags. Shift a couple of columns
right by a character width, to make room for the new flags.
2006-08-06 21:47:35 +00:00
xtraeme 421fdf2f64 Free freq_names if k[78]pnow_current_state is NULL, pointed out
by cube.
2006-08-06 18:21:32 +00:00
dyoung cc94fcb6e9 Correct units on IEEE80211_RADIOTAP_DBM_ANTSIGNAL,
IEEE80211_RADIOTAP_DBM_ANTNOISE.
2006-08-06 17:52:17 +00:00
dyoung 2bc777d5d0 KNF err(3), errx(3) usage, indentation, braces. 2006-08-06 17:47:17 +00:00
dyoung 61dbc26298 Add route keywords -nocloned, -nocloning. 2006-08-06 17:44:56 +00:00
dyoung 0cf23243f9 Use ${SYSDIR}/arch/mips/ instead of ../mips/, which was fragile. 2006-08-06 17:22:47 +00:00
dyoung bc21bda1c9 Make the 'tags' target work better: use ${SYSDIR}/arch/evbmips/
instead of ../evbmips/, which was pretty fragile.  Cope with long
argument lists using the echo ${args} | xargs ctags idiom used in
other architectures' tags target.
2006-08-06 17:21:58 +00:00
jmcneill 4b802ec0e1 PR/12843: Workaround for CS4280 on IBM ThinkPads. From Stephane Witzmann.
Note: This workaround conflicts with piixpm(4); you will need to disable
the piixpm driver if you need this fix.
2006-08-06 16:21:11 +00:00
xtraeme e7d2347699 * Sync powernow_k7.c driver with OpenBSD, it seems to work much
better finding PST tables.
* Use functions defined in powernow_common.c to detect if the
  CPU can run powernow.
* Update the LKM with current code.
2006-08-06 16:05:07 +00:00
jmcneill 0eb9f3fd24 Regen. 2006-08-06 15:48:34 +00:00
jmcneill 5672a65632 Add entry for IBM ThinkPad audio. From Stephane Witzmann. 2006-08-06 15:48:12 +00:00
christos dfb16d34c3 PR/34117: Takuya SHIOZAKI: enhancement for acpiapm(4)
- make sleep state corresponding to standby/suspend changeable by using sysctl,
- make sure to generate APM events appropriately.
- arrange the code for getting power status.
2006-08-06 15:47:51 +00:00
christos 0fe2e6efc3 PR/34116: Takuya SHIOZAKI: acpiapm(4) misuses config(9)
acpiapm(4) always matches the first node of AML, which is unrelated
with acpiapm. Separate acpi(4)'s children into two individual interface
attributes.
2006-08-06 15:46:54 +00:00
xtraeme 9c74798bdd AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
adapted from OpenBSD.

Tested on a few machines:

http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg

Thanks to cube, elad and others for testing and fixes.

Enabled by default on GENERIC.
2006-08-06 15:37:21 +00:00
bjh21 47ef6bac03 Using humanize_number() on clock speeds does more harm than good, and
precious little of either.  Go back to displaying them with all their digits.
2006-08-06 13:29:42 +00:00
martin 12cf319c62 Fix size confusion with lfs_fhandle - and as it now turns out to be the same
as the lfs compat_30_fhandle, g/c the latter.
Add an alias for the LFCNIFILEFH fcntl, so that binaries compiled in the
meantime (with too large lfs_fhandle) continue to work.

This makes vfs_cleanerd work again after the kernel checks filehandle size
more strictly (problem reported by Kurt Schreiner on current-users).
2006-08-06 12:34:12 +00:00
skrll f1c3aa8a63 Remove the SIOCSKILLFW define. It's not used anymore. 2006-08-06 07:31:32 +00:00
perseant fb882cd53a Ensure sector size is zero in the debug case, to avoid a division by zero
error pointed out by Zafer Aydogan.
2006-08-06 00:21:14 +00:00