summaryrefslogtreecommitdiff
path: root/sys/dev/i2o
AgeCommit message (Collapse)Author
2009-04-02Convert lockmgr to rwlock. Fixing a (harmless) lock leak on attachOwain Ainsworth
failure while i'm at it. Been in snaps for a while. ok deraadt@
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
as additional argument. This will allow intermediate layers between scsi devices such as sd and scsi host adapters to take appropriate action if necessary.
2009-01-21Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).Alexander Yurchenko
No functional changes. ok krw@ miod@
2008-11-25Another bunch of TRY_AGAIN_LATER -> NO_CCB when no I/O could be started.Kenneth R Westerback
"looks sane to me" marco@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2007-11-27typos; ok jmc@Martynas Venckus
sys/dev/pci/pciide.c from naddy@
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-10-18scsi_done() must be splbio() protected... who did this work for??; ok dlgTheo de Raadt
2007-10-17cleanup dmesgTheo de Raadt
2007-10-17de-abstract and just use splbio() and splx()Theo de Raadt
2007-10-04attribute packed -> __packedGilles Chehade
okayd by miod a while ago, ok by pyr
2007-09-16Obvious M_ZERO changes.Kenneth R Westerback
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
should never be referenced outside the context of the process to which this stack belongs unless we do the PHOLD/PRELE dance. Loads of code doesn't follow the rules here. Instead of trying to track down all offenders and fix this hairy situation, it makes much more sense to not swap kernel stacks. From art@, tested by many some time ago.
2006-11-28give scsi controllers a real attach args to fill in when attaching scsibus.David Gwynne
ok miod@ marco@ deraadt@
2006-03-07Don't issue I2O_EXEC_IOP_CLEAR to AMI boards, since someBrad Smith
firmware revisions can't handle it. From ad NetBSD ok mickey@
2005-12-04Don't retry unsupported commands, or commands for invalidKenneth R Westerback
targets/luns. Same fix as gdt got for boot delays. Don't set xs->error when returning TRY_AGAIN_LATER. "Make sense, doesn't it?" tdeval@, "awesome find!" marco@
2005-11-19Remove unnecessary lockmgr() archaism that was costing too much in termsPedro Martelletto
of panics and bugfixes. Access curproc directly, do not expect a process pointer as an argument. Should fix many "process context required" bugs. Incentive and okay millert@, okay marc@. Various testing, thanks.
2005-09-15Don't fake MODE SENSE page 4 info inside raid drivers, just let sdKenneth R Westerback
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.
2005-08-24Test xs->bp before de-referencing it. Initialize it to NULL, not 0.Kenneth R Westerback
ok deraadt@
2005-07-03Fix data_length values in simulationed MODE SENSE page 4 responses soKenneth R Westerback
that scsi_do_mode_sense() accepts them. The data_length value does not include itself, and the pg_length value in a mode page does not include itself or the page_code fields. We were +1 on the former and -2 on the latter resulting in a data_length value that was too small by one. Eliminates 'mode sense page 5 not simulated' messages. ok marco@
2005-05-23loose is not lose. ok deraadt tdeval and a few more typos from jfbTed Unangst
2005-01-06Make sure the kthread does not run before iop_config_interrupts().Miod Vallat
tested wilfried@
2004-09-16cleanup deafult locators (blah ?); please check that your most hated ↵Michael Shalayeff
architecture is still fluffy (;
2004-07-09perform reply buffer dma synchronisation in iop_msg_post(), and not inPedro Martelletto
iop_post(), since we may get in iop_post() without the map being initialized. should affect sparc64 only. discussed with and ok'd by mickey@
2004-04-12removeable -> removable;Jason McIntyre
ok deraadt@ beck@
2003-10-21typo from Tom Cosgrove;Jason McIntyre
2003-09-04bzero the full malloced space, not the sizeof the pointerAnil Madhavapeddy
ok tedu fgsch deraadt
2003-04-27strcpy/sprintf cleanup of sys/dev. miod@, deraadt@ says to commit.Hakan Olsson
2003-01-13make it compile w/ SCSIDEBUG defined, found by brad@Michael Shalayeff
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-06-07Handle hashinit() failure. ok niklas@Thomas Nordin
2002-04-03deal with ccb shortage correctly, ok mickey@Niklas Hallqvist
2002-03-14First round of __P removal in sysTodd C. Miller
2001-11-06Replace 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-05Switch 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-10-27remove unused timeout in lockinit() per art@'s idea.Michael Shalayeff
fix the init state handling on failure; reported by nate@.
2001-08-23recieve -> receiveAaron Campbell
2001-07-27Startup hooks. Can be used for providing root/swap devices from deviceNiklas Hallqvist
systems which want configuration to finish late, like I2O. Implemented via a general hooks mechanism which the shutdown hooks have been converted to use as well. It even has manpages!
2001-07-04needs-flag properMichael Shalayeff
2001-07-03iop needs-flagNiklas Hallqvist
2001-06-29Enable ioprbsNiklas Hallqvist
2001-06-29Alpha-version (or is that Intel?) of the I2O random block storage driver.Niklas Hallqvist
Inspired by ld_iop.c from NetBSD but written by me mostly. Tested on the Adaptec 2100S RAID card, got it working at Usenix in a weird hackathon setup.
2001-06-29Better failure handling in the init routineNiklas Hallqvist
2001-06-27Very important endian fix :-)Niklas Hallqvist
2001-06-27use proper size for swappingMichael Shalayeff
2001-06-27last oneNathan Binkert
2001-06-27recieve -> receiveNathan Binkert
2001-06-27use I2O_CLASS_MASK and I2O_LCT_ENTRY_TID_MASK instead of magic const, plus a ↵Michael Shalayeff
couple of minor knits
2001-06-27some more adapter and bus related definitionsMichael Shalayeff
2001-06-27remove unused var declNiklas Hallqvist