Commit Graph

187263 Commits

Author SHA1 Message Date
pooka 9c403c2e0c Specify bpf_filter attribute only when the device uses the filter engine. 2010-01-19 16:24:44 +00:00
tsutsui e8b9338c3b Use -DLIBSA_PRINTF_LONGLONG_SUPPORT -DLIBSA_PRINTF_WIDTH_SUPPORT
in debug printf()s.
2010-01-19 15:28:51 +00:00
tsutsui 1aa1df4953 Add long long (%lld etc.) support and width (%02x etc.) support
in libsa printf(3).  Disabled by default but enabled by
-DLIBSA_PRINTF_LONGLONG_SUPPORT and -DLIBSA_PRINTF_WIDTH_SUPPORT.
Provided by tnozaki@ for my libsa debugging. Thanks!
2010-01-19 15:26:45 +00:00
pooka 27d8901688 Update comment: unloaded modules which were pumped up by the
bootloader are not freed at the end of bootstrap (there should be
none, although this is not asserted.  maybe it should be?).
2010-01-19 15:23:14 +00:00
yamt 5a779e86cd nfs_request: fix races which break congestion window and make nfs client stuck. 2010-01-19 13:39:04 +00:00
yamt b92b080272 remove unused r_timer member. 2010-01-19 13:29:40 +00:00
pooka 58247e10a2 hp@isa was marked non-compiling and broken 14 years ago. I'm sure
the tens of well-tested changes since then have been necessary,
but now i'll just spoil the fun for everyone by sending the driver
to the attic.
2010-01-19 12:41:41 +00:00
mbalmer 73f895a875 Add the IBM 481033H SCC 2010-01-19 12:11:21 +00:00
mbalmer 0592b54dfc regenerate 2010-01-19 12:00:51 +00:00
mbalmer ee9ebce313 Add two IBM RSS devices. 2010-01-19 11:43:33 +00:00
dyoung c217bc3b1d If the device does not exist, return ENXIO, as is customary, instead of
ENODEV.  Ok jmcneill@.
2010-01-18 23:57:14 +00:00
jmmv a46e62d4b0 Document the addition of new-style kernel modules support in macppc and shark. 2010-01-18 23:41:47 +00:00
jmmv 098e7f45cb Enable 'options MODULAR' in macppc and shark GENERIC kernels now that the
modules work.
2010-01-18 23:40:06 +00:00
jmmv 874cd0d0c1 Generate long calls in modules for arm32 and powerpc to avoid unsupported
relocations by the module loader in the kernel.  This makes modules work
in, at least, shark and macppc respectively.

This is obviously a workaround that results in slower code, but at least
makes modules work.  I'm adding a comment detailing what the real solution
would be so that the whole thing can be revisited in the future.  (Read:
I don't have time now to dig the details of how to implement trampoline
generation.)

