#
af65c53a |
| 17-May-2006 |
Pawel Jakub Dawidek <pjd@FreeBSD.org> |
Honor cri_mlen value.
Reviewed by: sam Tested on: hifn(4), ubsec(4) Compile-tested: safe(4)
|
#
c40da00c |
| 16-May-2006 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Since DELAY() was moved, most <machine/clock.h> #includes have been unnecessary.
|
Revision tags: release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0 |
|
#
a865bfcb |
| 06-Jun-2005 |
Warner Losh <imp@FreeBSD.org> |
These registers are saved by pci bus code. Remove from #if 0'd code anyway
|
Revision tags: release/5.4.0_cvs, release/5.4.0 |
|
#
538565c4 |
| 05-Mar-2005 |
Warner Losh <imp@FreeBSD.org> |
Use BUS_PROBE_DEFAULT for pci probe return value
|
Revision tags: release/4.11.0_cvs, release/4.11.0 |
|
#
aa959e0d |
| 19-Jan-2005 |
Sam Leffler <sam@FreeBSD.org> |
Update support for 795x parts: o rework pll setup code to follow h/w specification o add hint.hifn.X.pllconfig to specify reference clock setup requirements; default is pci66 which means the clock
Update support for 795x parts: o rework pll setup code to follow h/w specification o add hint.hifn.X.pllconfig to specify reference clock setup requirements; default is pci66 which means the clock is derived from the PCI bus clock and the card resides in a 66MHz slot
Tested on 7955 and 7956 cards; support for 7954 cards not enabled since we have no cards to test against.
In collaboration with Poul-Henning Kamp.
Reviewed by: phk MFC after: 1 week
show more ...
|
#
098ca2bd |
| 06-Jan-2005 |
Warner Losh <imp@FreeBSD.org> |
Start each of the license/copyright comments with /*-, minor shuffle of lines
|
Revision tags: release/5.3.0_cvs, release/5.3.0 |
|
#
1ab4eff4 |
| 15-Oct-2004 |
Sam Leffler <sam@FreeBSD.org> |
add missing ';' that didn't show up with INVARIANTS enabled
|
#
fe9b390b |
| 15-Oct-2004 |
Sam Leffler <sam@FreeBSD.org> |
Move session state from on-card memory to host memory so we no longer are constrained to a small number of sessions by the small on-card memories found in newer devices. This is really a stopgap sol
Move session state from on-card memory to host memory so we no longer are constrained to a small number of sessions by the small on-card memories found in newer devices. This is really a stopgap solution as having session state in main memory incurs a (small but noticeable) performance penalty. The better solution is to manage session state so that it's cached on chip.
Obtained from: openbsd
show more ...
|
#
5908d366 |
| 04-Jul-2004 |
Stefan Farfeleder <stefanf@FreeBSD.org> |
Consistently use __inline instead of __inline__ as the former is an empty macro in <sys/cdefs.h> for compilers without support for inline.
|
#
fe12f24b |
| 30-May-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add missing <sys/module.h> includes
|
Revision tags: release/4.10.0_cvs, release/4.10.0 |
|
#
5f96beb9 |
| 17-Mar-2004 |
Nate Lawson <njl@FreeBSD.org> |
Convert callers to the new bus_alloc_resource_any(9) API.
Submitted by: Mark Santcroos <marks@ripe.net> Reviewed by: imp, dfr, bde
|
Revision tags: release/5.2.1_cvs, release/5.2.1 |
|
#
c740ae4b |
| 02-Feb-2004 |
Poul-Henning Kamp <phk@FreeBSD.org> |
Add CRD_F_KEY_EXPLICIT which allows the key to be changed per operation, just like it was possible to change the IV.
Currently supported on Hifn and software engines only.
Approved by: sam@
|
Revision tags: release/5.2.0_cvs, release/5.2.0 |
|
#
a2bf609d |
| 25-Dec-2003 |
Sam Leffler <sam@FreeBSD.org> |
NULL fallout
|
Revision tags: release/4.9.0_cvs, release/4.9.0 |
|
#
17b66701 |
| 08-Oct-2003 |
Sam Leffler <sam@FreeBSD.org> |
Add symmetric crypto support for the 7955 and 7956.
Note performance is currently suboptimal.
Submitted by: Rajesh Vaidyanath <RVaidyanath@hifn.com>
|
#
e27951b2 |
| 02-Sep-2003 |
John Baldwin <jhb@FreeBSD.org> |
Use PCIR_BAR(x) instead of PCIR_MAPS.
Glanced over by: imp, gibbs Tested by: i386 LINT
|
#
aad970f1 |
| 24-Aug-2003 |
David E. O'Brien <obrien@FreeBSD.org> |
Use __FBSDID(). Also some minor style cleanups.
|
#
77e6a3b2 |
| 22-Aug-2003 |
Warner Losh <imp@FreeBSD.org> |
Prefer new location of pci include files (which have only been in the tree for two or more years now), except in a few places where there's code to be compatible with older versions of FreeBSD.
|
#
c06eb4e2 |
| 19-Aug-2003 |
Sam Leffler <sam@FreeBSD.org> |
Change instances of callout_init that specify MPSAFE behaviour to use CALLOUT_MPSAFE instead of "1" for the second parameter. This does not change the behaviour; it just makes the intent more clear.
|
#
f6b1c44d |
| 01-Jul-2003 |
Scott Long <scottl@FreeBSD.org> |
Mega busdma API commit.
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg. Lockfunc allows a driver to provide a function for managing its locking semantics while using busdma.
Mega busdma API commit.
Add two new arguments to bus_dma_tag_create(): lockfunc and lockfuncarg. Lockfunc allows a driver to provide a function for managing its locking semantics while using busdma. At the moment, this is used for the asynchronous busdma_swi and callback mechanism. Two lockfunc implementations are provided: busdma_lock_mutex() performs standard mutex operations on the mutex that is specified from lockfuncarg. dftl_lock() is a panic implementation and is defaulted to when NULL, NULL are passed to bus_dma_tag_create(). The only time that NULL, NULL should ever be used is when the driver ensures that bus_dmamap_load() will not be deferred. Drivers that do not provide their own locking can pass busdma_lock_mutex,&Giant args in order to preserve the former behaviour.
sparc64 and powerpc do not provide real busdma_swi functions, so this is largely a noop on those platforms. The busdma_swi on is64 is not properly locked yet, so warnings will be emitted on this platform when busdma callback deferrals happen.
If anyone gets panics or warnings from dflt_lock() being called, please let me know right away.
Reviewed by: tmm, gibbs
show more ...
|
#
07d0c94a |
| 27-Jun-2003 |
Sam Leffler <sam@FreeBSD.org> |
Add support to eliminate a context switch per crypto op when using the software crypto device:
o record crypto device capabilities in each session id o add a capability that indicates if the crypto
Add support to eliminate a context switch per crypto op when using the software crypto device:
o record crypto device capabilities in each session id o add a capability that indicates if the crypto driver operates synchronously o tag the software crypto driver as operating synchronously
This commit also introduces crypto session id macros that cleanup their construction and querying.
show more ...
|
#
bba9599a |
| 05-Jun-2003 |
Sam Leffler <sam@FreeBSD.org> |
fix typo (how did this get committed?)
|
#
236266ee |
| 04-Jun-2003 |
Sam Leffler <sam@FreeBSD.org> |
detach RNG test facility on device detach
|
Revision tags: release/5.1.0_cvs, release/5.1.0 |
|
#
4f28f7d7 |
| 03-Jun-2003 |
Sam Leffler <sam@FreeBSD.org> |
Redo locking for better SMP suport:
o adding locking to op submission o mark interrupt handler MPSAFE o don't use locking on detach; disabling interrupts should be sufficient o change mutex string n
Redo locking for better SMP suport:
o adding locking to op submission o mark interrupt handler MPSAFE o don't use locking on detach; disabling interrupts should be sufficient o change mutex string names so witness printouts are more meaningful
Note: locking is still pretty brute-force but it's probably not worth improving it given the relatively low performance of hifn-based cards.
show more ...
|
Revision tags: release/4.8.0_cvs, release/4.8.0 |
|
#
b7c4858f |
| 11-Mar-2003 |
Sam Leffler <sam@FreeBSD.org> |
o add crypto driver glue for using the new rndtest driver/module; this is conditional in each driver on foo_RNDTEST being defined_ o bring HIFN_DEBUG and UBSEC_DEBUG out to be visible options; they
o add crypto driver glue for using the new rndtest driver/module; this is conditional in each driver on foo_RNDTEST being defined_ o bring HIFN_DEBUG and UBSEC_DEBUG out to be visible options; they control the debugging printfs that are set with hw.foo.debug (e.g. hw.hifn.debug)
show more ...
|
#
bd17515b |
| 11-Mar-2003 |
Sam Leffler <sam@FreeBSD.org> |
gack; revert previous commit; not only did I read things backward but I was in the wrong tree
|