Commit Graph

201794 Commits

Author SHA1 Message Date
spz
56d7efa655 add tests for evb and srp 2011-06-09 05:25:17 +00:00
sjg
82f4eed556 _gr_copy() can get called with fromgrp->gr_mem == NULL. 2011-06-09 05:11:17 +00:00
rmind
14a6291ecb Remove few references to simple_lock. 2011-06-09 02:59:22 +00:00
rmind
8c68626da1 Convert simple_lock/ltsleep to mutex/condvar and malloc to kmem. 2011-06-09 02:49:32 +00:00
rmind
b1d9d10d78 - Use IPL_BIO (instead of IPL_SERIAL) for SPI.
- Convert simple_lock/ltsleep to mutex/condvar.
2011-06-08 23:05:48 +00:00
rmind
c652f42cfd Convert simple_lock to mutex. 2011-06-08 22:43:10 +00:00
alnsn
588a9eb058 Mention a new ktrace(1) trace point. 2011-06-08 22:33:35 +00:00
phx
8e8cb185c4 Also create device nodes for wd2 and wd3. Up to 4 disks in a NAS system are
not unusual.
2011-06-08 18:37:23 +00:00
pgoyette
35a3b0e4a6 Factor out some duplicated code to simplify maintenance. Reduces
the source file by ~100 lines, and amd64 object file shrinks by
~650 bytes.

