summaryrefslogtreecommitdiffstats
path: root/sys/dev/ic/twevar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Nuke unused struct scsi_link members of adapter softc's where thekrw2020-07-221-2/+1
| | | | driver successfully compiles on one or more of amd64, i386, hppa.
* *_minphys() functions that cap i/o sizes at a value larger than thekrw2020-02-151-2/+1
| | | | | | | | | | | | | | | value minphys() uses (MAXPHYS) are pointless since minphys() is always called after the *_minphys() function. MAXPHYS (64 * 1024) == 16 * 4096. 4096 is the smallest PAGE_SIZE we have. So a *_minphys() function that caps the i/o size at N * PAGE_SIZE where N is > 16 is just wasting cycles. Nuke adv_minphys (40 * PAGE_SIZE), adw_minphys (254 * PAGE_SIZE), ahc_minphys (128 * PAGE_SIZE), ahd_minphys (128 * PAGE_SIZE), ami_minphys (26 * PAGE_SIZE), cac_minphys (65535 (!!!) * 512), iha_minphsy (32 * PAGE_SIZE), trm_minphys (31 * PAGE_SIZE), twe_minphys (62 * PAGE_SIZE). uha_minphys (32 * PAGE_SIZE),
* Prototypes should not name the parameters.krw2020-01-271-2/+2
|
* Shuffle some names around to make reading the code less headachekrw2020-01-261-2/+2
| | | | | | | | inducing. Rename scsi_adapter member 'scsi_minphys' to 'dev_minphys' to reflect what it is supposed to do. Use consistent naming convention (<dev>_minphys) for the actual device functions. No functional change.
* move twe over to iopools so we can get rid of another NO_CCB user. thisdlg2011-04-031-1/+5
| | | | | | | | | | | also cuts the aen drain over to using an iohandler so it can be made reliable. this compiles, but i havent got hardware to test with. its going in as a way to force testing. if there's a problem with the code then let me know or back it out. "man up" k2k11
* Extend the scsi_adapter minphys() callback to take a struct scsi_link *miod2009-02-161-2/+2
| | | | | | as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
* the softc sc_lock lockmgr lock is unused, so remove it.thib2008-07-241-2/+1
| | | | ok krw@, dlg@
* Don't fake MODE SENSE page 4 info inside raid drivers, just let sdkrw2005-09-151-3/+1
| | | | | | | fake a geometry. Page 4 info does not get used for size information. Eliminate now unused union scsi_disk_pages. ok marco@ mickey@ pre-lock.
* kill the caluses three and four on some of my codemickey2003-06-021-6/+1
|
* deal w/ the dma in a special thread to follow the busdma semantics. this fixes panics on unaligned physio; w/ help and testing from daniel@lucq.orgmickey2002-09-171-4/+9
|
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* dmamem_unmap the memory before dmamem_freeig it.mickey2001-05-101-5/+4
| | | | | | | | only affects unaligned transfers (such as disklabel, fsck and dump). we used to get away w/ this due to older pmap, uvm or both. be more precise w/ double-buffer on command failure as well. once at it, allow more than 1 segment for double-buffer to be allocated. also fix a couple of endianesses and command timeouts.
* proper dmaable memory allocations; oopsmickey2001-02-191-1/+3
|
* 3ware escalade ide raid controllersmickey2000-09-151-0/+90