Commit Graph

180735 Commits

Author SHA1 Message Date
roy
3a119921bc Import dhcpcd-5.0.3 2009-05-11 10:10:13 +00:00
roy
cd5cb024ed Import dhcpcd-5.0.3
Changes from 5.0.2
 * Fix crash when ifa_addr from getifaddrs(3) is NULL
2009-05-11 08:52:46 +00:00
nonaka
53e60c8761 Don't touch dma data when PMC_CAPS_NO_DMA is set. 2009-05-11 08:27:03 +00:00
skrll
0069356080 KNF 2009-05-11 06:10:30 +00:00
he
e437fa175c Now that we have strnlen() in libc, get rid of the local
and type-conflicting implementation here instead of fixing
it locally.  I don't think (hope!) this is size-critical.
2009-05-10 22:03:22 +00:00
he
946ecbf082 Also update the prototype for pmap_enter1() after the recent
int -> u_int change.
2009-05-10 21:47:57 +00:00
wiz
c28edfaaad New sentence, new line. 2009-05-10 21:23:48 +00:00
dholland
8382834fe2 The lwp member of struct componentname was removed a long time ago.
Fix broken build with UFS_EXTATTR_AUTOSTART by removing it here as well.
2009-05-10 20:27:21 +00:00
roy
ed7c19b672 Re import right version 2009-05-10 17:20:55 +00:00
roy
8b6048a327 Import dhcpcd-5.0.2 2009-05-10 16:54:00 +00:00
roy
05cc3e1e56 Update dhcpcd to 5.0.2
Changes from 5.0.1 include
 * -n option now starts dhcpcd if not already started
 * 29-lookup-hostname hook installed by default, but skipped in dhcpcd.conf
 * Fix warning about missing dirs if we don't have any existing state
 * Fix compile on some Linux distros re linux/wireless.h
2009-05-10 16:44:26 +00:00
elad
d009a1bb6c Add IPKDB options, but commented out as it doesn't build at the moment. 2009-05-10 15:26:23 +00:00
elad
61c4873640 Stub documentation for FILE_LOCK(), FILE_UNLOCK(). 2009-05-10 14:33:54 +00:00
elad
a31136d3d3 verified executable -> Veriexec. 2009-05-10 14:19:28 +00:00
elad
6a26435d80 Fix securelevel listener function name. 2009-05-10 14:18:33 +00:00
lukem
2a89584323 Note that FFSv1 is also known as FFS, UFS, or UFS1.
Note that FFSv2 is also known as UFS2.
Add a reference to Kirk's BSDcon03 paper on UFS2.
2009-05-10 13:28:00 +00:00
wiz
561d984c87 New sentence, new line. Use Xr for cross-reference. 2009-05-10 12:46:41 +00:00
tsutsui
7957da8992 Add MLINKS for pmf(9) functions. 2009-05-10 10:59:21 +00:00
tsutsui
c1c439fd60 - add pmf_device_register1() to NAME section
- add a return type of pmf_device_register1()
2009-05-10 10:56:17 +00:00
yamt
8276e4de1a nfs_lookup: vn_lock the vnode returned by cache_lookup_raw
before feeding it to VOP_GETATTR.  it's necessary because the vnode might
be being cleaned by getcleanvnode.

it's an instance of more general races between vnode reclaim and
unlocked VOPs.  however, this one happens somewhat often because it can be
triggered by getnewvnode rather than revoke.
2009-05-10 05:18:26 +00:00
tsutsui
84e868b269 - adjust comments for the previous change
- wrap a long comment
- remove a trailing whitespace
2009-05-10 04:36:58 +00:00
tsutsui
f76d0651b7 Misc bus_dma(9) related cleanup:
- calculate each descriptor sizes and offsets in iee_attach() and store them
  into softc, rather than re-calculating them everywhere via macros
- prepare macros to sync DMA shmem per each descriptor
- sync only necessary descriptors in iee_intr() and iee_start()
- make sure SCB_FOO macros take softc as an arg properly
- use bus_dmamap_load_mbuf(9) for RX mbufs
- put 2 byte alignments to RX mbufs

XXX: still slower than ie(4) in i82586 compat mode on HP9000 735/125.
2009-05-10 04:26:19 +00:00
yamt
dd0402b09c restore lines, esp. a vrele() call, which i mistakenly removed
in the previous.  (rev.1.276)
2009-05-10 03:51:43 +00:00
elad
efeb620e44 Adapt FAST_IPSEC to recent KPI changes.
Pointed out by dyoung@ on tech-kern@, thanks!
2009-05-10 02:13:07 +00:00
elad
12ec766ad8 Add check for IN_MULTICAST() that was taken only to in_pcbbind_port() --
it's necessary in in_pcbbind_addr() as well.

