Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-08-12 | Leave the command wait interrupt enabled as long as there is at least one | Jason Wright | |
pending result. This isn't a good solution (we're obviously missing an interrupt or two in some cases), but this will guarantee we get called periodically until all of the queues are drained. Based on idea from "jochen from penguin-breeder decimal org"; ok theo | |||
2004-03-14 | Return EINVAL in case of a zero length descriptor. The hifn can not handle | Hans-Joerg Hoexer | |
this. ok jason@ deraadt@ | |||
2004-02-03 | advertise features of our crypto chips better; ok tdeval | Theo de Raadt | |
jason is being a slacker | |||
2004-01-20 | don't limit the number of sessions to the onboard ram (always upload the | Jason Wright | |
key and IV data). This kinda sucks for HMAC, but the alternative is a cache manager and I just don't want to go there. Tested by sturm@ (thanks!) | |||
2004-01-09 | remove uvm_extern.h | Brad Smith | |
tested on alpha, i386, powerpc, sparc64, m68k. ok miod@ | |||
2003-10-09 | - from freebsd: 795[56] AES support | Jason Wright | |
- don't bother with the master/mmio enable stuff (it's done in pci.c for us) based on suggestion from mickey | |||
2003-09-25 | hifn 7956 support | Jason Wright | |
2003-09-24 | initial support for hifn 7955 (no AES or PK yet) | Jason Wright | |
2003-08-14 | kill unneeded caddr_t casts for *_copyback | Jason Wright | |
2003-08-01 | ansi | Theo de Raadt | |
2003-03-13 | print LZS-only and such for the cards (more clear than saying "disabled" for ↵ | Jason Wright | |
the 9751 which isn't true these days) | |||
2003-02-24 | Add support for LZS compression (only usable by ipcomp at the moment) | Jason Wright | |
2003-02-17 | whitespace, typos, and compression structure defns | Jason Wright | |
2003-02-15 | kill the remaining typedefs (These are about the last trace of Invertex | Jason Wright | |
save for the copyright message). | |||
2002-11-26 | Whitespace diff; from FreeBSD | Jason Wright | |
2002-11-21 | From Angelos: | Jason Wright | |
- simplistic load balancing across multiple cards - simplified registration process - a few style nits. | |||
2002-11-19 | Add a simplistic table driven lookup routine and use it where appropriate. | Jason Wright | |
2002-08-01 | whoops, last write tracker should be updated on every write to avoid the ↵ | Jason Wright | |
burst write problem on 7811. | |||
2002-07-29 | hifn isn't sure if the burst write problem applies to the 7811 rev 1 or not, ↵ | Jason Wright | |
so play it safe and apply the workaround on all 7811's. | |||
2002-07-25 | house cleaning, also fix a couple of incorrect bit definitions in the | Jason Wright | |
(currently unused) pk engine | |||
2002-07-23 | from 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-23 | Don't use a magic constant | Jason Wright | |
2002-07-23 | Turn READ/WRITE into function calls (driver was getting too bloated with | Jason Wright | |
inline macro's; if hifn wanted to make it possible to write a very efficient driver they would have fixed the bugs in the chips). Also, invalidate the burst write checks when a read is executed. | |||
2002-07-22 | uninitialized variable; pointed out by sam@errno.com | Jason Wright | |
2002-07-21 | Flip on the LEDs on a 7811 when each of the rings is active (and turn them | Jason Wright | |
off when not), I should really get a life. | |||
2002-07-21 | Deal with the fact that one of the 7811 revisions cannot correctly handle | Jason 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-07-16 | Two fixes from sam@errno.com: | Jason Wright | |
- fix a reference after free on the src mbuf in hifn_callback() - prevent a mbuf leak on error in hifn_crypto() | |||
2002-07-05 | Never call crp_callback directly, use crypto_done() instead | Jason Wright | |
2002-07-05 | KNF (no space after casts) | Jason Wright | |
2002-05-17 | simplify dmesg printout (all models have all crypto) | Theo de Raadt | |
2002-05-07 | 7811 needs a short pause before setting up the DMA CSR during reset or it | Jason Wright | |
will hang during the first DMA operation on some machines. | |||
2002-04-30 | - increase sample size from 1 byte to 4 bytes so that we can detect | Jason Wright | |
alias's > 4MB - remove extra initialization loop (cut/pasto) based on private email from Henric Jungheim <henric@henric.info> | |||
2002-04-29 | Rework memory detection (again) based on code from Henric Jungheim ↵ | Jason Wright | |
<henric@henric.info> Also, while here, improve memory detection speed (poll for valid bit to be reset and exit as soon as it is or we timeout). | |||
2002-04-08 | Credit DARPA/USAF appropriately. | Jason Wright | |
2002-03-14 | First round of __P removal in sys | Todd C. Miller | |
2002-01-31 | Whoops! Add back matching of 7951; Matthias Bauer ↵ | Jason Wright | |
<bauerm@immd1.informatik.uni-erlangen.de> | |||
2002-01-23 | Add defn for MIPS reset register and use it. | Jason Wright | |
2002-01-09 | o There's no such thing as a source overrun, remove the definition | Jason Wright | |
o enable illegal read/write interrupts on 7811 (mainly for debugging) | |||
2002-01-08 | Add 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-14 | - Sprinkle more htole16/htole32s so that this thing has a chance of working | Jason Wright | |
on big endian machines. (Unfortunately I can't verify this really works on sparc64 because of crazy psycho(4) interrupt problems). - use htole32() on constants instead of letoh32() on variables and hope for better optimization. - In several places use the unswizzled shadows to see what kind of operation has been queued instead of the (now) swizzled versions. - hifn provides some BE/LE assist, but it seems to vary depending on revision and chip number, perhaps it's worth investigating? | |||
2001-11-12 | Sprinkle with htole32, add a garnish of htole16 and finish off with a | Jason Wright | |
bit of letoh16 and letoh32 then let simmer while sparc64 gets through the ram test correctly. | |||
2001-11-12 | Don't abuse bus_dma(9) API by using dmamap->dm_* to hold results from | Jason Wright | |
bus_dmamem_* operations; instead, store them in softc. This allows the driver to get through autoconf on sparc64 (ok, well it fails the ram test because of endian issues... but it's a start). | |||
2001-11-09 | be way more sure that software cannot be used | Theo de Raadt | |
2001-11-06 | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | Miod Vallat | |
(Look ma, I might have broken the tree) | |||
2001-11-05 | Switch everything to the new bus_dmamap_sync API. | Artur Grabowski | |
Most work by Wilbern Cobb <vedge@csoft.org> with some fixes from me, mickey@ and drahn@. | |||
2001-11-04 | 7751 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-09-06 | Rewrite interrupt handler a bit... ack interrupts sooner. | Jason Wright | |
2001-08-28 | an attempt at deuglification of the previous commit (It's still ugly, tho) | Jason Wright | |
2001-08-28 | Relax restriction on buffer length being % 4 = 0 for the last entry in the | Jason Wright | |
chain. This allows us to avoid mbuf copies (and EINVAL on iov's) for packets of non "nice" length. Do this by adding a pad u_int32_t to catch the (possible) overflow and detecting when it's necessary. Also, do a bit of cleaning that ben pointed out. | |||
2001-08-27 | Deal with __HAS_NEW_BUS_DMAMAP_SYNC and try to sync partial maps when possible. | Jason Wright | |