201765 Commits

Author SHA1 Message Date
drochner
813bea3edb catch a case where an ip6 address with scope embedded was compared with
one without -- interestingly this didn't break the connection but just
caused a useless encapsulation
(this code needs to be rearranged to get it clean)
2011-06-09 21:04:37 +00:00
christos
23ffdf5bd3 share more code. 2011-06-09 19:57:50 +00:00
drochner
2cd69bbbad more "const" 2011-06-09 19:54:18 +00:00
matt
c2cfca5232 Fix ATTR register definitions 2011-06-09 19:11:06 +00:00
matt
27ccd35f9a Correct definitions of USB_SNOOP registers. Add USB_CONTROL register. 2011-06-09 19:10:37 +00:00
matt
35bfe52a97 For PPC_BOOKE, make BUS_DMA_COHERENT equal to BUS_DMA_NOCACHE. Now USB
works again.  (which means USB uses of bus_dmamap_sync is broken).
2011-06-09 19:09:57 +00:00
matt
39d427883c Move EHCI_DEBUG, OHCI_DEBUG, UHCI_DEBUG, USB_DEBUG, UHUB_DEBUG to opt_usb.h
(ya dependencies).
Cleanup usb_mem.c a little more and add block tracking code.  Help find
corruption problems.
Comment out the SPEED check for ETTF.  XXX why doesn't that work right?
2011-06-09 19:08:31 +00:00
nonaka
c09d499033 - device_t/softc split.
- use aprint_* function.
2011-06-09 17:29:42 +00:00
christos
3a128b33dc PR/42642: Ed Ravin: Handle daemons that start with #!/usr/bin/env interp 2011-06-09 14:52:01 +00:00
drochner
b8b7a5e34c use 64-bit integers for GF128 multiplication on LP64 CPUs 2011-06-09 14:47:42 +00:00
joerg
38d1b26693 dma_addr_t may not be a 64bit type, so add an explicit cast here instead
of silent truncation
2011-06-09 14:47:15 +00:00
joerg
2c0909e78c Use a format string when printing strings 2011-06-09 14:46:33 +00:00
joerg
d4d21d35eb Annotate that gpiobus_close's return value is undesired here 2011-06-09 14:46:06 +00:00
drochner
1f2bb173aa -if an opencrypto(9) session is allocated, the driver is refcounted
and can not disappear -- no need to hold crypto_mtx to check the
 driver list
 (the whole check is questionable)
-crp->crp_cv (the condition variable) is used by userland cryptodev
 exclusively -- move its initialization there, no need to waste
 cycles of in-kernel callers
-add a comment which members of "struct cryptop" are used
 by opencrypto(9) and which by crypto(4)
 (this should be split, no need to waste memory for in-kernel callers)
2011-06-09 14:41:24 +00:00
jakllsch
90849d0b82 Rework mvsoctmr(4), improving timekeeping accuracy
Inconveniently the Marvell hardware only counts down.
We need to reverse this for timecounter(9), and we need
to do it in a very lightweight way.

 - use Timer0 for the clock interrupt
 - use Timer1 for timecounter(9) and delay(9)
 - drop statclock due to lack of timers (does anyone actually use this?)
2011-06-09 13:43:44 +00:00
matt
dcd3c68619 Adapt to change to PCU. 2011-06-09 13:41:40 +00:00
joerg
d45d65aa1c Input function is not used 2011-06-09 13:09:42 +00:00
njoly
7acc235b8f Do not indent RETURN VALUES section (which was ignored because of
missing dash).
2011-06-09 12:13:00 +00:00
cegger
159dac67ee the BCM5785 is a PCIe chip but does not report PCIe capabilities.
Check for this chip explicitely and enable PCIe.
Fixes 'firmware handshake timeout'. Tested with root on nfs.

patch from msaitoh@
2011-06-09 12:04:29 +00:00
matt
3c53dfee1d Use __arraycount 2011-06-09 07:17:02 +00:00
spz
135e314339 and fix the sets for the addition of srp and evp tests in libcrypto 2011-06-09 05:26:01 +00:00
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