summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid_raid0.c
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2010-01-09 20:33:13 +0000
committermiod <miod@openbsd.org>2010-01-09 20:33:13 +0000
commitc301e791294a0a3d9a3aa99f9efe61347dbf5d24 (patch)
tree579e2bfeb3a97f702a36fcf029f847557ca11f56 /sys/dev/softraid_raid0.c
parentNo need to call bpfdetach() in mpe_clone_destroy() since this is done in (diff)
downloadwireguard-openbsd-c301e791294a0a3d9a3aa99f9efe61347dbf5d24.tar.xz
wireguard-openbsd-c301e791294a0a3d9a3aa99f9efe61347dbf5d24.zip
Define struct cpu_hwinfo, to hold hardware specific information about each
processor (instead of sys_config.cpu[]), and pass it in the attach_args when attaching cpu devices. This allows per-cpu information to be gathered late in the bootstrap process, and not be limited by an arbitrary MAX_CPUS limit; this will suit IP27 and IP35 systems better. While there, use this information to make sure delay() uses the speed information from the cpu it is invoked on.
Diffstat (limited to 'sys/dev/softraid_raid0.c')
0 files changed, 0 insertions, 0 deletions