summaryrefslogtreecommitdiff
path: root/sys/dev/ic/sili.c
AgeCommit message (Expand)Author
2022-04-09atascsi: constify method tablesChristian Weisgerber
2022-01-09spellingJonathan Gray
2019-05-21Fix free(9) with wrong pointer in sili(4) attach error path; CID 1480295Stefan Sperling
2015-12-19Replace 'arc4random() % x' by 'arc4random_uniform(x)'.tb
2015-09-09sizes for free(); ok semarieTheo de Raadt
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-09-14remove uneeded proc.h includesJonathan Gray
2014-07-13Some reallocarray() use; review Jean-Philippe Ouellet, patrick keshishianTheo de Raadt
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2012-02-04Close races where timer is started on a command and then an splbio()Kenneth R Westerback
2012-02-04Since sili_get_ccb() can return NULL if there are no ccb's available,Kenneth R Westerback
2011-07-04remove unneeded cast.David Hill
2011-05-08Move ata_put_xfer() from ata_xfer to atascsi_methods. It's just sillyMatthew Dempsky
2011-01-26Add port multiplier support, has been in snaps for a while with no reportedDale Rahn
2010-08-05Suspend/resume support for sili(4). Not perfect yet, but prevents us fromMark Kettenis
2010-05-19BUS_DMA_ZERO instead of alloc, map, bzero.Owain Ainsworth
2009-12-07get rid of the return codes from command submission, ata_cmd handlersDavid Gwynne
2009-06-05%zu is not meant for size_t in the kernel. Change to %lu.Ray Lai
2009-02-16Extend the scsi_adapter minphys() callback to take a struct scsi_link *Miod Vallat
2009-01-21Replace timeout_add(msecs * hz / 1000) with timeout_add_msec(msecs).Alexander Yurchenko
2008-11-23sizeofa -> nitemsDavid Gwynne
2007-11-28make ata controllers protect their own command lists so atascsi doesnt haveDavid Gwynne
2007-11-26drive port probes from the scsi midlayer now that it will ask the adapterDavid Gwynne
2007-11-23If the card has gone away, return imediately from the interrupt handler.Mark Kettenis
2007-11-23starting bits to implement hotplug of sili controllers. this adds the codeDavid Gwynne
2007-10-09Use %zu for printing size_t values.Ray Lai
2007-10-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'.Kenneth R Westerback
2007-04-22disable debug output here too. it's working fine (even on strange archs)David Gwynne
2007-04-12Oops, a code rearrangement meant that I didn't initialise the failed ccbChristopher Pascoe
2007-04-10wrap reading of the error fis up into a func of its own, and useDavid Gwynne
2007-04-08Change the API to sili_port_intr so it can timeout a command and reuse theChristopher Pascoe
2007-04-08Add support for NCQ error recovery and enable NCQ command submission.Christopher Pascoe
2007-04-08Track the order that CCBs are submitted in, so that after an error we areChristopher Pascoe
2007-04-08sili uses one queue for NCQ and legacy commands. No need for the AHCI-styleChristopher Pascoe
2007-04-07Always assume write commands had zero residual; the chip only countsChristopher Pascoe
2007-04-07Whitespace cleanup. No code change.Christopher Pascoe
2007-04-07Add transfer failure detection and recovery from non-fatal errors.Christopher Pascoe
2007-04-07Rework command issue/completion flow to be more like AHCI's and switch toChristopher Pascoe
2007-04-07Split command completion out into a separate function, working towardsChristopher Pascoe
2007-04-07Permit PACKET command issue.Christopher Pascoe
2007-04-07Fill out control information for ATAPI commands.Christopher Pascoe
2007-04-07Helper macros to provide the port name in debug messages.Christopher Pascoe
2007-04-07Use the rx_count saved in the LRAM command slot entry to determine theChristopher Pascoe
2007-04-07Sync the command corresponding to our ccb, not slot 0.Christopher Pascoe
2007-04-07Add infrastructure to handle more than one ccb.Christopher Pascoe
2007-04-07this diff covers two changes, but theyre very tightly tied together.David Gwynne
2007-04-06white space fixDavid Gwynne
2007-04-06copy the dmamem wrapper into sili for use for allocating hba memory. thisDavid Gwynne
2007-04-05this is a relatively big commit that implements a basic io path.David Gwynne