No functional change intended.
2011-06-08 18:22:24 +00:00
njoly
463c1a0c0f Fix prologue macros order. 2011-06-08 18:09:57 +00:00
phx
83057b124e Support disk units from multiple IDE/SATA PCI controllers. 2011-06-08 18:06:02 +00:00
bouyer
3b0bc4ff9e Make GDIUM build again after matt-nb5-mips64 merge. untested as I don't have
this hardware, but I'll use this as a base for Lemote Fulong support.
2011-06-08 17:47:48 +00:00
matt
b58f35c978 Rework to support more relocations. Reorganize so code doesn't need to be
replicated over and over.
2011-06-08 17:19:20 +00:00
dyoung
b6aa79a388 Fiddle a bit with const's to make FAST_IPSEC compile. 2011-06-08 16:24:50 +00:00
pgoyette
67461ad93e Restrict limit monitoring for Indicator sensors as well as for
Battery-charge sensors.
2011-06-08 16:14:57 +00:00
pgoyette
eaed4c6e56 Instead of relying on the want-percent attribute, use the sensor
type to restrict value-based limits from Battery-capacity sensors.
2011-06-08 16:11:25 +00:00
joerg
bc843b5e55 Use prototypes from libi386.h. 2011-06-08 16:04:40 +00:00
joerg
db603d4492 G/C wbinvd 2011-06-08 16:03:42 +00:00
matt
ca37a5ee9e A small speedup, when mapping memory in bus_dmamem_map, if the memory is
cacheable and is in a single segment (physically contiguous) don't bother
allocating KVA for it, just use the physical address as the VA.
2011-06-08 15:19:57 +00:00
yamt
bae8a3a858 mention combinations of flags 2011-06-08 13:54:16 +00:00
yamt
6f8a344413 err -> errx where appropriate 2011-06-08 13:51:13 +00:00
wiz
8fb66db3ec Sync usage with man page. 2011-06-08 12:49:45 +00:00
wiz
20e3a8d382 Sort options. New sentence, new line. 2011-06-08 12:47:51 +00:00
pgoyette
1dcfbf4075 Correct description for hw.swwdog.reboot behaviour. 2011-06-08 12:19:14 +00:00
drochner
89c8725c96 add support for the interesting parts of ISO-2 and KOI8-R fonts
to the vga(4) driver
2011-06-08 10:25:21 +00:00
drochner
2706a22ac6 reduce typecasts and byte swapping 2011-06-08 10:14:16 +00:00
joerg
7ee80c6f6e Update LLVM/Clang snapshot to 132736. This fixes two situations where
libraries could end up with text relocations.
2011-06-08 08:48:38 +00:00
matt
6d32ef3fed When printing the header, convert values to names:
Use strlcpy to copy the name, not strncpy.

 magic:       0x27051956
 time:        Tue Jun  7 15:58:41 2011
 size:        2482203
 load addr:   0x00020000
 entry point: 0x00020000
 data crc:    0x700fdf53
 os:          2 (netbsd)
 arch:        7 (powerpc)
 type:        2 (kernel)
 comp:        1 (gz)
 name:        NetBSD/evbppc 5.99.52 (INSTALL_
 header crc:  0x94ea96cf
2011-06-08 05:54:38 +00:00
jruoho
a4bc4192a9 Adjust types. 2011-06-08 05:31:43 +00:00
jruoho
72242ed7f9 Use atf_tc_skip() instead of #if 0. 2011-06-08 05:28:03 +00:00
matt
a3fa70a436 When delivering MSIs, sometimes after clearing the MSI but before the interrupt
routine get called the MSI reasserts and we loop around and would detect a
spurious interrupt.

So now we keep track of the interrupts we have serviced successfully for this
dispatch loop.  If we have to invoke an interrupt handler and that handler
indicates nothing was serviced, if we previously serviced it it isn't counter
as a spurious interrupt.
2011-06-08 05:21:42 +00:00
matt
15f871cc40 Add an e500_idlespin to detect calls to idlespin when interrupts are blocked
or disabled.
2011-06-08 05:13:00 +00:00
matt
e14e91988c In INIT_CPUINFO, make L_CPU to set the cpu_info (just to be safe). 2011-06-08 05:11:07 +00:00
matt
16a73c72b7 Cleanup register use so that r5-r8 are preserved. Take advantage of
changes to INIT_CPUINFO (it now saves curcpu to L_CPU(%r13)).
2011-06-08 05:09:21 +00:00
matt
74521c9c2f Use a standard INSTALL.inc instead of duplicating it. Make INSTALL
variants of mpc85xx kernels.
2011-06-08 05:03:43 +00:00
joerg
20443a4138 Be a bit cleaner and reduce the amount of namespace pollution 2011-06-07 22:51:32 +00:00
wiz
a9c099f5bf Fix typo. 2011-06-07 20:23:14 +00:00
wiz
0d3e47c8e9 Whitespace fix and sort SEE ALSO. 2011-06-07 20:22:56 +00:00
joerg
b7a1edf1d5 Catch up with addition of putstr32.S. 2011-06-07 20:05:46 +00:00
joerg
cbfa018ce3 Add () that match operator order. 2011-06-07 20:04:32 +00:00
jruoho
8fb0f51219 Temporarily comment out the 'stat_dir' test. It panics QEMU/i386 guests. 2011-06-07 19:06:39 +00:00
fair
d53081d682 Document PPS_SYNC for com(4) and zstty(4) (the only serial drivers
in which NetBSD currently supports the option), with cross reference
to ntpd(8) and options(4).
2011-06-07 18:02:35 +00:00
matt
a1b165afd2 Make pcu_save_all and pcu_discard_all KASSERTs accept LW_SYSTEM threads
since kthread_create will call lwp_create with lwp0 which may not be curlwp.
2011-06-07 17:51:58 +00:00
wiz
c8bcdb2bd2 Sort sections. 2011-06-07 17:47:24 +00:00
matt
f48a97f0ed Add mpc85xx kernels. Add INSTALL_PMPPC
Put each family of kernels on a separate line.
2011-06-07 17:30:18 +00:00
pgoyette
40470b7ff0 Add a BUGS section to point out that the statistic "average" is an
average only of the current, minimum, and maximum values, and not a
running average of all displayed current values.
2011-06-07 17:28:59 +00:00
pgoyette
83a2ecf6cc Zero is a valid value for some sensors so update statistics code to
handle that.
2011-06-07 17:24:32 +00:00
jym
c9ee6caf03 Document the naming convention. 2011-06-07 17:13:43 +00:00
jym
422a28e00e Be more consistent for event handler naming with block backend: it is
xbdback(4) rather than xbd(4), and use i for identifier separation
(like xvif(4)).

The name is not used outside from event counters (vmstat -i), so
should be transparent to Xen block scripts.
2011-06-07 16:41:14 +00:00
drochner
49c12b7a9f use a simple counter as IV for AES-GMAC as suggested in RFC4543 2011-06-07 15:57:51 +00:00