summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ncr53c9x.c
AgeCommit message (Collapse)Author
2002-09-04don't dereference ecb on default case, it's uninitialized.Federico G. Schwindt
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-19From NetBSD:Jason Wright
Fix timeout overflow caused by "scsictl format" on machines HZ==100.
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it.
2001-12-17Initialize variable before use. ok fgs@Thomas Nordin
2001-09-27Huge merge with NetBSD. For full details look at their revision history ↵Jason Wright
(1.26 -> 1.83)... Highlights: o tag queue support o fas366 support (doesn't work yet on sparc, but does on sparc64) o tons more (thanks to hugh, fgsch and beck for testing)
2000-07-21Use new timeouts.Artur Grabowski
2000-06-17Add support for AMD 53c974.Federico G. Schwindt
>From NetBSD.
2000-06-12move cfdriver to ncr53c9x.c and device declaration to conf/files.Federico G. Schwindt
1998-05-28Sync with NetBSD:Jason Wright
Allocate SCSI message buffers in ncr53c9x_attach(), with a provision for front-ends to override the allocation to avoid alignment handling in their DMA engines. Note that that ncr53c9x_msgout() can request a 1 byte DMA transfer that would be difficult to break up. Eliminate the degenerate loop in `ncr53c9x_intr()'. Retain the delay heuristic it implemented under the label `shortcut:' and only use it in these cases: (1) after successful re-relection, (2) after receiving command-complete status, and (3) during message-in handshake. If we have an NCR53CF9x (indicated by the front-end by setting a flag in the softc's new "features" word), set FSCSI bit in CFG3 if the sync period is <= 200ns, or clear it otherwise.
1998-04-30Fix a few missing changes from the last NetBSD merge.Jason Wright
1998-02-10sync w/netbsdJason Wright
1998-02-03sync with netbsdJason Wright
1997-08-08Mostly sync to NetBSD-current 970804.Jason Downs
Apologies if this breaks anyone else using the MI ESP driver...
1997-02-27M.I. NCR53c9x/ESP driver, derived from sparc/alpha esp.c. From Jason Thorpebriggs
and NetBSD.