summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2009-03-21Looks like the ``params'' field in the physical device descriptionAlexander Yurchenko
contains SID_TYPE. Use to to filter out non disks from the bioctl output.
2009-03-20Unconditionally drain the RX ring when stpping the chip.Mark Kettenis
ok dlg@, jsg@
2009-03-20When calculating physical disk size use its number of sectorsAlexander Yurchenko
rather than chunk's.
2009-03-20Detect unused and hot-spare drives.Alexander Yurchenko
2009-03-20Support bio ``unused'' drives.Alexander Yurchenko
2009-03-20Cleanup physical drive states handling.Alexander Yurchenko
2009-03-20Switch sgi to __HAVE_GENERIC_SOFT_INTERRUPTS.Miod Vallat
2009-03-20Switch vax to __HAVE_GENERIC_SOFT_INTERRUPTS.Miod Vallat
2009-03-20While working on some stuff in uvm I've gotten REALLY sick of readingOwain Ainsworth
K&R function declarations, so switch them all over to ansi-style, in accordance with the prophesy. "go for it" art@
2009-03-20Minor style nit; rnoland (freebsd).Owain Ainsworth
2009-03-20Fetch rebuild status only for degraded or offline volumes.Alexander Yurchenko
2009-03-19For rebuilds use a special REBUILD command instead of a genericAlexander Yurchenko
SETSTATE, for some reason it works better on lpinto's machine.
2009-03-19We don't count buffercache stats in the B_PHYS case, so fix nfs to notOwain Ainsworth
increment the num{read,write} and pending{read,write} statistics in that case, since biodone won't change them on completion. On another note, I'm not sure that we use physical buffers for swapping over nfs anymore, so this chunk may be superfluous. beck@ came up with the same diff "So anyway rather than me commiting it from my copy, I'm giving you the OK and the commit. since it officially makes you a buffer cache and NFS hacker };-)"
2009-03-19For pass-through commands adjust timeout value to what controllerAlexander Yurchenko
supports. Make sure our timeout will be fired after controller gives up.
2009-03-19Unify command id printing.Alexander Yurchenko
2009-03-19Make ips_timeout to be usable not only with scsi xfers.Alexander Yurchenko
2009-03-19Remove unused code.Alexander Yurchenko
2009-03-18Keep softc pointer in ccb because it requires some work to correctlyAlexander Yurchenko
extract it from scsi_xfer in ips_timeout since link->adapter_softc may point to a per-channel structure in pass-through path.
2009-03-17Provide both errno.h codes for the userspace tools like bioctlAlexander Yurchenko
and XS_* codes for the scsi layer.
2009-03-17Fix compilation without bio(4).Alexander Yurchenko
2009-03-17we do know how to handle iack. in the rx path at least.David Gwynne
2009-03-16Implement bioctl volume management: rebuild and hotspare.Alexander Yurchenko
2009-03-16Trivial malloc + memset -> malloc(,,M_ZERO) conversion.Owain Ainsworth
As a small bonus this now actually zeroes the whole struct, not just the non-varying sized part.
2009-03-16pmap = (conditional ? user_way : pmap = pmap_kernel());Owain Ainsworth
doesn't need the second pmap =. "ok if you tested it" kettenis@
2009-03-16first stage of removing ``copying & needfeel'' flags thatAlexandre Ratchov
make the audio driver missing blocks and, thus, breaking full-duplex apps. help and ok jakemsr
2009-03-16When doing pass-through calculate right xs->resid value based onAlexander Yurchenko
the info hardware returnes.
2009-03-16Don't set error on data underrun. This tiny change allowed scsi tapeAlexander Yurchenko
on the pass-through bus on lpinto's machine to work.
2009-03-16syncTheo de Raadt
2009-03-1688E8057 is a Yukon 2 Ultra 2, and this might make it work on a littleTheo de Raadt
shiny green box in Japan ok kettenis
2009-03-16regenJonathan Gray
2009-03-16Add Intel System Controller Hub (SCH) devices.Jonathan Gray
2009-03-16Remove redundant DPRINTF from ips_morpheus_isintr.Alexander Yurchenko
2009-03-16IPS_SCSI_PT flag not used any more.Alexander Yurchenko
2009-03-15Generic softinterrupt code for m68k platforms, now copied from m88k.Miod Vallat
2009-03-15Generic softinterrupt support for m88k based platforms, adapted from armMiod Vallat
with different locking mechanism. 88110 soft ipi are replaced with an ipi callback which is checked upon return from exception (it can not be kept as a softintr, as the generic softinterrupt code doesn't have per-cpu pending softintr queues).
2009-03-15Let CPU_INFO_UNIT() be used before cpu0 attaches, and make sureMiod Vallat
CPU_INFO_FOREACH() only covers attached cpus. With drahn@, ok kettenis@
2009-03-15Now that we have splsoftassert(), make the soft ipl levels positive andMiod Vallat
remove the special casing in splassert().
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
levels. This will allow for platforms where soft interrupt levels do not map to real hardware interrupt levels to have soft ipl values overlapping hard ipl values without breaking spl asserts.
2009-03-15Include .S files in make depend.Miod Vallat
2009-03-15Cleanup error processing:Alexander Yurchenko
- in ips_start_xs don't do scsi_done twice on error; - make ips_error return scsi XS_* codes rather than errno.h E* codes; - move all error reporting under debug, let upper layers to spam user. And fix a few missing byte conversions while here.
2009-03-15Allow CPU_INFO_UNIT() to be used before cpu0 attaches.Miod Vallat
2009-03-15In _bus_dmamem_alloc(), do not bother printing avail_start and avail_endMiod Vallat
in the DEBUG code, since these values aren't used there anymore.
2009-03-14Some ICMP types that also have icmp_id, pointed out by markus@Ryan Thomas McBride
ok henning markus
2009-03-14some devices like the Planex GW-US300MiniS seem to have only 4 Tx bulkDamien Bergamini
endpoints instead of 6 (4 EDCAs + HCCA + Prio). since we do not use the last two endpoints anyway, only check that we have at least found 4 Tx bulk endpoints. from FUKAUMI Naoki.
2009-03-14regenDamien Bergamini
2009-03-14add more run(4) USB ids, clarify some.Damien Bergamini
from FUKAUMI Naoki. add a HARDWARE section to the run(4) man page to start listing known run(4) devices while i'm at it.
2009-03-14regenJonathan Gray
2009-03-14apologize (dlg and claudio, stop snickering)Theo de Raadt
2009-03-14Match on D-Link DWA-130.Jonathan Gray
From Todd Carson in pr 6105.
2009-03-14D-Link DWA-130, from Todd Carson in pr 6105.Jonathan Gray