(Based on the old bsd.kmod.mk file, I understand that hppa needs this
workaround too, but I can't check this platform.)
2010-01-18 23:39:07 +00:00
jmmv a762eed1dd Define kobj_machdep and module_init_md empty functions so that powerpc
kernels (at least macppc) with 'options MODULAR' can be built.
2010-01-18 23:35:51 +00:00
jmmv c3bed4804d Define an empty module_init_md function so that kernels with 'options
MODULAR' can be built (at least in shark).  Still not working due to
some relocations resolving to too far away symbols though.
2010-01-18 23:04:30 +00:00
rmind df63e73c6a Reduce the difference between i386 and amd64 procfs MD code.
Prepare for the merge, no functional changes intended.
2010-01-18 22:31:14 +00:00
njoly 0c51147662 Do not check more than 32 bits against ci_feature_flags, to avoid printing
bogus data on /proc/cpuinfo flags line.
2010-01-18 21:55:40 +00:00
pgoyette 299ee01345 If no limits are exceeded, make sure we set state to SVALID 2010-01-18 21:48:15 +00:00
martin 9e839480f0 Add two CTI rs485 dongles 2010-01-18 20:57:13 +00:00
martin 86b7d7433b regen 2010-01-18 20:55:37 +00:00
joerg 5591cac167 Keep arc4_i and arc4_j synchronised after a rekeying. This prevents
accidentally ending up in a short ARC4 cycle.
2010-01-18 20:54:54 +00:00
martin f0b282446a Add two CTI usb-rs485 adapters 2010-01-18 20:54:22 +00:00
pooka 63ee3d24ed Remove unused macro definition (the NetBSD version would just not go
through a compiler).
2010-01-18 20:45:12 +00:00
christos 081c24c702 PR/42637: Joachim Kuebart: Shell tab completion crashes due to libedit stack
smashing
2010-01-18 19:17:42 +00:00
pooka d305920d2d nuke unused bpf inclusions 2010-01-18 19:00:58 +00:00
pooka 8052f8db95 Remove conditional inclusion of unused bpf.h 2010-01-18 18:52:35 +00:00
jruoho f4cdb6678e Fix and improve several comments. 2010-01-18 18:49:27 +00:00
jruoho e5a9d901c0 Use acpi_eval_reference_handle() to simplify code. No functional change.
ok jmcneill@, pgoyette@
2010-01-18 18:36:49 +00:00
pooka c109162bd9 Pass correct pointer to bpf_mtap() and most likely avoid a crash
if bpf is activated.

not even compile-tested, since i can't find any config in the tree
which uses this(?)
2010-01-18 18:23:53 +00:00
pooka 4be5171ee2 Fix bpf. compile-tested only. 2010-01-18 18:14:43 +00:00
jdc 8427f80fba Add definitions for CAS_INTR_REG and CAS_INTR_PCI. 2010-01-18 18:09:22 +00:00
jruoho 81e1657ee2 Introduce acpi_eval_reference_handle() --
an utility function to evaluate reference handles from package elements.

ok jmcneill@, pgoyette@
2010-01-18 18:06:31 +00:00
pooka 431bb6c50c if_ade doesn't build, suggesting nobody has tried to do anything
else than rototill it for the past n+1 years.  The comments at the
top note a number of clauses after which it can be removed.  I'm
sure that in the past 10+ years those have either been met or become
irrelevant, so remove this.
2010-01-18 17:53:35 +00:00
jruoho 8391833e8a Ensure that the return string is NUL-terminated in acpi_eval_string().
ok jmcneill@, pgoyette@
2010-01-18 17:34:37 +00:00
jruoho 91262361ae Add definitions for volume keys.
ok jmcneill@
2010-01-18 17:11:00 +00:00
ahoka f582d2426d Add examples to make switching wscons to ISO 8859-2 as easy as removing
some hashmarks.
2010-01-18 17:10:29 +00:00
jruoho 517e16fb9b Fix a minor bug where a reference handle is used for error reporting even
though it may not be present. While here, convert few lines to aprint_*().

ok pgoyette@
2010-01-18 17:09:17 +00:00
ahoka a764af8493 Add the new latin2 fonts for wscons to the file list. 2010-01-18 16:57:39 +00:00
ahoka 3e4bec4b5a Add font files for latin-2 (ISO 8859-2) encoding. Loading these fonts will
enable wscons to read texts in central european languages, eg. HU or CZ.

From FreeBSD.
2010-01-18 16:55:36 +00:00
jruoho 25608cae55 regen. 2010-01-18 16:50:08 +00:00
pooka aeedd94c9a include ISDN support 2010-01-18 16:43:15 +00:00
rmind b6c2588582 x86_cpu_topology, not toplogy. 2010-01-18 16:40:17 +00:00
pooka 4798b5bf9f Nuke some debug print code which has never compiled in NetBSD. 2010-01-18 16:37:41 +00:00
jruoho 71c4a74b58 Add some ACPI 4.0 devices.
ok jmcneill@, pgoyette@
2010-01-18 16:34:47 +00:00
pooka 83c8bf52c8 Don't freak out if a kernel config already has I4B_MBUF_DEBUG 2010-01-18 16:29:51 +00:00
jdc b417193411 Add a note about the RSC ports on the E250.
Bump date.
Remove trailing whitespace.
s;Sun Ultra 5/10;.Tn Sun Ultra;
2010-01-18 15:55:11 +00:00
wiz 04ed6a9ef0 Use Dv for defined values. 2010-01-18 15:36:11 +00:00
skrll 103d303e8d Various improvements to bring closer to reality. Mostly from OpenBSD.
More improvements possible / probable.
2010-01-18 15:25:52 +00:00
jdc 568b4a7807 Add RSC ports (ttyh2, ttyh3) to all_md. 2010-01-18 10:35:18 +00:00