ubsec - Fix & update
authorAlex Hornung <ahornung@gmail.com>
Tue, 20 Sep 2011 09:14:29 +0000 (10:14 +0100)
committerAlex Hornung <ahornung@gmail.com>
Tue, 20 Sep 2011 10:01:14 +0000 (11:01 +0100)
commit3db27b539b5281204372d0cfd926298591cf0b08
tree4bed81d0ac88c1cfa127f6408f70fc84c6d3ee53
parentaea76754cf5b4a6546cb46059594176457e06a01
ubsec - Fix & update

 * Fix ubsec(4) to work with our updated opencrypto. The main problem
   was that the argument to newsession, freesession, process and
   kprocess changed from an arbitrary arg (set to softc) to a device_t.

 * Update bits and pieces from FreeBSD, such as cleaning up the code a
   bit and adding support for bcm5825.

Tested with a BCM5821 PCI-x card.
sys/dev/crypto/ubsec/ubsec.c
sys/dev/crypto/ubsec/ubsecreg.h