Pointed out by Mihai Chelaru on tech-net@, thanks!
2009-05-09 20:54:52 +00:00
tsutsui
3ec7e0d881 Fix more pasto botch. 2009-05-09 20:44:56 +00:00
tsutsui
f8a52a52cb Remove (wrong) function names by pasto from attach failure messages. 2009-05-09 20:42:09 +00:00
tsutsui
a0a1d7acfb Use __func__ to print function names. 2009-05-09 18:31:46 +00:00
pgoyette
465d8da77a Minor white-space KNF nit. No functional change. 2009-05-09 17:32:27 +00:00
sborrill
9ea64db0b6 regen 2009-05-09 15:16:42 +00:00
sborrill
2336481d62 Add alternative product ID for VIA VT8237A Integrated SATA Controller 2009-05-09 15:15:50 +00:00
pgoyette
b3c79debe6 Initial implementation of sdtemp(4) driver for on-DIMM temp sensor.
(These optional sensors are specified by JEDEC Standard No. 21-C
Section 4-7 and implemented by multiple vendors.  Tested on my
amd64 machine with Kingston KVR1066D3E7S/2G memory which includes
a STMicro STTS424E02 sensor.)
2009-05-09 15:04:25 +00:00
wiz
1c89d5f893 Document that drm(4) needs agp(4). Bump date.
(joerg said so, and compilation fails without.)
2009-05-09 14:45:29 +00:00
tsutsui
66687cb59d Fix a botch in rev 1.29: return error properly from pdcgettod(). 2009-05-09 12:44:30 +00:00
skrll
2b47a0c491 Whitespace. 2009-05-09 12:18:29 +00:00
skrll
6110648597 No need to do the hp700_pagezero_{,un}map dance to get the pdc entry point
as it's stashed in pdc - just use pdc.

Update a comment while I'm here.
2009-05-09 12:04:11 +00:00
skrll
0b0472a5e5 Don't overload cpu_type in cpuid().
Rename a hppa_cpu_info member for clarity.
2009-05-09 11:39:30 +00:00
mlelstv
f4e36171e8 Replace splsoftnet() with proper mutexes as suggested by ad@.
Fixes PR kren/40940.
2009-05-09 11:36:17 +00:00
wiz
4024ae4675 Add "Robot Electronics USB to I2C Communications Module" to list
of supported hardware.
From Jukka Ruohonen in PR 41382.
Bump date.
2009-05-09 11:17:22 +00:00
wiz
91992368c4 Mark up NULL, bump date for previous. 2009-05-09 08:14:42 +00:00
pgoyette
7450d74baf For multi-byte transfers, the bytes need to be written to or read from
consecutive data registers.  Discovered while debugging sdtemp(4) driver
which does _only_ 16-bit transfers!
2009-05-09 07:13:57 +00:00
pgoyette
bbb7ea8f3e You can't use a BYTE protocol to read 16-bits worth of data from the
i2c bus.  Discovered while debugging my sdtemp(4) driver.
2009-05-09 04:56:39 +00:00
tsutsui
cd77526abc Add necessary parentheses to roundup2() macro. 2009-05-09 04:03:47 +00:00
tsutsui
8de92473d5 Also check if cache line alignment is power of two in KASSERT(). 2009-05-09 03:54:10 +00:00
tsutsui
42731279ac Use roundup2() macro to calculate cache line aligned offsets of
DMA descriptor members in shared memory.
The previous ones could return wrong values if cache line size is
smaller than structures, and we can assume cache line size is
power of two to avoid division ops.
2009-05-09 03:50:16 +00:00
yamt
bed2400e59 lockdebug fixes for rw_tryupgrade/rw_downgrade. 2009-05-09 03:33:10 +00:00
tsutsui
0eda417b19 Move allocation of DMA shared memory with bus_dma(9) ops
from MD attachments to MI iee_attach().
Tested on HP9000 735/125. Compile test only on ews4800mips.

XXX: more strict bus_dmamap_sync(9) calls are required in various places.
2009-05-09 03:22:20 +00:00
tsutsui
d9e806321a Call bus_dmamap_sync(9) more properly on DMA polling. 2009-05-09 02:29:29 +00:00
tsutsui
511e1d5877 - use BUS_DMA_COHERENT rather than using MIPS_KSEG1_START
- use bus_dmamap_sync(9) rather than mips_dcache_wbinv_range()
- call bus_dmamap_sync(9) properly on DMA polling

XXX: untested due to lack of hardware
2009-05-09 02:18:48 +00:00
tsutsui
55141e130f Check return values of pdc_call() in pdcgettod() and pdcsettod(). 2009-05-09 01:59:17 +00:00