summaryrefslogtreecommitdiff
path: root/sys/dev/pci/hifn7751reg.h
AgeCommit message (Collapse)Author
2003-10-09- from freebsd: 795[56] AES supportJason Wright
- don't bother with the master/mmio enable stuff (it's done in pci.c for us) based on suggestion from mickey
2003-06-02licence cleanupTheo de Raadt
2003-02-19- Bump size of MAX_RESULT by 4 to include compression resultJason Wright
- add defines for compression - add bit/structure defintions for the result structures
2003-02-17whitespace, typos, and compression structure defnsJason Wright
2003-02-15kill the remaining typedefs (These are about the last trace of InvertexJason Wright
save for the copyright message).
2002-07-25house cleaning, also fix a couple of incorrect bit definitions in theJason Wright
(currently unused) pk engine
2002-07-23from reading sam@errno.com's code:Jason Wright
- TRDY and RETRY register definitions were backwards - move TRDY/RETRY setup into its own function
2002-07-23Don't use a magic constantJason Wright
2002-07-21Deal with the fact that one of the 7811 revisions cannot correctly handleJason Wright
burst writes (bridges may coalesce sequential writes into a burst) by inserting a read (I know, icky!) in between sequential writes. Thanks to sam@errno.com, GTGI, and Hifn for helping track this one down.
2002-04-08Credit DARPA/USAF appropriately.Jason Wright
2002-01-23Add defn for MIPS reset register and use it.Jason Wright
2002-01-09o There's no such thing as a source overrun, remove the definitionJason Wright
o enable illegal read/write interrupts on 7811 (mainly for debugging)
2002-01-08Add support for the Hifn 7811 (Thanks to GTGI for donating the card).Jason Wright
While here, avoid resetting the card so often during the ram probe [speeds up autoconf and simplifies the driver a bit]. Also, add a missing argument to a debugging printf() (no longer ever called because the abort timers are disabled =)
2001-11-047751 has two registers in config space (0x40 - RETRY_TIMEOUT and 0x41,Jason Wright
TRDY_TIMEOUT). These registers must be initialized to zero to disable these timers or 7751 will get PCI aborts on its descriptor rings on certain chipsets. These timers were removed because they were unneeded in the 7951. I'm not sure how I missed this in the datasheet, but there it is plain as day on page 24. Thanks go to Hifn for pointing this out. Upshot: PCI abort problem on 7751 appears to be solved.
2001-08-27initial support for non-HMAC md5/sha1 (work by ben@ and myself)Jason Wright
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