summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ncr53c9x.c
AgeCommit message (Collapse)Author
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-06-26Enable wide targets on FAS366 esp; note that this changes the way espMiod Vallat
user-controllable device flags are parsed, be sure to rerun config(8) on your next kernel compile.
2006-05-23In NCR53C9X_DEBUG code, compute debug values after the values they depend onMiod Vallat
have been computed.
2006-03-05Use more queue macros rather than doing it by hand; ok otto@ krw@Miod Vallat
2006-01-09Delay a bit after sending a reset command if the chip is an 53C94 or a 53C96;Miod Vallat
ok deraadt@ krw@
2006-01-09NCRDMA_SETUP() should be called before NCR_SET_COUNT() and NCRCMD_DMA commandBrad Smith
in ncr53c9x_select(). From tsutsui NetBSD ok miod@
2006-01-04Return from interrupt handler after chip init(reset).Brad Smith
From petrov NetBSD ok miod@
2006-01-04People doing time comparisons without using the time{r,spec}cmp macros areMiod Vallat
doomed to do them incorrectly; ok krw@ millert@ tedu@
2004-10-28add \n in 'invalid state' message; from Martin Reindl; ok miod@.Xavier Santolaria
2004-09-29Ratibibugle now useless evcnt structures.Miod Vallat
2004-06-21First step towards more sane time handling in the kernel -- this changesThorsten Lockert
things such that code that only need a second-resolution uptime or wall time, and used to get that from time.tv_secs or mono_time.tv_secs now get this from separate time_t globals time_second and time_uptime. ok art@ niklas@ nordin@
2004-01-15Provide explicit function argument declarations.Miod Vallat
2003-10-21typos from Tom Cosgrove;Jason McIntyre
Tom: I did not commit a couple of your changes. i did not include some punctuation fixes (full stops, etc.) mnemorable -> mnemonic: i decided memorable was probably better instrunctions -> instruction: i kept the plural
2003-07-25cast and %lu for size_t variable printfJason Wright
2003-06-053/4 knockout for peter galbavyTheo de Raadt
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2002-10-25remove dead code; krw@ ok.Federico G. Schwindt
2002-10-09Remove trailing '\n's from panic messages.Kenneth R Westerback
Started by a commit to siop from provos@netbsd.org. ok miod@ millert@
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.