Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ubsec/ubsec.c
Show First 20 Lines • Show All 254 Lines • ▼ Show 20 Lines | ubsec_partname(struct ubsec_softc *sc) | ||||
} | } | ||||
return "Unknown-vendor unknown-part"; | return "Unknown-vendor unknown-part"; | ||||
} | } | ||||
static void | static void | ||||
default_harvest(struct rndtest_state *rsp, void *buf, u_int count) | default_harvest(struct rndtest_state *rsp, void *buf, u_int count) | ||||
{ | { | ||||
/* MarkM: FIX!! Check that this does not swamp the harvester! */ | /* MarkM: FIX!! Check that this does not swamp the harvester! */ | ||||
random_harvest_queue(buf, count, count*NBBY/2, RANDOM_PURE_UBSEC); | random_harvest_queue(buf, count, RANDOM_PURE_UBSEC); | ||||
} | } | ||||
static int | static int | ||||
ubsec_attach(device_t dev) | ubsec_attach(device_t dev) | ||||
{ | { | ||||
struct ubsec_softc *sc = device_get_softc(dev); | struct ubsec_softc *sc = device_get_softc(dev); | ||||
struct ubsec_dma *dmap; | struct ubsec_dma *dmap; | ||||
u_int32_t i; | u_int32_t i; | ||||
▲ Show 20 Lines • Show All 2,527 Lines • Show Last 20 Lines |