Commit Graph

124969 Commits

Author SHA1 Message Date
kochi
caac6b0b47 Intel ACPI CA 20040311 is out 2004-03-18 22:55:41 +00:00
enami
a67d24818d Whitespace nits and wrap some lines. 2004-03-18 22:53:16 +00:00
enami
ef38ad00a0 Search and replace by hand rather than using gsub() in loop. This reduces
number of search and prevents DFA cache overflow (and script runs faster).
2004-03-18 22:51:59 +00:00
bouyer
6e20098871 cur_rx->ti_vlan_tag holds the 802.1q VLAN tag and the 802.1p priority.
Trimm the priority, as the upper layers won't do it and will drop the packet
if priority is not 0.
While there, print the revision in the "unsupported chip revision" printf.
2004-03-18 22:45:35 +00:00
wiz
f05120b375 Add Xref to mscdlabel, bump date. 2004-03-18 21:13:19 +00:00
bjh21
39d9753ed9 ANSIfy, un-__P(), and generally KNF. 2004-03-18 21:05:19 +00:00
wiz
5eab9f79e7 Add back one whitespace, and document it.
Noted by ragge@.
2004-03-18 21:02:59 +00:00
wiz
082d3dda1a New sentence, new line; drop superfluous Pp;
fix Dd argument; use \*[Lt]\*[Gt] instead of <> for HTML output.
2004-03-18 20:44:25 +00:00
ragge
ba5400a136 Add dge manpage. 2004-03-18 20:42:07 +00:00
wiz
66e43561b0 Drop trailing whitespace. 2004-03-18 20:40:59 +00:00
ragge
c7bde94f66 Manpage for the dge card. 2004-03-18 20:38:30 +00:00
dsl
8b6d0cec38 Speed up mkfs of ffsv1 by writing inodes more than 8k at a time.
Use mmap() instead of malloc() for temporary buffers so that they
can be unmapped for mfs.
2004-03-18 20:35:55 +00:00
dsl
5de712832c Simplify logic for MNT_GETARGS and MNT_UPDATE of mfs filesystems.
Stop core dump caused by broken 'newfs -mfs' (= mount_mfs) hack when
newfs run with no arguments.
2004-03-18 20:32:06 +00:00
skrll
44e60dd983 Fix forced MKPIC=no builds using the trick suggested by Luke. Thanks! 2004-03-18 19:48:15 +00:00
oster
b69e81af97 Remove a debugging line that was accidentally left in. 2004-03-18 17:46:22 +00:00
oster
ba5bdf0048 Use rf_AllocDAGNode() to get new DAG nodes. 2004-03-18 17:26:36 +00:00
oster
1051cc745f Re-work the locking mechanisms for reconstruct and PSS structures
such that we don't actually hold a simplelock while we are doing
a pool_get(), but that we still effectively protecting critical code.

This should fix all of the outstanding LOCKDEBUG warnings related to
rebuilding RAID sets.
2004-03-18 16:54:54 +00:00
martti
bbf6758e00 Added IPFilter 4.1 support 2004-03-18 16:51:39 +00:00
oster
d4fe1a2103 - Introduce a 'dagnode' pool. Initialize it and allow for cleanup.
Provide rf_AllocDAGNode() and rf_FreeDAGNode() to handle
allocation/freeing.

- Introduce a "nodes" linked list of RF_DagNode_t's into the DAG header.
Initialize nodes in InitHdrNode().  Arrange for nodes cleanup in rf_FreeDAG().

- Add a "list_next" to RF_DagNode_t to keep track of nodes on the
above "nodes" list.  (This is distinct from the "next" field of
RF_DagNode_t, which keeps track of the firing order of nodes.)
"list_next" gets used in the cleanup routines, and in traversing
through a set of nodes that belong to a particular set of nodes
(e.g. those belonging to xorNodes for a given DAG).

