summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-03-20typo in commentTodd T. Fries
ok jmc@
2007-03-20commit the rest of the jmicron ids. jsg has been trying to get me to addDavid Gwynne
these since last year, but i didnt see the point till the code would be useful anywhere.
2007-03-20Oops, remove some unused variables and unmangle a command name.Christopher Pascoe
2007-03-20zap unused variable.Thordur I. Bjornsson
ok pedro@
2007-03-20Cap the device size we present to 2TB, just in case someone attachesChristopher Pascoe
something really big. The SCSI layer isn't yet ready for it.
2007-03-20Move common completion handling into ata_exec itself. Removes a double freeChristopher Pascoe
in the inquiry error paths, as the HBA will have already completed the ata_xfer with an error. Reminder and ok dlg@
2007-03-20augment the -q option, now if specifed with -c (checklist)Thordur I. Bjornsson
it will only print out the failed cases. OK millert@
2007-03-20Add support for ATA PACKET commands. This should make ATAPI cdrom drives,Christopher Pascoe
etc, just work.
2007-03-20Read the whole SPROM content with a single routine to a own sprom struct.Marcus Glocker
For those people who have reported about broken MAC address at attach time, this should fix the problem.
2007-03-20Catch failed commands and copy the error taskfile back to the ata_cmd,Christopher Pascoe
so that atascsi can deal with it.
2007-03-20move ata command definitions from atascsi.c to atascsi.hDavid Gwynne
2007-03-20document that scsibus is what attaches to ahci. ahci controllers can alsoDavid Gwynne
appear as pciide when configued in a compat mode.
2007-03-20do not use out of scope variable in macros -- only use the macro arguments ↵Michael Shalayeff
passed; makes it less of nfs kind of code; henning@ ok
2007-03-20on com_console we need a little delay to let fifo flush itself before ↵Michael Shalayeff
resetting it and stuff to avoid garbled dmesg output; found on some arm
2007-03-20missing include and also use time_uptime as art suggested; compiles nowMichael Shalayeff
2007-03-20reorder slightly. ata bits before atascsiDavid Gwynne
2007-03-20Spring cleaning: some whitespace, clean up the failure path in the attachGordon Willem Klok
routine, and check the return of the mapiodev, and dbdma_create functions. Tested on Power Macintosh 9500MP and a 9600MP. "the diff looks fine to me." dlg@
2007-03-20Add timeout handling for ATA commands.Christopher Pascoe
2007-03-20nothing from wdc, wd, or any of the existing ata stuff pls. this gets ridDavid Gwynne
of the wdcreg.h include in atascsi. "feel free to remove" pascoe@
2007-03-20Spec says we can't write anything other than the global host control registerChristopher Pascoe
before we enable AHCI, so enable it before resetting saved capabilities.
2007-03-20Minor style fixup.Christopher Pascoe
2007-03-20Request "descriptor processed" interrupts only for PIO requests (inquiry,Christopher Pascoe
etc), and request that the D2H FIS at the completion of all (DMA) commands generate an interrupt. This makes each data transfer generate one interrupt instead of two and should guarantee that the interrupt that is generated actually arrives after the command has completed.
2007-03-20Calculate the residual and copy it back to the scsi_xfer, so that RW actuallyChristopher Pascoe
works. From dlg@
2007-03-20Add support for issuing sector read/write commands.Christopher Pascoe
2007-03-20sync usage() w/ synopsis;Jason McIntyre
2007-03-20tweaks;Jason McIntyre
2007-03-20new sentence, new line;Jason McIntyre
2007-03-20Add line-buffering flag (-u).Ray Lai
OK deraadt@ and jmc@.
2007-03-20Split PRDT unload out into its own function, for symmetry.Christopher Pascoe
2007-03-20Instead of having a copy of every register that we will issue in the ata_cmd,Christopher Pascoe
simply include a pointer to the command FIS that we will issue to the device. Include another space where we can copy back an error register set from a failed command. This means that we can now build and issue arbitrary commands from atascsi, and retrieve errors back.
2007-03-20Change API for struct ata_xfer allocation to move it into the device thatChristopher Pascoe
atascsi will be driving, and add it to the AHCI CCB. This effectively gives us all the resources we need for a transfer in one hit, meaning that we don't need to worry about whether we will have a pool shortage or not enough CCBs. The SCSI mid layer should take care to never exceed the number of CCBs we have available, based on our sc_link.openings.
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p, from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove *pTed Unangst
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p from charles longeauTed Unangst
ok deraadt millert
2007-03-20document softraid and bioctl creation of softraidTodd T. Fries
ok marco@, help from jmc@
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20Hook up sd ioctl.Marco Peereboom
2007-03-20remove some bogus *p tests from charles longeauTed Unangst
ok deraadt millert
2007-03-20Fake out target id for bioc_disk.Marco Peereboom
2007-03-20Use queue.h macros instead of home made for thingy.Marco Peereboom
From tbert <bret.lambert@gmail.com>
2007-03-19Use u_int32_t instead of u_long for IP addresses.Marco Pfatschbacher
OK claudio@
2007-03-19Only call bus_dmamap_unload() if we loaded a dmamap beforehand. Found outClaudio Jeker
the hard way on sparc64. Now acx(4) no longer panics but it does not yet work. OK mglocker@
2007-03-19the autoconf glue funcs (match/attach/etc) are only used inside softraid.c,David Gwynne
so prototype them there rather than in softraidvar.h. shuffle these funcs a little bit while here to make it look more like everything else. ok marco@
2007-03-19be a tiny little bit more verbose when encoutering bad block or fragmentOtto Moerbeek
sizes; requested by mickey@