summaryrefslogtreecommitdiffstats
path: root/sys/dev/mly
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo (* -> &)msmith2001-07-261-1/+1
| | | | Submitted by: Andrew Doran <ad@netbsd.org>
* Merge with latest version of the Mylex 6+ driver.msmith2001-07-146-1420/+1318
| | | | | | | | | | | | | | - All sources are built in a single object, reducing namespace pollution. - Kill the ready queue, and handle a busy response to mly_start in callers rather than deferring the command. - Improve our interaction with CAM: - Don't advertise physical channels as SCSI busses by default. - use the SIM queue freeze capability rather than queueing CDBs internally. - force bus reprobe at module load time. - Clean up more resources in mly_free. - Tidy up debugging levels. - Tidy up handling of events (mostly just code cleanliness). - Use explanatory macros for operations on bus/target/channel numbers.
* Fix warning: 110: initialization makes pointer from integer without a castpeter2001-06-151-2/+1
| | | | | This was passing a (d_kqfilter_t *)-1 as the kqfilter function pointer. Fortunately there was no D_KQFILTER in d_flags, so this was harmless.
* Avoid divide-by-zero for devices that the adapter has not negotiated amsmith2001-04-211-1/+5
| | | | transfer speed with.
* Turn on interrupt-entropy harvesting for all/any mass storage devicesmarkm2001-03-011-1/+1
| | | | | | | I could find. I have no doubt missed a couple. Interrupt entropy harvesting is still conditional on the kern.random.sys.harvest_interrupt sysctl.
* Major update and bugfix for the 'mly' driver.msmith2001-02-255-354/+599
| | | | | | | | | | | | | | | | | - Convert to a more efficient queueing implementation. - Don't allocate command buffers on the fly; simply work from a static pool. - Add a control device interface, for later use. - Handle controller overload better as a consequence of the improved queue implementation. - Add support for the XPT_GET_TRAN_SETTINGS ccb, and correctly set the virtual SCSI channels up for multiple outstanding I/Os. - Update copyrights for 2001. - Some whitespace fixes to improve readability. Due to a misunderstanding on my part, previous versions of the driver were limited to a single outstanding I/O per virtual drive. Needless to say, this update improves performance substantially.
* Further use of M_ZERO.dwmalone2000-11-181-4/+2
| | | | | | Submitted by: josh@zipperup.org Submitted by: Robert Drehmel <robd@gmx.net> Approved by: msmith
* Convert all users of fldoff() to offsetof(). fldoff() is badphk2000-10-271-6/+3
| | | | | | | | | | | | | | | | | | | | | | | because it only takes a struct tag which makes it impossible to use unions, typedefs etc. Define __offsetof() in <machine/ansi.h> Define offsetof() in terms of __offsetof() in <stddef.h> and <sys/types.h> Remove myriad of local offsetof() definitions. Remove includes of <stddef.h> in kernel code. NB: Kernelcode should *never* include from /usr/include ! Make <sys/queue.h> include <machine/ansi.h> to avoid polluting the API. Deprecate <struct.h> with a warning. The warning turns into an error on 01-12-2000 and the file gets removed entirely on 01-01-2001. Paritials reviews by: various. Significant brucifications by: bde
* Don't rely on <sys/queue.h> to bogusly include <struct.h>.phk2000-10-221-0/+3
| | | | | Bogusly include <struct.h> until we have a better place to get fldoff() from.
* Remove unneeded #include <machine/clock.h>phk2000-10-151-1/+0
|
* This is the initial import of a new driver for the current family ofmsmith2000-08-236-0/+4842
PCI:SCSI RAID controllers from Mylex.
OpenPOWER on IntegriCloud