- use rf_AllocDAGNode() instead of mallocs of variable-sized arrays of
RF_DagNode_t's.  Mostly mechanical changes to convert the DAG construction
from "access nodes via an array index" to "access nodes via a 'nextnode'
pointer".

- rework a couple of tricky spots where assumptions about the node order
was being abused.

- performance remains consistent with performance before these changes.

[Thanks to Simon Burge (simonb at you.know.where) for looking over
the mechanical changes to make sure I didn't biff anything.]
2004-03-18 16:40:05 +00:00
pk
f72e36ac23 obp_v2_finddevice: bounds check on local char buffer.
prom_findnode: implement node name matching for device named containing
commas, cf. IEEE 1275, section 4.3.6.
2004-03-18 15:24:19 +00:00
pk
bb3bbfa647 Implement OPIOCFINDDEVICE. 2004-03-18 15:14:33 +00:00
pk
f52adf179f Remove unused `search_prom()' macro. 2004-03-18 15:13:59 +00:00
kleink
5ba92ad7be Normalize multiple inclusion protection symbol names. 2004-03-18 13:59:14 +00:00
hannken
ac4d48d92e Rename PROM_getpropstring* => prom_getpropstring* 2004-03-18 12:26:51 +00:00
dan
e98f1f3c17 Note cgd blowfish changes, see comments in sys/dev/cgd.c 1.15 for more
details.
2004-03-18 11:03:57 +00:00
dan
b912bfcc09 Fix a longstanding bug in key-handling for the blowfish cipher.
This is an incompatible change, and will break all existing cgd images
encrypted with blowfish. Users will need to dump their data before
booting a kernel with this change, and recreate cgd's and restore data
afterwards.

I believe this affects a very small number of users other than myself;
indeed after several alert mails in an attempt to find them, only 2
such users have come forward. They have both agreed the requirement
for backwards compatibility does not warrant the effort nor the mess
in the code.  This code does exist, if it should later prove to be
needed, but will not be in the tree.

Further, by the nature of the issue, I have strong reasons to believe
that, even if they missed these mails, there would be few other users
of blowfish who update their systems with any regularity; any such
users would have tripped over the problem in the same way I did when
it was first found over a year ago.

The problem stems from two issues with the underlying blowfish
encryption routines used by cgd:
 - they take key length arguments counted in bytes, rather than bits
   like all the opther ciphers.
 - they silently truncate any keys longer than an internal limit,
   rather than returning an error (which would have exposed the
   previous discrepancy immediately).

As a result, the kernel reads too much data as the key from cgdconfig,
and then truncates most of it. This can easily be demonstrated/tested.
Currently, Blowfish users will find that if they mis-enter the cgd
passphrase on the first attempt, when validation fails and cgdconfig
prompts for the passphrase again, the cgd will not correctly configure
even when given a correct passphrase.
2004-03-18 10:42:08 +00:00
sekiya
27be14d39c Checkpoint the GR2 wscons driver. Heavily derived from lonewolf@'s newport
driver.  Still some issues:

* framebuffer setup seems incomplete.  Some drawing primitives work 100%
  of the time, while others fail one in ten tries.  Perhaps my board is
  slightly broken, as the exact model as probed by ARCS seems to shift
  between Elan and XS24 from time to time.
* characters are drawn bottom-up rather than top-down (as the wsfont
  definitions expect).
2004-03-18 08:52:04 +00:00
sekiya
0ee588cc1c Add GR2. 2004-03-18 08:40:46 +00:00
sekiya
bf7ef66f3b Add console attach glue for GR2. 2004-03-18 08:40:24 +00:00
sekiya
a924cfbf24 Add register definitions and console prototype header for the SGI GR2 family
of framebuffers.
2004-03-18 08:39:17 +00:00
sekiya
d1ae192917 Add console type for SGI GR2 family. 2004-03-18 08:30:58 +00:00
jdc
9a2e2c2205 Add enable ACS (eA) capability to our rxvt entry too.
Tested by Martin Husemann.
2004-03-18 07:25:17 +00:00
cgd
50d45978ec bump RX and TX ring sizes to 256 entries each. would be better to make
them larger, but then i'd need to tweak the allocation mechanism so they
were *guaranteed* to be physically contiguous.
2004-03-18 06:59:30 +00:00
cgd
49d5d889b3 in PERIPH_REV3 DMA code, fix calculation of pkt size (not that it matters
for <= 4k packets), and also interrupt on end of pkt only.  cuts tx intrs
by a factor of >3 for simon's fave 100Mbps ttcp test.
2004-03-18 06:30:03 +00:00
simonb
0c55ae72f4 Fix pass3 Tx DMA - when an mbuf spans a page boundary, make sure that
it either is sitting in contiguous physical RAM or split the mbuf
 into two Tx descriptors.  Not the prettiest patch, but works well in
 practice - gets about an 8% decrease on CPU time for a simple ttcp TCP
 Tx benchmark.  Thanks to Chris Demetriou for some debugging help.
Add some event counters.
Remove some #if 0'd debug code.
2004-03-18 05:57:58 +00:00
jmc
934c6a9eb2 If performing a rename with uudecode, touch the expected output so make tracks
the dependency.
2004-03-18 03:32:03 +00:00
jmc
c667587326 Add UUDECODE_FILES_RENAME_fn so the output from a uudecode can be renamed
potentially (usually when the .uue has a pathname contained within it)
2004-03-18 03:26:55 +00:00
jmc
ee24a149f4 Add a central method to deal with uuencoded files in the source tree.
Files will be stored as .uue and the name sans .uue will be added to
UUDECODE_FILES to extract them.
2004-03-18 02:00:00 +00:00
christos
b4d69b5716 PR/24814: Colin Percival: sysv_sem waiter counting problem 2004-03-18 01:16:44 +00:00
uwe
0e524a56a1 Scandinavian keyboard layout for Jornada 680/690. 2004-03-18 01:11:58 +00:00
mycroft
2fef5d8dfc Something I posted to tech-kern a long time ago...
Slightly simplify uvm_map_extract() slightly by eliminating "oldstart".
2004-03-17 23:58:12 +00:00
mycroft
2d3bb76a10 A random patch that's been in my source tree...
Figure out whether the shared memory region is word-accessible in the same
place we figure out its size, and store this in the softc, rather than using a
series of comparisons later.
2004-03-17 23:47:16 +00:00
mycroft
b28430ff55 Build a SMDK2410 kernel. 2004-03-17 23:37:20 +00:00
wrstuden
58472c3385 Have Locore zero out the bss (which includes our stack) BEFORE
we start calling into C code. Previously we called memset() in our
C code. Unfortunately the compiler would sometimes store local variables
on the statck, which got killed by the memset(). Oops!
2004-03-17 23:32:22 +00:00
rtr
5284eba6e3 + set correct XKB_RULES_DIR path
should resolve pr#24815
2004-03-17 23:19:48 +00:00
perry
1743443686 Add a compile flag, MKTTINTERP, that turns on the bytecode interpreter
when it is set to yes (typically in /etc/mk.conf)

The freetype bytecode interpreter is not on by default because it is
patented in some jurisdictions.
2004-03-17 23:15:30 +00:00
wrstuden
86948e4bf1 Bump version to help track down issues with kernel loading. 2004-03-17 20:41:17 +00:00
scw
37998f0fde Add MD files for sh5/evbsh5. 2004-03-17 20:36:04 +00:00
scw
0b2cfb4c45 Add keyword 'gdb' to files built with MKGDB!=no. 2004-03-17 20:34:47 +00:00
scw
c7f9b71508 Allow MKGDB=no to override inclusion of records with the 'gdb' keyword. 2004-03-17 20:32:02 +00:00