summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751reg.h
AgeCommit message (Collapse)Author
2001-08-08Initial support for RC4 operations (This probably won't work yet asJason Wright
the caller of *_process() doesn't seem to initialize crd_klen correctly; it has a zero value... still debugging...).
2001-07-08Hifn has changed its company name, make the name consistent throughoutBrad Smith
the tree. Hi/fn, Hi/Fn and HiFn -> Hifn. -- Ok'd by deraadt@
2001-06-27"IPsec" capitalization (jsyn@nthought.com)Angelos D. Keromytis
2001-06-26move bus access to var where it belongsJason Wright
2001-06-25bits are -wrong- in documentation... this is a recurring theme, do chipJason Wright
makers -read- their docs?
2001-06-23add some infrastructure for the public engineJason Wright
require reworking interrupt enable and status checking as well as a bit of initialization
2001-06-23more 7951 specific bits and definitionsJason Wright
2001-06-23- put hw defines in *reg, software defines in *var, etcJason Wright
- clean up pub/rng initialization call - attempt to remove more intertex vestiges
2001-06-22Fix lotsa bugs:Jason Wright
- Hi/Fn length fields in command structures are 18 bits (feature!), but descriptor lengths are 16 bits. - define dmamap maximum lengths correctly (2^18 for total length, 2^16 for segments). - Make the defines more consistent, and add other modes - split source_count in command descriptors into a 16 bit length, and 16bit reserved part upshot: blocks as large as 2^18 - 8 work now for userland crypto
2001-06-22Add support for RNG on 7951; many thanks to Soren KristensenJason Wright
<soren@soekris.com> for donating the cards.
2001-05-13First try at bus_dma(9)-ifying hifn7751 driver... advantages:Jason Wright
- vtophys is dead - now builds on alpha
2001-05-08document registers off BAR1 found on the 7951Theo de Raadt
2000-12-12remove some dead stuff and correct spelling in commentJason Wright
2000-10-26shadow the dmaier to avoid an additional pci read in the interrupt pathJason Wright
if mastering isn't enabled, scream document netsec rev A workaround
2000-09-21use volatile's on all structures shared between cpu and hifnJason Wright
kill hifn_command_buf_data_t (unnecessary for a long time now)
2000-04-11define the rest of the descriptor bitsJason Wright
2000-04-10- Add back code from the original aeon driver to handle missed interrupts byJason Wright
enabling interrupts when the command queue has more than one entry. - fix comment on hifn_newsession to reflect reality - allocate session structure in softc - compute a random IV when a session is created and try to chain from a software kept IV for subsequent packets - add handling of CRD_F_EXPLICIT
2000-04-05maintain state about keys, upload them to context ram once (and avoid theJason Wright
300 clock penalty on key upload) XXX hifn_freesession should probably zot the keys from context ram but XXX does not yet.
2000-04-04make the comment and definition of HIFN_MAX_COMMAND more readableJason Wright
define HIFN_MAC_CMD_RESULT bit (append MAC to result buffer)
2000-03-29- update copyrightsJason Wright
- remove all ability to block (no more tsleep/wakeup)
2000-03-29Long over due checkpoint:Jason Wright
o register the hifn as handling DES and 3DES (no md5 or sha1 yet) depending on whether the board is unlocked (none, half, or full) o Fix many KNF nits o print the amount of memory correctly and don't print the number of sessions o set command and result buffer sizes correctly o reclaim the descriptor rings so new commands and buffers can be added o remove some bogus checks on the command buffer o add new variables mac_process_len and crypt_process_len to hifn_command_t o fix calculation in hifn_mbuf to generate the pa/len array for src/dst o simplify the code for setting up the jump descriptor o rework the hifn_intr routine to interrupt at IPL_IMP and simplify it's results processing o more to come...
2000-03-17Fix some space->\tJason Wright
Attempt to figure out how much context ram is on the board (known to work with sram boards). From the amount of ram & other configuration, figure out how many sessions are available for storage.
2000-03-16move aeon to hifn7751Theo de Raadt
2000-03-15Bring in bit definitions from the datasheet and allow shared interrupts.Jason Wright
2000-03-10unlock cryptography functions on Hi/fn 7751 cryptography card. Based on ↵Michael Shalayeff
reverse engineering of an unlock binary provided by Invertex, for their AEON card, which uses the chip
1999-12-15nuke *vm_alloc_page_contig, use bus_dmaJason Wright
1999-02-24handle scatter-gather, seperate src/dst mbuf, etcTheo de Raadt
1999-02-21use src/dst descriptor chaining out of an mbufTheo de Raadt
1999-02-19invertex aeon driver baseTheo de Raadt